public class ClassificationImpl extends RegistryObjectImpl implements Classification, Serializable
| Constructor and Description |
|---|
ClassificationImpl()
Default constructor
|
ClassificationImpl(ClassificationScheme scheme,
String name,
String value) |
ClassificationImpl(Concept concept) |
| Modifier and Type | Method and Description |
|---|---|
ClassificationScheme |
getClassificationScheme()
Get the classifiation scheme
|
RegistryObject |
getClassifiedObject()
Gets the Object that is being classified.
|
Concept |
getConcept()
Gets the Concept that is classifying the object.
|
Key |
getKey()
Override the behavior in RegistryObject to return a
provider generated id.
|
String |
getValue()
Gets the value of the classification.
|
boolean |
isExternal()
Returns whether or not this is an external (has
value, no concept) or internal (gets value from
concept) classification.
|
void |
setClassificationScheme(ClassificationScheme classificationScheme)
Sets the ClassificationScheme for this classification.
|
void |
setClassifiedObject(RegistryObject object)
Sets the Object that is being classified.
|
void |
setConcept(Concept concept)
Sets the Concept for this classification.
|
void |
setValue(String value)
Set the classification value.
|
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, addSlot, addSlots, areAssociationsLoaded, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getConnection, getDescription, getExternalIdentifiers, getExternalLinks, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getRegistryService, getServiceId, getSubmittingOrganization, isDeleted, isLoaded, isModified, isNew, isRetrieved, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, removeSlot, removeSlots, setAssociations, setAssociationsLoaded, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setIsDeleted, setIsLoaded, setIsModified, setIsNew, setIsRetrieved, setKey, setLifeCycleManager, setName, setObjectType, setRegistryService, setServiceId, setStatusFlags, setSubmittingOrganization, toXMLgetSlot, getSlotsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getDescription, getExternalIdentifiers, getExternalLinks, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getSubmittingOrganization, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setName, toXMLaddSlot, addSlots, getSlot, getSlots, removeSlot, removeSlotspublic ClassificationImpl()
public ClassificationImpl(ClassificationScheme scheme, String name, String value)
public ClassificationImpl(Concept concept)
public Concept getConcept() throws JAXRException
getConcept in interface ClassificationJAXRException - If the JAXR provider encounters an internal errorpublic void setConcept(Concept concept) throws JAXRException
setConcept in interface Classificationconcept - the Concept that is classifying the classified object.JAXRException - If the JAXR provider encounters an internal errorpublic ClassificationScheme getClassificationScheme() throws JAXRException
getClassificationScheme in interface ClassificationJAXRException - If the JAXR provider encounters an internal errorClassificationSchemepublic void setClassificationScheme(ClassificationScheme classificationScheme) throws JAXRException
setClassificationScheme in interface ClassificationclassificationScheme - the ClassificationScheme used by this ClassificationJAXRException - If the JAXR provider encounters an internal errorpublic String getValue() throws JAXRException
getValue in interface ClassificationJAXRException - If the JAXR provider encounters an internal errorpublic void setValue(String value)
setValue in interface Classificationvalue - the taxonomy value used by this external Classificationpublic RegistryObject getClassifiedObject() throws JAXRException
getClassifiedObject in interface ClassificationJAXRException - If the JAXR provider encounters an internal errorpublic void setClassifiedObject(RegistryObject object) throws JAXRException
setClassifiedObject in interface Classificationobject - the RegistryObject that is classified by this ClassificationJAXRException - If the JAXR provider encounters an internal errorpublic boolean isExternal()
isExternal in interface Classificationtrue if this is an external Classification; false otherwisepublic Key getKey() throws JAXRException
getKey in interface RegistryObjectgetKey in class RegistryObjectImplJAXRException - If the JAXR provider encounters an internal errorCopyright © 2005–2017 Oracle Corporation. All rights reserved.