public class ConceptImpl extends RegistryObjectImpl implements Concept, Serializable
| Constructor and Description |
|---|
ConceptImpl()
Default constructor
|
ConceptImpl(Key key) |
ConceptImpl(Key key,
String description,
String name) |
ConceptImpl(RegistryObject parent,
String name,
String value) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChildConcept(Concept concept)
Add a child Concept
|
void |
addChildConcepts(Collection concepts)
Add a Collection of Concept children.
|
void |
addExternalLink(ExternalLink link)
Overrides behavior in RegistryObjectImpl to allow adding
external links.
|
void |
addExternalLinks(Collection links)
Overrides behavior in RegistryObjectImpl to allow adding
external links.
|
int |
getChildConceptCount()
Get number of children
|
Collection |
getChildrenConcepts()
Get all immediate children Concepts
|
boolean |
getChildrenLoaded() |
ClassificationScheme |
getClassificationScheme()
Get the parent classification scheme.
|
Collection |
getDescendantConcepts()
Get all descendant Concepts.
|
RegistryObject |
getParent()
Gets the parent Concept or ClassificationScheme for this object.
|
Concept |
getParentConcept()
Get the parent Concept or null if
parent is a ClassificationScheme
|
String |
getPath()
Returns the full path from classification scheme
down to the concept.
|
String |
getValue()
Gets the value (usually a code in a taxonomy)
associated with this Concept.
|
boolean |
isPredefined() |
void |
removeChildConcept(Concept concept)
Remove child concept
|
void |
removeChildConcepts(Collection concepts)
Remove a Collection of children Concepts.
|
void |
setClassificationScheme(ClassificationScheme scheme)
Internal method to set the ClassificationScheme.
|
void |
setExternalLinks(Collection links)
Overrides behavior in RegistryObjectImpl to allow adding
external links.
|
void |
setParentConcept(Concept parent)
For use by Composite class only
Use parent.addChild to set parent in client code
|
void |
setPredefined(boolean predefined) |
void |
setValue(String value)
Sets the value (usually a code in a taxonomy)
associated with this Concept.
|
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addSlot, addSlots, areAssociationsLoaded, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getConnection, getDescription, getExternalIdentifiers, getExternalLinks, getKey, 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, 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, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getSubmittingOrganization, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setKey, setName, toXMLaddSlot, addSlots, getSlot, getSlots, removeSlot, removeSlotspublic ConceptImpl()
public ConceptImpl(Key key)
public ConceptImpl(RegistryObject parent, String name, String value) throws JAXRException
JAXRExceptionpublic String getValue() throws JAXRException
getValue in interface ConceptJAXRException - If the JAXR provider encounters an internal errorpublic void setValue(String value)
public void addChildConcept(Concept concept) throws JAXRException
addChildConcept in interface Conceptconcept - the concept being added as a child of this objectJAXRException - If the JAXR provider encounters an internal errorpublic void addChildConcepts(Collection concepts) throws JAXRException
addChildConcepts in interface Conceptconcepts - the Collection of Concepts being added as a children of this objectJAXRException - If the JAXR provider encounters an internal errorpublic void removeChildConcept(Concept concept)
removeChildConcept in interface Conceptconcept - the concept being removed as a child Concept of this objectpublic void removeChildConcepts(Collection concepts)
removeChildConcepts in interface Conceptconcepts - the Collection of Concepts being removed as children Concepts of this objectpublic int getChildConceptCount()
getChildConceptCount in interface Conceptpublic Collection getChildrenConcepts() throws JAXRException
getChildrenConcepts in interface ConceptJAXRException - If the JAXR provider encounters an internal errorConceptpublic Collection getDescendantConcepts() throws JAXRException
getDescendantConcepts in interface ConceptJAXRException - If the JAXR provider encounters an internal errorConceptpublic Concept getParentConcept() throws JAXRException
getParentConcept in interface ConceptJAXRException - If the JAXR provider encounters an internal errorpublic ClassificationScheme getClassificationScheme() throws JAXRException
getClassificationScheme in interface ConceptJAXRException - If the JAXR provider encounters an internal errorpublic void setClassificationScheme(ClassificationScheme scheme)
public String getPath() throws JAXRException
getPath in interface ConceptJAXRException - If the JAXR provider encounters an internal errorpublic RegistryObject getParent()
Conceptpublic boolean isPredefined()
public void setPredefined(boolean predefined)
public boolean getChildrenLoaded()
throws JAXRException
JAXRExceptionpublic void setParentConcept(Concept parent)
public void addExternalLink(ExternalLink link) throws JAXRException
addExternalLink in interface RegistryObjectaddExternalLink in class RegistryObjectImplJAXRException - If the JAXR provider encounters an internal errorpublic void addExternalLinks(Collection links) throws JAXRException
addExternalLinks in interface RegistryObjectaddExternalLinks in class RegistryObjectImpllinks - the Collection of ExternalLinks being addedJAXRException - If the JAXR provider encounters an internal errorpublic void setExternalLinks(Collection links) throws JAXRException
setExternalLinks in interface RegistryObjectsetExternalLinks in class RegistryObjectImplJAXRException - If the JAXR provider encounters an internal errorCopyright © 2005–2017 Oracle Corporation. All rights reserved.