org.biopax.paxtools.impl.level3
Class RelationshipXrefImpl

java.lang.Object
  extended by org.biopax.paxtools.impl.BioPAXElementImpl
      extended by org.biopax.paxtools.impl.level3.L3ElementImpl
          extended by org.biopax.paxtools.impl.level3.XrefImpl
              extended by org.biopax.paxtools.impl.level3.RelationshipXrefImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, BioPAXElement, Level3Element, RelationshipXref, UtilityClass, Xref

@Entity
@Indexed
public class RelationshipXrefImpl
extends XrefImpl
implements RelationshipXref

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
RelationshipXrefImpl()
           
 
Method Summary
 java.lang.Class<? extends RelationshipXref> getModelInterface()
          This method returns the actual model interface that a class implements.
 RelationshipTypeVocabulary getRelationshipType()
          Definition:A controlled vocabulary term that defines the type of relationship that this xref defines.
protected  boolean semanticallyEquivalent(BioPAXElement other)
           
 void setRelationshipType(RelationshipTypeVocabulary relationshipType)
          Definition:A controlled vocabulary term that defines the type of relationship that this xref defines.
 
Methods inherited from class org.biopax.paxtools.impl.level3.XrefImpl
equivalenceCode, getDb, getDbVersion, getId, getIdVersion, getIdx, getXrefOf, setDb, setDbVersion, setId, setIdVersion, setIdx, setXrefOf, toString
 
Methods inherited from class org.biopax.paxtools.impl.level3.L3ElementImpl
addComment, getComment, removeComment, setComment
 
Methods inherited from class org.biopax.paxtools.impl.BioPAXElementImpl
getAnnotations, getProxyId, getRDFId, getVersion, isEquivalent, setProxyId, setRDFId, setVersion
 
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.level3.Xref
getDb, getDbVersion, getId, getIdVersion, getXrefOf, setDb, setDbVersion, setId, setIdVersion
 
Methods inherited from interface org.biopax.paxtools.model.level3.Level3Element
addComment, getComment, removeComment
 
Methods inherited from interface org.biopax.paxtools.model.BioPAXElement
equivalenceCode, getAnnotations, getRDFId, isEquivalent
 

Constructor Detail

RelationshipXrefImpl

public RelationshipXrefImpl()
Method Detail

getModelInterface

public java.lang.Class<? extends RelationshipXref> getModelInterface()
Description copied from interface: BioPAXElement
This method returns the actual model interface that a class implements.

Specified by:
getModelInterface in interface BioPAXElement
Returns:
an interface from org.biopax.paxtools.model package corresponding to a BioPAX class.

getRelationshipType

public RelationshipTypeVocabulary getRelationshipType()
Description copied from interface: RelationshipXref
Definition:A controlled vocabulary term that defines the type of relationship that this xref defines.

Usage: There is currently no controlled vocabulary of relationship types for BioPAX, although one will be created in the future as the usage of this property increases.

Specified by:
getRelationshipType in interface RelationshipXref
Returns:
The type of relationship

setRelationshipType

public void setRelationshipType(RelationshipTypeVocabulary relationshipType)
Description copied from interface: RelationshipXref
Definition:A controlled vocabulary term that defines the type of relationship that this xref defines.

Usage: There is currently no controlled vocabulary of relationship types for BioPAX, although one will be created in the future as the usage of this property increases.

Specified by:
setRelationshipType in interface RelationshipXref
Parameters:
relationshipType - The type of relationship that this xref defines

semanticallyEquivalent

protected boolean semanticallyEquivalent(BioPAXElement other)
Overrides:
semanticallyEquivalent in class XrefImpl


Copyright © 2011 BioPAX. All Rights Reserved.