public abstract class BioPAXElementImpl extends Object implements BioPAXElement
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 |
getUri()
This method returns the absolute URI of the element.
|
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, waitgetModelInterfacepublic boolean isEquivalent(BioPAXElement element)
BioPAXElementisEquivalent in interface BioPAXElementelement - to be compared for equivalencyprotected boolean semanticallyEquivalent(BioPAXElement element)
public int equivalenceCode()
BioPAXElementequivalenceCode in interface BioPAXElementpublic String getUri()
BioPAXElementgetUri in interface BioPAXElementpublic Map<String,Object> getAnnotations()
BioPAXElementgetAnnotations in interface BioPAXElementpublic 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 © 2017 BioPAX. All rights reserved.