org.biopax.paxtools.impl.level3
Class L3ElementImpl

java.lang.Object
  extended by org.biopax.paxtools.impl.BioPAXElementImpl
      extended by org.biopax.paxtools.impl.level3.L3ElementImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, BioPAXElement, Level3Element
Direct Known Subclasses:
ChemicalStructureImpl, DeltaGImpl, EntityFeatureImpl, ExperimentalFormImpl, KPrimeImpl, PathwayStepImpl, SequenceLocationImpl, StoichiometryImpl, XReferrableImpl, XrefImpl

@Entity
public abstract class L3ElementImpl
extends BioPAXElementImpl
implements Level3Element

Base BioPAX Level3 element.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.biopax.paxtools.model.BioPAXElement
BioPAXElement.Key
 
Field Summary
 
Fields inherited from class org.biopax.paxtools.impl.BioPAXElementImpl
SEARCH_FIELD_AVAILABILITY, SEARCH_FIELD_COMMENT, SEARCH_FIELD_EC_NUMBER, SEARCH_FIELD_KEYWORD, SEARCH_FIELD_NAME, SEARCH_FIELD_SEQUENCE, SEARCH_FIELD_TERM, SEARCH_FIELD_XREF_DB, SEARCH_FIELD_XREF_ID, SEARCH_INDEX_NAME
 
Fields inherited from interface org.biopax.paxtools.model.BioPAXElement
UNKNOWN_DOUBLE, UNKNOWN_FLOAT, UNKNOWN_INT
 
Constructor Summary
L3ElementImpl()
           
 
Method Summary
 void addComment(java.lang.String COMMENT)
          A textual comment about this individual.
 java.util.Set<java.lang.String> getComment()
          A textual comment about this individual.
 void removeComment(java.lang.String COMMENT)
          A textual comment about this individual.
 void setComment(java.util.Set<java.lang.String> comment)
           
 
Methods inherited from class org.biopax.paxtools.impl.BioPAXElementImpl
equivalenceCode, getAnnotations, getProxyId, getRDFId, getVersion, isEquivalent, semanticallyEquivalent, setProxyId, setRDFId, setVersion, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.biopax.paxtools.model.BioPAXElement
equivalenceCode, getAnnotations, getModelInterface, getRDFId, isEquivalent
 

Constructor Detail

L3ElementImpl

public L3ElementImpl()
Method Detail

getComment

@Field(name="comment",
       index=TOKENIZED)
@FieldBridge(impl=SetStringBridge.class)
public java.util.Set<java.lang.String> getComment()
Description copied from interface: Level3Element
A textual comment about this individual. This property should be used instead of the OWL documentation elements (rdfs:comment) for instances because information in 'comment' is data to be exchanged, whereas the rdfs:comment field is used for metadata about the structure of the BioPAX ontology. Contents of this set should not be modified. Use Add/Remove instead.

Specified by:
getComment in interface Level3Element
Returns:
A textual comment about this individual.

setComment

public void setComment(java.util.Set<java.lang.String> comment)

addComment

public void addComment(java.lang.String COMMENT)
Description copied from interface: Level3Element
A textual comment about this individual. This property should be used instead of the OWL documentation elements (rdfs:comment) for instances because information in 'comment' is data to be exchanged, whereas the rdfs:comment field is used for metadata about the structure of the BioPAX ontology. Contents of this set should not be modified. Use Add/Remove instead.

Specified by:
addComment in interface Level3Element
Parameters:
COMMENT - A textual comment about this individual.

removeComment

public void removeComment(java.lang.String COMMENT)
Description copied from interface: Level3Element
A textual comment about this individual. This property should be used instead of the OWL documentation elements (rdfs:comment) for instances because information in 'comment' is data to be exchanged, whereas the rdfs:comment field is used for metadata about the structure of the BioPAX ontology. Contents of this set should not be modified. Use Add/Remove instead.

Specified by:
removeComment in interface Level3Element
Parameters:
COMMENT - A textual comment about this individual.


Copyright © 2011 BioPAX. All Rights Reserved.