@Entity public abstract class BioPAXElementImpl extends Object implements BioPAXElement
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_AVAILABILITY |
static String |
FIELD_COMMENT |
static String |
FIELD_DATASOURCE |
static String |
FIELD_ECNUMBER |
static String |
FIELD_KEYWORD |
static String |
FIELD_NAME |
static String |
FIELD_ORGANISM |
static String |
FIELD_PATHWAY |
static String |
FIELD_SEQUENCE |
static String |
FIELD_TERM |
static String |
FIELD_XREFDB |
static String |
FIELD_XREFID |
static String |
FILTER_BY_DATASOURCE |
static String |
FILTER_BY_ORGANISM |
UNKNOWN_DOUBLE, UNKNOWN_FLOAT, UNKNOWN_INT
Constructor and Description |
---|
BioPAXElementImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
true if and only if the other obj has the same biopax type
(same
BioPAXElement.getModelInterface() , not a subclass) and
same URI. |
int |
equivalenceCode()
If two elements are equivalent, then their equivalence code should be the
same.
|
Map<String,Object> |
getAnnotations()
A general-purpose map to optionally
store additional application-specific information
about the BioPAX element, such as statistics,
inferred fields, etc.
|
String |
getPk()
Gets Primary Key.
|
String |
getRDFId()
This method returns the full URI of the element
(despite it is called RDFId).
|
int |
hashCode()
This method is consistent with the
overridden
equals(Object) method
(biopax type and URI are what matters) |
boolean |
isEquivalent(BioPAXElement element)
This method compares the given element for equivalency.
|
protected boolean |
semanticallyEquivalent(BioPAXElement element) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getModelInterface
public static final String FIELD_AVAILABILITY
public static final String FIELD_COMMENT
public static final String FIELD_KEYWORD
public static final String FIELD_NAME
public static final String FIELD_TERM
public static final String FIELD_XREFDB
public static final String FIELD_XREFID
public static final String FIELD_ECNUMBER
public static final String FIELD_SEQUENCE
public static final String FIELD_ORGANISM
public static final String FIELD_DATASOURCE
public static final String FIELD_PATHWAY
public static final String FILTER_BY_ORGANISM
public static final String FILTER_BY_DATASOURCE
public BioPAXElementImpl()
public String getPk()
getRDFId()
to get BioPAX element's URI and use it in
data analysis.public boolean isEquivalent(BioPAXElement element)
BioPAXElement
isEquivalent
in interface BioPAXElement
element
- to be compared for equivalencyprotected boolean semanticallyEquivalent(BioPAXElement element)
public int equivalenceCode()
BioPAXElement
equivalenceCode
in interface BioPAXElement
public String getRDFId()
BioPAXElement
getRDFId
in interface BioPAXElement
public Map<String,Object> getAnnotations()
BioPAXElement
getAnnotations
in interface BioPAXElement
public boolean equals(Object obj)
BioPAXElement.getModelInterface()
, not a subclass) and
same URI. Other properties are not considered.public int hashCode()
equals(Object)
method
(biopax type and URI are what matters)Copyright © 2015 BioPAX. All rights reserved.