org.biopax.paxtools.impl.level3
Class XrefImpl
java.lang.Object
org.biopax.paxtools.impl.BioPAXElementImpl
org.biopax.paxtools.impl.level3.L3ElementImpl
org.biopax.paxtools.impl.level3.XrefImpl
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, BioPAXElement, Level3Element, UtilityClass, Xref
- Direct Known Subclasses:
- PublicationXrefImpl, RelationshipXrefImpl, UnificationXrefImpl
@Entity
public abstract class XrefImpl
- extends L3ElementImpl
- implements Xref
- See Also:
- Serialized Form
|
Constructor Summary |
XrefImpl()
Constructor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
XrefImpl
public XrefImpl()
- Constructor.
semanticallyEquivalent
protected boolean semanticallyEquivalent(BioPAXElement other)
- Overrides:
semanticallyEquivalent in class BioPAXElementImpl
equivalenceCode
public int equivalenceCode()
- Description copied from interface:
BioPAXElement
- If two elements are equivalent, then their equivalence code should be the
same.
- Specified by:
equivalenceCode in interface BioPAXElement- Overrides:
equivalenceCode in class BioPAXElementImpl
- Returns:
- an integer that is same across all equivalent entities.
getDb
@Field(name="xrefdb",
index=TOKENIZED)
public java.lang.String getDb()
- Specified by:
getDb in interface Xref
setDb
public void setDb(java.lang.String db)
- Specified by:
setDb in interface Xref
getDbVersion
public java.lang.String getDbVersion()
- Specified by:
getDbVersion in interface Xref
setDbVersion
public void setDbVersion(java.lang.String dbVersion)
- Specified by:
setDbVersion in interface Xref
getIdVersion
public java.lang.String getIdVersion()
- Specified by:
getIdVersion in interface Xref
setIdVersion
public void setIdVersion(java.lang.String idVersion)
- Specified by:
setIdVersion in interface Xref
getIdx
@Field(name="xrefid",
index=TOKENIZED)
public java.lang.String getIdx()
setIdx
public void setIdx(java.lang.String id)
getId
public java.lang.String getId()
- Specified by:
getId in interface Xref
setId
public void setId(java.lang.String id)
- Specified by:
setId in interface Xref
getXrefOf
public java.util.Set<XReferrable> getXrefOf()
- Specified by:
getXrefOf in interface Xref
setXrefOf
protected void setXrefOf(java.util.Set<XReferrable> xrefOf)
toString
public java.lang.String toString()
- Overrides:
toString in class BioPAXElementImpl
Copyright © 2011 BioPAX. All Rights Reserved.