[MOBY-guts] biomoby commit
Paul Gordon
gordonp at dev.open-bio.org
Fri Jan 19 18:32:36 UTC 2007
gordonp
Fri Jan 19 13:32:36 EST 2007
Update of /home/repository/moby/moby-live/Java/docs
In directory dev.open-bio.org:/tmp/cvs-serv10600/docs
Modified Files:
DataPackageInAnger.html
Log Message:
Fixed typos in DNASequence creation
moby-live/Java/docs DataPackageInAnger.html,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/Java/docs/DataPackageInAnger.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/docs/DataPackageInAnger.html 2006/08/01 03:42:26 1.2
+++ /home/repository/moby/moby-live/Java/docs/DataPackageInAnger.html 2007/01/19 18:32:36 1.3
@@ -133,12 +133,12 @@
MobyDataComposite dnaSeqObj = new MobyDataComposite(dnaType, //type
giNS, // namespace
"123456", //id
- "Sequence", "ATG", //begin (articleName, value) pairs
+ "SequenceString", "ATG", //begin (articleName, value) pairs
"Length", "3");
</pre></code></blockquote>
Note that the constructor will automatically turn the value argument into a <code>java.lang.String</code>
if it isn't already, then call the <code>MobyDataObject.createInstanceFromString</code> shown earlier with the
- datatype specified in the ontology (moby:String for Sequence and moby:Integer for Length).
+ datatype specified in the ontology (moby:String for SequenceString and moby:Integer for Length).
</p>
<p>If the value argument was already a <code>MobyDataObject</code> this process is avoided,
@@ -148,7 +148,7 @@
<blockquote><code><pre>
MobyDataString seqString = new MobyDataString("ATG");
MobyDataComposite dnaSeqObj = new MobyDataComposite(dnaType, giNS, "123456",
- "Sequence", seqString,
+ "SequenceString", seqString,
"Length", "3");
</pre></code></blockquote>
</p>
More information about the MOBY-guts
mailing list