sbol-data-examples/src/main/java/org/sbolstandard/examples/DataTreeCreator.java
public static DocumentRoot<QName> makeDocument()
  {
    return DocumentRoot(
            NamespaceBindings(SbolTerms.sbol2),
            TopLevelDocuments(
                    TopLevelDocument(
                            SbolTerms.dnaComponent,
                            partsRegistry.namespacedUri("Part:BBa_I0462"),
                            NamedProperties(
                                    NamedProperty(SbolTerms.name, "I0462"),
                                    NamedProperty(SbolTerms.description, "LuxR protein generator"),
                                    NamedProperty(SbolTerms.dnaSequence, partsRegistry.namespacedUri("Part:BBa_I0462/sequence")),
                                    NamedProperty(
                                            SbolTerms.sequenceAnnotation,
                                            NestedDocument(
                                                    SbolTerms.annotation,
                                                    partsRegistry.namespacedUri("Part:BBa_I0462/anot/1234567"),
                                                    NamedProperties(
                                                            NamedProperty(SbolTerms.bioStart, 1),
                                                            NamedProperty(SbolTerms.bioEnd, 12),
                                                            NamedProperty(SbolTerms.strand, "+"),
                                                            NamedProperty(
                                                                    SbolTerms.subComponent,
                                                                    partsRegistry.namespacedUri("Part:BBa_B0034")
                                                            )
                                                    )
                                            )
                                    ),
                                    NamedProperty(
                                            SbolTerms.annotation,
                                            NestedDocument(
                                                    SbolTerms.sequenceAnnotation,
                                                    partsRegistry.namespacedUri("Part:BBa_I0462/annotation/2345678"),
                                                    NamedProperties(
                                                            NamedProperty(SbolTerms.bioStart, 19),
                                                            NamedProperty(SbolTerms.bioEnd, 774),
                                                            NamedProperty(SbolTerms.subComponent, partsRegistry.namespacedUri("Part:BBa_C0062"))
                                                    )
                                            )
                                    )
                            )
                    ),
                    TopLevelDocument(
                            SbolTerms.dnaSequence,
                            partsRegistry.namespacedUri("Part:BBa_I0462/sequence"),
                            NamedProperties(NamedProperty(
                                    SbolTerms.nucleotides,
                                    "aaagaggagaaatactagatgaaaaacataaatgccgacgacacatacagaataattaataaaattaaagcttgtagaagcaataatgatattaatcaatgcttatctgatatgactaaaatggtacattgtgaatattatttactcgcgatcatttatcctcattctatggttaaatctgatatttcaatcctagataattaccctaaaaaatggaggcaatattatgatgacgctaatttaataaaatatgatcctatagtagattattctaactccaatcattcaccaattaattggaatatatttgaaaacaatgctgtaaataaaaaatctccaaatgtaattaaagaagcgaaaacatcaggtcttatcactgggtttagtttccctattcatacggctaacaatggcttcggaatgcttagttttgcacattcagaaaaagacaactatatagatagtttatttttacatgcgtgtatgaacataccattaattgttccttctctagttgataattatcgaaaaataaatatagcaaataataaatcaaacaacgatttaaccaaaagagaaaaagaatgtttagcgtgggcatgcgaaggaaaaagctcttgggatatttcaaaaatattaggttgcagtgagcgtactgtcactttccatttaaccaatgcgcaaatgaaactcaatacaacaaaccgctgccaaagtatttctaaagcaattttaacaggagcaattgattgcccatactttaaaaattaataacactgatagtgctagtgtagatcactactagagccaggcatcaaataaaacgaaaggctcagtcgaaagactgggcctttcgttttatctgttgtttgtcggtgaacgctctctactagagtcacactggctcaccttcgggtgggcctttctgcgtttata"
                            ))
                    ),

                    TopLevelDocument(
                            SbolTerms.dnaComponent,
                            partsRegistry.namespacedUri("Part:BBa_B0034"),
                            NamedProperties(
                                    NamedProperty(SbolTerms.name, "I0462"),
                                    NamedProperty(SbolTerms.displayId, "BBa_B0034"),
                                    NamedProperty(RdfTerms.rdfType, URI.create("http://purl.obolibrary.org/obo/SO_0000139"))
                            )),
                    TopLevelDocument(
                            SbolTerms.dnaComponent,
                            partsRegistry.namespacedUri("Part:BBa_C0062"),
                            NamedProperties(
                                    NamedProperty(SbolTerms.name, "luxR"),
                                    NamedProperty(SbolTerms.displayId, "BBa_C0062"),
                                    NamedProperty(RdfTerms.rdfType, URI.create("http://purl.obolibrary.org/obo/SO_0000316"))
                            )
                    )
            ));
  }
public static DocumentRoot<QName> makeDocument()
  {
    return DocumentRoot(
            NamespaceBindings(SbolTerms.sbol2),
            TopLevelDocuments(
                    TopLevelDocument(
                            SbolTerms.dnaComponent,
                            partsRegistry.namespacedUri("Part:BBa_I0462"),
                            NamedProperties(
                                    NamedProperty(SbolTerms.name, "I0462"),
                                    NamedProperty(SbolTerms.description, "LuxR protein generator"),
                                    NamedProperty(SbolTerms.dnaSequence, partsRegistry.namespacedUri("Part:BBa_I0462/sequence")),
                                    NamedProperty(
                                            SbolTerms.sequenceAnnotation,
                                            NestedDocument(
                                                    SbolTerms.annotation,
                                                    partsRegistry.namespacedUri("Part:BBa_I0462/anot/1234567"),
                                                    NamedProperties(
                                                            NamedProperty(SbolTerms.bioStart, 1),
                                                            NamedProperty(SbolTerms.bioEnd, 12),
                                                            NamedProperty(SbolTerms.strand, "+"),
                                                            NamedProperty(
                                                                    SbolTerms.subComponent,
                                                                    partsRegistry.namespacedUri("Part:BBa_B0034")
                                                            )
                                                    )
                                            )
                                    ),
                                    NamedProperty(
                                            SbolTerms.annotation,
                                            NestedDocument(
                                                    SbolTerms.sequenceAnnotation,
                                                    partsRegistry.namespacedUri("Part:BBa_I0462/annotation/2345678"),
                                                    NamedProperties(
                                                            NamedProperty(SbolTerms.bioStart, 19),
                                                            NamedProperty(SbolTerms.bioEnd, 774),
                                                            NamedProperty(SbolTerms.subComponent, partsRegistry.namespacedUri("Part:BBa_C0062"))
                                                    )
                                            )
                                    )
                            )
                    ),
                    TopLevelDocument(
                            SbolTerms.dnaSequence,
                            partsRegistry.namespacedUri("Part:BBa_I0462/sequence"),
                            NamedProperties(NamedProperty(
                                    SbolTerms.nucleotides,
                                    "aaagaggagaaatactagatgaaaaacataaatgccgacgacacatacagaataattaataaaattaaagcttgtagaagcaataatgatattaatcaatgcttatctgatatgactaaaatggtacattgtgaatattatttactcgcgatcatttatcctcattctatggttaaatctgatatttcaatcctagataattaccctaaaaaatggaggcaatattatgatgacgctaatttaataaaatatgatcctatagtagattattctaactccaatcattcaccaattaattggaatatatttgaaaacaatgctgtaaataaaaaatctccaaatgtaattaaagaagcgaaaacatcaggtcttatcactgggtttagtttccctattcatacggctaacaatggcttcggaatgcttagttttgcacattcagaaaaagacaactatatagatagtttatttttacatgcgtgtatgaacataccattaattgttccttctctagttgataattatcgaaaaataaatatagcaaataataaatcaaacaacgatttaaccaaaagagaaaaagaatgtttagcgtgggcatgcgaaggaaaaagctcttgggatatttcaaaaatattaggttgcagtgagcgtactgtcactttccatttaaccaatgcgcaaatgaaactcaatacaacaaaccgctgccaaagtatttctaaagcaattttaacaggagcaattgattgcccatactttaaaaattaataacactgatagtgctagtgtagatcactactagagccaggcatcaaataaaacgaaaggctcagtcgaaagactgggcctttcgttttatctgttgtttgtcggtgaacgctctctactagagtcacactggctcaccttcgggtgggcctttctgcgtttata"
                            ))
                    ),

                    TopLevelDocument(
                            SbolTerms.dnaComponent,
                            partsRegistry.namespacedUri("Part:BBa_B0034"),
                            NamedProperties(
                                    NamedProperty(SbolTerms.name, "I0462"),
                                    NamedProperty(SbolTerms.displayId, "BBa_B0034"),
                                    NamedProperty(RdfTerms.rdfType, URI.create("http://purl.obolibrary.org/obo/SO_0000139"))
                            )),
                    TopLevelDocument(
                            SbolTerms.dnaComponent,
                            partsRegistry.namespacedUri("Part:BBa_C0062"),
                            NamedProperties(
                                    NamedProperty(SbolTerms.name, "luxR"),
                                    NamedProperty(SbolTerms.displayId, "BBa_C0062"),
                                    NamedProperty(RdfTerms.rdfType, URI.create("http://purl.obolibrary.org/obo/SO_0000316"))
                            )
                    )
            ));
  }
public static DocumentRoot < QName > makeDocument ( ) { return DocumentRoot ( NamespaceBindings ( SbolTerms . sbol2 ) , TopLevelDocuments ( TopLevelDocument ( SbolTerms . dnaComponent , partsRegistry . namespacedUri ( "Part:BBa_I0462" ) , NamedProperties ( NamedProperty ( SbolTerms . name , "I0462" ) , NamedProperty ( SbolTerms . description , "LuxR protein generator" ) , NamedProperty ( SbolTerms . dnaSequence , partsRegistry . namespacedUri ( "Part:BBa_I0462/sequence" ) ) , NamedProperty ( SbolTerms . sequenceAnnotation , NestedDocument ( SbolTerms . annotation , partsRegistry . namespacedUri ( "Part:BBa_I0462/anot/1234567" ) , NamedProperties ( NamedProperty ( SbolTerms . bioStart , 1 ) , NamedProperty ( SbolTerms . bioEnd , 12 ) , NamedProperty ( SbolTerms . strand , "+" ) , NamedProperty ( SbolTerms . subComponent , partsRegistry . namespacedUri ( "Part:BBa_B0034" ) ) ) ) ) , NamedProperty ( SbolTerms . annotation , NestedDocument ( SbolTerms . sequenceAnnotation , partsRegistry . namespacedUri ( "Part:BBa_I0462/annotation/2345678" ) , NamedProperties ( NamedProperty ( SbolTerms . bioStart , 19 ) , NamedProperty ( SbolTerms . bioEnd , 774 ) , NamedProperty ( SbolTerms . subComponent , partsRegistry . namespacedUri ( "Part:BBa_C0062" ) ) ) ) ) ) ) , TopLevelDocument ( SbolTerms . dnaSequence , partsRegistry . namespacedUri ( "Part:BBa_I0462/sequence" ) , NamedProperties ( NamedProperty ( SbolTerms . nucleotides , "aaagaggagaaatactagatgaaaaacataaatgccgacgacacatacagaataattaataaaattaaagcttgtagaagcaataatgatattaatcaatgcttatctgatatgactaaaatggtacattgtgaatattatttactcgcgatcatttatcctcattctatggttaaatctgatatttcaatcctagataattaccctaaaaaatggaggcaatattatgatgacgctaatttaataaaatatgatcctatagtagattattctaactccaatcattcaccaattaattggaatatatttgaaaacaatgctgtaaataaaaaatctccaaatgtaattaaagaagcgaaaacatcaggtcttatcactgggtttagtttccctattcatacggctaacaatggcttcggaatgcttagttttgcacattcagaaaaagacaactatatagatagtttatttttacatgcgtgtatgaacataccattaattgttccttctctagttgataattatcgaaaaataaatatagcaaataataaatcaaacaacgatttaaccaaaagagaaaaagaatgtttagcgtgggcatgcgaaggaaaaagctcttgggatatttcaaaaatattaggttgcagtgagcgtactgtcactttccatttaaccaatgcgcaaatgaaactcaatacaacaaaccgctgccaaagtatttctaaagcaattttaacaggagcaattgattgcccatactttaaaaattaataacactgatagtgctagtgtagatcactactagagccaggcatcaaataaaacgaaaggctcagtcgaaagactgggcctttcgttttatctgttgtttgtcggtgaacgctctctactagagtcacactggctcaccttcgggtgggcctttctgcgtttata" ) ) ) , TopLevelDocument ( SbolTerms . dnaComponent , partsRegistry . namespacedUri ( "Part:BBa_B0034" ) , NamedProperties ( NamedProperty ( SbolTerms . name , "I0462" ) , NamedProperty ( SbolTerms . displayId , "BBa_B0034" ) , NamedProperty ( RdfTerms . rdfType , URI . create ( "http://purl.obolibrary.org/obo/SO_0000139" ) ) ) ) , TopLevelDocument ( SbolTerms . dnaComponent , partsRegistry . namespacedUri ( "Part:BBa_C0062" ) , NamedProperties ( NamedProperty ( SbolTerms . name , "luxR" ) , NamedProperty ( SbolTerms . displayId , "BBa_C0062" ) , NamedProperty ( RdfTerms . rdfType , URI . create ( "http://purl.obolibrary.org/obo/SO_0000316" ) ) ) ) ) ) ; }
Creates an example {@link DocumentRoot} object with data from the SBOL1.1 data model.
Included SBOL objects are DnaComponent, SequenceAnnotation and DnaSequence.
@return {@link DocumentRoot}
Creates an example {