|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Concept
The Concept interface is used to represent taxonomy elements and their structural relationship with each other in order to describe an internal taxonomy. Concept instances are used to define tree structures where the root of the tree is a ClassificationScheme instance and each node in the tree is a Concept instance. Two Concepts may be defined as being equivalent.
The figure below shows how Concept instances are used to represent taxonomy elements and their structural relationship with each other in order to describe an internal taxonomy.
RegistryObject
,
Classification
,
ClassificationScheme
Method Summary | |
---|---|
void |
addChildConcept(Concept concept)
Add a child Concept |
void |
addChildConcepts(java.util.Collection concepts)
Add a Collection of Concept children |
int |
getChildConceptCount()
Get number of children |
java.util.Collection |
getChildrenConcepts()
Get all immediate children Concepts |
ClassificationScheme |
getClassificationScheme()
Get the ClassificationScheme that this Concept is a descendent of |
java.util.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. |
java.lang.String |
getPath()
Gets the canonical path representation for this Concept. |
java.lang.String |
getValue()
Gets the value (usually a code in a taxonomy) associated with this Concept. |
void |
removeChildConcept(Concept concept)
Remove a child Concept |
void |
removeChildConcepts(java.util.Collection concepts)
Remove a Collection of children Concepts |
void |
setValue(java.lang.String value)
Sets the value (usually a taxonomy value) associated with this Concept. |
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject |
---|
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots |
Method Detail |
---|
java.lang.String getValue() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setValue(java.lang.String value) throws JAXRException
value
- the value (usually a taxonomy value) associated with this Concept
JAXRException
- If the JAXR provider encounters an internal errorvoid addChildConcept(Concept concept) throws JAXRException
concept
- the concept being added as a child of this object
JAXRException
- If the JAXR provider encounters an internal errorvoid addChildConcepts(java.util.Collection concepts) throws JAXRException
concepts
- the Collection of Concepts being added as a children of this object
JAXRException
- If the JAXR provider encounters an internal errorvoid removeChildConcept(Concept concept) throws JAXRException
concept
- the concept being removed as a child Concept of this object
JAXRException
- If the JAXR provider encounters an internal errorvoid removeChildConcepts(java.util.Collection concepts) throws JAXRException
concepts
- the Collection of Concepts being removed as children Concepts of this object
JAXRException
- If the JAXR provider encounters an internal errorint getChildConceptCount() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorjava.util.Collection getChildrenConcepts() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorConcept
java.util.Collection getDescendantConcepts() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorConcept
Concept getParentConcept() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorClassificationScheme getClassificationScheme() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorjava.lang.String getPath() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorRegistryObject getParent() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal error
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 4-June-2010 04:34