|
||||||||||
| 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.ClassificationImpl
public class ClassificationImpl
Implementation of Classification interface
| Constructor Summary | |
|---|---|
ClassificationImpl()
Default constructor |
|
ClassificationImpl(ClassificationScheme scheme,
String name,
String value)
|
|
ClassificationImpl(Concept concept)
|
|
| Method Summary | |
|---|---|
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. |
| 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 ClassificationImpl()
public ClassificationImpl(ClassificationScheme scheme,
String name,
String value)
public ClassificationImpl(Concept concept)
| Method Detail |
|---|
public Concept getConcept()
throws JAXRException
getConcept in interface ClassificationJAXRException - If the JAXR provider encounters an internal error
public 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 error
public ClassificationScheme getClassificationScheme()
throws JAXRException
getClassificationScheme in interface ClassificationJAXRException - If the JAXR provider encounters an internal errorClassificationScheme
public void setClassificationScheme(ClassificationScheme classificationScheme)
throws JAXRException
setClassificationScheme in interface ClassificationclassificationScheme - the ClassificationScheme used by this Classification
JAXRException - If the JAXR provider encounters an internal error
public 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 Classification
public RegistryObject getClassifiedObject()
throws JAXRException
getClassifiedObject in interface ClassificationJAXRException - If the JAXR provider encounters an internal error
public void setClassifiedObject(RegistryObject object)
throws JAXRException
setClassifiedObject in interface Classificationobject - the RegistryObject that is classified by this Classification
JAXRException - If the JAXR provider encounters an internal errorpublic boolean isExternal()
isExternal in interface Classificationtrue if this is an external Classification; false otherwise
public Key getKey()
throws JAXRException
getKey in interface RegistryObjectgetKey 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 | |||||||||