Program: 12630
Project: 12630
Buggy source:
public static void main(String[] args) throws URISyntaxException {
  HashSet<URI> ProteinType=new HashSet<URI>();
  ProteinType.add(ComponentDefinition.PROTEIN);
  HashSet<URI> DNAType=new HashSet<URI>();
  DNAType.add(ComponentDefinition.DNA);
  HashSet<URI> RNAType=new HashSet<URI>();
  RNAType.add(ComponentDefinition.RNA);
  HashSet<URI> ComplexType=new HashSet<URI>();
  RNAType.add(ComponentDefinition.COMPLEX);
  HashSet<URI> non_covalent_type=new HashSet<URI>();
  non_covalent_type.add(SystemsBiologyOntology.NON_COVALENT_BINDING);
  HashSet<URI> enhancement=new HashSet<URI>();
  enhancement.add(SystemsBiologyOntology.GENETIC_ENHANCEMENT);
  HashSet<URI> production=new HashSet<URI>();
  production.add(SystemsBiologyOntology.GENETIC_PRODUCTION);
  HashSet<URI> suppression=new HashSet<URI>();
  suppression.add(SystemsBiologyOntology.GENETIC_SUPPRESSION);
  SBOLDocument doc=new SBOLDocument();
  doc.setDefaultURIprefix("String_Node_Str");
  doc.setTypesInURIs(false);
  doc.setComplete(true);
  doc.setCreateDefaults(true);
  String version="String_Node_Str";
  doc.createComponentDefinition("String_Node_Str",version,DNAType).addRole(SequenceOntology.PROMOTER);
  doc.createComponentDefinition("String_Node_Str",version,ProteinType);
  doc.createComponentDefinition("String_Node_Str",version,DNAType).addRole(SequenceOntology.PROMOTER);
  doc.createComponentDefinition("String_Node_Str",version,RNAType);
  doc.createComponentDefinition("String_Node_Str",version,ComplexType);
  doc.createComponentDefinition("String_Node_Str",version,DNAType).addRole(SequenceOntology.PROMOTER);
  doc.createComponentDefinition("String_Node_Str",version,ProteinType);
  ModuleDefinition CRISPR_Template=doc.createModuleDefinition("String_Node_Str",version);
  Interaction Cas9Complex_Formation=CRISPR_Template.createInteraction("String_Node_Str",non_covalent_type);
  Cas9Complex_Formation.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.REACTANT);
  Cas9Complex_Formation.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.REACTANT);
  Cas9Complex_Formation.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PRODUCT);
  Interaction cas9m_production=CRISPR_Template.createInteraction("String_Node_Str",production);
  cas9m_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  cas9m_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PRODUCT);
  Interaction gRNA_production=CRISPR_Template.createInteraction("String_Node_Str",production);
  gRNA_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  gRNA_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PRODUCT);
  Interaction EYFP_production=CRISPR_Template.createInteraction("String_Node_Str",production);
  EYFP_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  EYFP_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PRODUCT);
  Interaction target_generic_gene_inhibition=CRISPR_Template.createInteraction("String_Node_Str",suppression);
  target_generic_gene_inhibition.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.INHIBITOR);
  target_generic_gene_inhibition.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  String CRa_U6_seq_elements="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str";
  doc.createSequence("String_Node_Str",version,CRa_U6_seq_elements,Sequence.IUPAC_DNA);
  String gRNA_b_elements="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str";
  doc.createSequence("String_Node_Str",version,gRNA_b_elements,Sequence.IUPAC_DNA);
  String mKate_seq_elements="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str";
  doc.createSequence("String_Node_Str",version,mKate_seq_elements,Sequence.IUPAC_DNA);
  String CRP_b_seq_elements="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str";
  doc.createSequence("String_Node_Str",version,CRP_b_seq_elements,Sequence.IUPAC_DNA);
  doc.createComponentDefinition("String_Node_Str",version,DNAType);
  doc.createComponentDefinition("String_Node_Str",version,DNAType);
  ComponentDefinition cas9m_BFP_gene=doc.createComponentDefinition("String_Node_Str",version,DNAType);
  cas9m_BFP_gene.addRole(SequenceOntology.PROMOTER);
  cas9m_BFP_gene.createSequenceConstraint("String_Node_Str",RestrictionType.PRECEDES,"String_Node_Str","String_Node_Str");
  doc.createComponentDefinition("String_Node_Str",version,ProteinType);
  ComponentDefinition CRa_U6=doc.createComponentDefinition("String_Node_Str",version,DNAType);
  CRa_U6.addRole(SequenceOntology.PROMOTER);
  CRa_U6.addSequence("String_Node_Str",version);
  ComponentDefinition gRNA_b_cds=doc.createComponentDefinition("String_Node_Str",version,DNAType);
  gRNA_b_cds.addRole(SequenceOntology.CDS);
  gRNA_b_cds.addSequence("String_Node_Str",version);
  doc.createComponentDefinition("String_Node_Str",version,DNAType).addRole(SequenceOntology.TERMINATOR);
  ComponentDefinition gRNA_b_gene=doc.createComponentDefinition("String_Node_Str",version,DNAType);
  gRNA_b_gene.addRole(SequenceOntology.PROMOTER);
  cas9m_BFP_gene.createSequenceConstraint("String_Node_Str",RestrictionType.PRECEDES,"String_Node_Str","String_Node_Str");
  cas9m_BFP_gene.createSequenceConstraint("String_Node_Str",RestrictionType.PRECEDES,"String_Node_Str","String_Node_Str");
  doc.createComponentDefinition("String_Node_Str",version,RNAType);
  doc.createComponentDefinition("String_Node_Str",version,ComplexType);
  ComponentDefinition mKate_cds=doc.createComponentDefinition("String_Node_Str",version,DNAType);
  mKate_cds.addRole(SequenceOntology.CDS);
  mKate_cds.addSequence("String_Node_Str",version);
  ComponentDefinition mKate_gene=doc.createComponentDefinition("String_Node_Str",version,DNAType);
  mKate_gene.addRole(SequenceOntology.PROMOTER);
  mKate_gene.createSequenceConstraint("String_Node_Str",RestrictionType.PRECEDES,"String_Node_Str","String_Node_Str");
  doc.createComponentDefinition("String_Node_Str",version,ProteinType);
  ComponentDefinition Gal4VP16_cds=doc.createComponentDefinition("String_Node_Str",version,DNAType);
  Gal4VP16_cds.addRole(SequenceOntology.CDS);
  ComponentDefinition Gal4VP16_gene=doc.createComponentDefinition("String_Node_Str",version,DNAType);
  Gal4VP16_gene.addRole(SequenceOntology.PROMOTER);
  Gal4VP16_gene.createSequenceConstraint("String_Node_Str",RestrictionType.PRECEDES,"String_Node_Str","String_Node_Str");
  doc.createComponentDefinition("String_Node_Str",version,ProteinType);
  ComponentDefinition CRP_b=doc.createComponentDefinition("String_Node_Str",version,DNAType);
  CRP_b.addRole(SequenceOntology.PROMOTER);
  CRP_b.addSequence("String_Node_Str",version);
  ComponentDefinition EYFP_cds=doc.createComponentDefinition("String_Node_Str",version,DNAType);
  EYFP_cds.addRole(SequenceOntology.CDS);
  ComponentDefinition EYFP_gene=doc.createComponentDefinition("String_Node_Str",version,DNAType);
  EYFP_gene.addRole(SequenceOntology.PROMOTER);
  EYFP_gene.createSequenceConstraint("String_Node_Str",RestrictionType.PRECEDES,"String_Node_Str","String_Node_Str");
  doc.createComponentDefinition("String_Node_Str",version,ProteinType);
  ModuleDefinition CRISPR_Repression=doc.createModuleDefinition("String_Node_Str",version);
  CRISPR_Repression.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRISPR_Repression.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRISPR_Repression.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRISPR_Repression.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRISPR_Repression.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRISPR_Repression.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRISPR_Repression.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRISPR_Repression.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRISPR_Repression.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRISPR_Repression.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRISPR_Repression.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  Interaction mKate_production=CRISPR_Repression.createInteraction("String_Node_Str",production);
  mKate_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PRODUCT);
  mKate_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  Interaction GAL4VP16_production=CRISPR_Repression.createInteraction("String_Node_Str",production);
  GAL4VP16_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  GAL4VP16_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PRODUCT);
  Interaction EYFP_Activation=CRISPR_Repression.createInteraction("String_Node_Str",enhancement);
  EYFP_Activation.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.STIMULATOR);
  EYFP_Activation.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  Module Template_Module=CRISPR_Repression.createModule("String_Node_Str","String_Node_Str",version);
  Template_Module.createMapsTo("String_Node_Str",RefinementType.USELOCAL,"String_Node_Str","String_Node_Str");
  Template_Module.createMapsTo("String_Node_Str",RefinementType.USELOCAL,"String_Node_Str","String_Node_Str");
  Template_Module.createMapsTo("String_Node_Str",RefinementType.USELOCAL,"String_Node_Str","String_Node_Str");
  Template_Module.createMapsTo("String_Node_Str",RefinementType.USELOCAL,"String_Node_Str","String_Node_Str");
  Template_Module.createMapsTo("String_Node_Str",RefinementType.USELOCAL,"String_Node_Str","String_Node_Str");
  Template_Module.createMapsTo("String_Node_Str",RefinementType.USELOCAL,"String_Node_Str","String_Node_Str");
  Template_Module.createMapsTo("String_Node_Str",RefinementType.USELOCAL,"String_Node_Str","String_Node_Str");
  try {
    SBOLWriter.write(doc,"String_Node_Str");
  }
 catch (  XMLStreamException|FactoryConfigurationError|CoreIoException|IOException e) {
    e.printStackTrace();
  }
}

Fixed version (ground truth):
public static void main(String[] args) throws URISyntaxException {
  HashSet<URI> ProteinType=new HashSet<URI>();
  ProteinType.add(ComponentDefinition.PROTEIN);
  HashSet<URI> DNAType=new HashSet<URI>();
  DNAType.add(ComponentDefinition.DNA);
  HashSet<URI> RNAType=new HashSet<URI>();
  RNAType.add(ComponentDefinition.RNA);
  HashSet<URI> ComplexType=new HashSet<URI>();
  ComplexType.add(ComponentDefinition.COMPLEX);
  HashSet<URI> non_covalent_type=new HashSet<URI>();
  non_covalent_type.add(SystemsBiologyOntology.NON_COVALENT_BINDING);
  HashSet<URI> enhancement=new HashSet<URI>();
  enhancement.add(SystemsBiologyOntology.GENETIC_ENHANCEMENT);
  HashSet<URI> production=new HashSet<URI>();
  production.add(SystemsBiologyOntology.GENETIC_PRODUCTION);
  HashSet<URI> suppression=new HashSet<URI>();
  suppression.add(SystemsBiologyOntology.GENETIC_SUPPRESSION);
  SBOLDocument doc=new SBOLDocument();
  doc.setDefaultURIprefix("String_Node_Str");
  doc.setComplete(true);
  doc.setCreateDefaults(true);
  String version="String_Node_Str";
  doc.createComponentDefinition("String_Node_Str",version,DNAType).addRole(SequenceOntology.PROMOTER);
  doc.createComponentDefinition("String_Node_Str",version,ProteinType);
  doc.createComponentDefinition("String_Node_Str",version,DNAType).addRole(SequenceOntology.PROMOTER);
  doc.createComponentDefinition("String_Node_Str",version,RNAType);
  doc.createComponentDefinition("String_Node_Str",version,ComplexType);
  doc.createComponentDefinition("String_Node_Str",version,DNAType).addRole(SequenceOntology.PROMOTER);
  doc.createComponentDefinition("String_Node_Str",version,ProteinType);
  ModuleDefinition CRISPR_Template=doc.createModuleDefinition("String_Node_Str",version);
  Interaction Cas9Complex_Formation=CRISPR_Template.createInteraction("String_Node_Str",non_covalent_type);
  Cas9Complex_Formation.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.REACTANT);
  Cas9Complex_Formation.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.REACTANT);
  Cas9Complex_Formation.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PRODUCT);
  Interaction cas9m_production=CRISPR_Template.createInteraction("String_Node_Str",production);
  cas9m_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  cas9m_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PRODUCT);
  Interaction gRNA_production=CRISPR_Template.createInteraction("String_Node_Str",production);
  gRNA_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  gRNA_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PRODUCT);
  Interaction EYFP_production=CRISPR_Template.createInteraction("String_Node_Str",production);
  EYFP_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  EYFP_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PRODUCT);
  Interaction target_generic_gene_inhibition=CRISPR_Template.createInteraction("String_Node_Str",suppression);
  target_generic_gene_inhibition.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.INHIBITOR);
  target_generic_gene_inhibition.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  String CRa_U6_seq_elements="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str";
  doc.createSequence("String_Node_Str",version,CRa_U6_seq_elements,Sequence.IUPAC_DNA);
  String gRNA_b_elements="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str";
  doc.createSequence("String_Node_Str",version,gRNA_b_elements,Sequence.IUPAC_DNA);
  String mKate_seq_elements="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str";
  doc.createSequence("String_Node_Str",version,mKate_seq_elements,Sequence.IUPAC_DNA);
  String CRP_b_seq_elements="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str";
  doc.createSequence("String_Node_Str",version,CRP_b_seq_elements,Sequence.IUPAC_DNA);
  doc.createComponentDefinition("String_Node_Str",version,DNAType);
  doc.createComponentDefinition("String_Node_Str",version,DNAType);
  ComponentDefinition cas9m_BFP_gene=doc.createComponentDefinition("String_Node_Str",version,DNAType);
  cas9m_BFP_gene.addRole(SequenceOntology.PROMOTER);
  cas9m_BFP_gene.createSequenceConstraint("String_Node_Str",RestrictionType.PRECEDES,"String_Node_Str","String_Node_Str");
  doc.createComponentDefinition("String_Node_Str",version,ProteinType);
  ComponentDefinition CRa_U6=doc.createComponentDefinition("String_Node_Str",version,DNAType);
  CRa_U6.addRole(SequenceOntology.PROMOTER);
  CRa_U6.addSequence("String_Node_Str",version);
  ComponentDefinition gRNA_b_cds=doc.createComponentDefinition("String_Node_Str",version,DNAType);
  gRNA_b_cds.addRole(SequenceOntology.CDS);
  gRNA_b_cds.addSequence("String_Node_Str",version);
  doc.createComponentDefinition("String_Node_Str",version,DNAType).addRole(SequenceOntology.TERMINATOR);
  ComponentDefinition gRNA_b_gene=doc.createComponentDefinition("String_Node_Str",version,DNAType);
  gRNA_b_gene.addRole(SequenceOntology.PROMOTER);
  cas9m_BFP_gene.createSequenceConstraint("String_Node_Str",RestrictionType.PRECEDES,"String_Node_Str","String_Node_Str");
  cas9m_BFP_gene.createSequenceConstraint("String_Node_Str",RestrictionType.PRECEDES,"String_Node_Str","String_Node_Str");
  doc.createComponentDefinition("String_Node_Str",version,RNAType);
  doc.createComponentDefinition("String_Node_Str",version,ComplexType);
  ComponentDefinition mKate_cds=doc.createComponentDefinition("String_Node_Str",version,DNAType);
  mKate_cds.addRole(SequenceOntology.CDS);
  mKate_cds.addSequence("String_Node_Str",version);
  ComponentDefinition mKate_gene=doc.createComponentDefinition("String_Node_Str",version,DNAType);
  mKate_gene.addRole(SequenceOntology.PROMOTER);
  mKate_gene.createSequenceConstraint("String_Node_Str",RestrictionType.PRECEDES,"String_Node_Str","String_Node_Str");
  doc.createComponentDefinition("String_Node_Str",version,ProteinType);
  ComponentDefinition Gal4VP16_cds=doc.createComponentDefinition("String_Node_Str",version,DNAType);
  Gal4VP16_cds.addRole(SequenceOntology.CDS);
  ComponentDefinition Gal4VP16_gene=doc.createComponentDefinition("String_Node_Str",version,DNAType);
  Gal4VP16_gene.addRole(SequenceOntology.PROMOTER);
  Gal4VP16_gene.createSequenceConstraint("String_Node_Str",RestrictionType.PRECEDES,"String_Node_Str","String_Node_Str");
  doc.createComponentDefinition("String_Node_Str",version,ProteinType);
  ComponentDefinition CRP_b=doc.createComponentDefinition("String_Node_Str",version,DNAType);
  CRP_b.addRole(SequenceOntology.PROMOTER);
  CRP_b.addSequence("String_Node_Str",version);
  ComponentDefinition EYFP_cds=doc.createComponentDefinition("String_Node_Str",version,DNAType);
  EYFP_cds.addRole(SequenceOntology.CDS);
  ComponentDefinition EYFP_gene=doc.createComponentDefinition("String_Node_Str",version,DNAType);
  EYFP_gene.addRole(SequenceOntology.PROMOTER);
  EYFP_gene.createSequenceConstraint("String_Node_Str",RestrictionType.PRECEDES,"String_Node_Str","String_Node_Str");
  doc.createComponentDefinition("String_Node_Str",version,ProteinType);
  ModuleDefinition CRISPR_Repression=doc.createModuleDefinition("String_Node_Str",version);
  CRISPR_Repression.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRISPR_Repression.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRISPR_Repression.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRISPR_Repression.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRISPR_Repression.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRISPR_Repression.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRISPR_Repression.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRISPR_Repression.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRISPR_Repression.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRISPR_Repression.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRISPR_Repression.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  Interaction mKate_production=CRISPR_Repression.createInteraction("String_Node_Str",production);
  mKate_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PRODUCT);
  mKate_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  Interaction GAL4VP16_production=CRISPR_Repression.createInteraction("String_Node_Str",production);
  GAL4VP16_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  GAL4VP16_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PRODUCT);
  Interaction EYFP_Activation=CRISPR_Repression.createInteraction("String_Node_Str",enhancement);
  EYFP_Activation.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.STIMULATOR);
  EYFP_Activation.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  Module Template_Module=CRISPR_Repression.createModule("String_Node_Str","String_Node_Str",version);
  Template_Module.createMapsTo("String_Node_Str",RefinementType.USELOCAL,"String_Node_Str","String_Node_Str");
  Template_Module.createMapsTo("String_Node_Str",RefinementType.USELOCAL,"String_Node_Str","String_Node_Str");
  Template_Module.createMapsTo("String_Node_Str",RefinementType.USELOCAL,"String_Node_Str","String_Node_Str");
  Template_Module.createMapsTo("String_Node_Str",RefinementType.USELOCAL,"String_Node_Str","String_Node_Str");
  Template_Module.createMapsTo("String_Node_Str",RefinementType.USELOCAL,"String_Node_Str","String_Node_Str");
  Template_Module.createMapsTo("String_Node_Str",RefinementType.USELOCAL,"String_Node_Str","String_Node_Str");
  Template_Module.createMapsTo("String_Node_Str",RefinementType.USELOCAL,"String_Node_Str","String_Node_Str");
  try {
    SBOLWriter.write(doc,"String_Node_Str");
  }
 catch (  XMLStreamException|FactoryConfigurationError|CoreIoException|IOException e) {
    e.printStackTrace();
  }
}