public interface ComparableTriple extends Triple, java.lang.Comparable, Changeable
Triple.ImplAnnotatable.AnnotationForwarder| Modifier and Type | Field and Description |
|---|---|
static ChangeType |
DESCRIPTOR |
ANNOTATION| Modifier and Type | Method and Description |
|---|---|
void |
addDescriptor(ComparableTerm desc)
Adds a descriptor.
|
java.util.Set |
getDescriptors()
Returns all descriptors.
|
boolean |
removeDescriptor(ComparableTerm desc)
Removes a descriptor.
|
void |
setDescriptors(java.util.Set descriptors)
Clears the current set of descriptors and replaces it with the content of
the set passed.
|
equals, getObject, getPredicate, getSubject, hashCodeaddSynonym, getDescription, getName, getOntology, getSynonyms, removeSynonym, setDescriptiongetAnnotationaddChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListenerstatic final ChangeType DESCRIPTOR
void addDescriptor(ComparableTerm desc) throws AlreadyExistsException, java.lang.IllegalArgumentException, ChangeVetoException
desc - the descriptor to add.ChangeVetoException - in case of objections.AlreadyExistsException - if the descriptor already exists.java.lang.IllegalArgumentException - if the descriptor is missing.boolean removeDescriptor(ComparableTerm desc) throws java.lang.IllegalArgumentException, ChangeVetoException
desc - the descriptor to remove.ChangeVetoException - in case of objections.java.lang.IllegalArgumentException - if the descriptor is missing.void setDescriptors(java.util.Set descriptors)
throws ChangeVetoException
descriptors - the set of ComparableTerm descriptors to add.ChangeVetoException - in case of objections.ComparableTermjava.util.Set getDescriptors()
ComparableTerm