|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.registry.uddi.infomodel.ExtensibleObjectImpl
com.sun.xml.registry.uddi.infomodel.RegistryObjectImpl
com.sun.xml.registry.uddi.infomodel.ConceptImpl
public class ConceptImpl
Implementation of Concept interface. The ConceptImpl has either a concept or classification scheme as its parent, but not both.
| Constructor Summary | |
|---|---|
ConceptImpl()
Default constructor |
|
ConceptImpl(Key key)
|
|
ConceptImpl(Key key,
String description,
String name)
|
|
ConceptImpl(RegistryObject parent,
String name,
String value)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.sun.xml.registry.uddi.infomodel.ExtensibleObjectImpl |
|---|
getSlot, getSlots |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject |
|---|
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots |
| Constructor Detail |
|---|
public ConceptImpl()
public ConceptImpl(Key key)
public ConceptImpl(Key key,
String description,
String name)
public ConceptImpl(RegistryObject parent,
String name,
String value)
throws JAXRException
JAXRException| Method Detail |
|---|
public String getValue()
throws JAXRException
getValue in interface ConceptJAXRException - If the JAXR provider encounters an internal errorpublic void setValue(String value)
setValue in interface Conceptvalue - the value (usually a taxonomy value) associated with this Concept
public void addChildConcept(Concept concept)
throws JAXRException
addChildConcept in interface Conceptconcept - the concept being added as a child of this object
JAXRException - If the JAXR provider encounters an internal error
public void addChildConcepts(Collection concepts)
throws JAXRException
addChildConcepts in interface Conceptconcepts - the Collection of Concepts being added as a children of this object
JAXRException - 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 Concept
public Collection getChildrenConcepts()
throws JAXRException
getChildrenConcepts in interface ConceptJAXRException - If the JAXR provider encounters an internal errorConcept
public Collection getDescendantConcepts()
throws JAXRException
getDescendantConcepts in interface ConceptJAXRException - If the JAXR provider encounters an internal errorConcept
public Concept getParentConcept()
throws JAXRException
getParentConcept in interface ConceptJAXRException - If the JAXR provider encounters an internal error
public 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()
Concept
getParent in interface 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 error
public void addExternalLinks(Collection links)
throws JAXRException
addExternalLinks in interface RegistryObjectaddExternalLinks in class RegistryObjectImpllinks - the Collection of ExternalLinks being added
JAXRException - If the JAXR provider encounters an internal error
public void setExternalLinks(Collection links)
throws JAXRException
setExternalLinks in interface RegistryObjectsetExternalLinks in class RegistryObjectImplJAXRException - If the JAXR provider encounters an internal error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||