org.apache.ws.scout.registry.infomodel
Class ClassificationImpl

java.lang.Object
  extended by org.apache.ws.scout.registry.infomodel.ExtensibleObjectImpl
      extended by org.apache.ws.scout.registry.infomodel.RegistryObjectImpl
          extended by org.apache.ws.scout.registry.infomodel.ClassificationImpl
All Implemented Interfaces:
Classification, ExtensibleObject, RegistryObject

public class ClassificationImpl
extends RegistryObjectImpl
implements Classification

Implements JAXR Classification Interface. For futher details, look into the JAXR API Javadoc.

Author:
Anil Saldhana, Geir Magnusson Jr.

Constructor Summary
ClassificationImpl(LifeCycleManager lifeCycleManager)
          Creates a new instance of ClassificationImpl
 
Method Summary
 ClassificationScheme getClassificationScheme()
           
 RegistryObject getClassifiedObject()
           
 Concept getConcept()
           
 String getValue()
           
 boolean isExternal()
           
 void setClassificationScheme(ClassificationScheme cscheme)
           
 void setClassifiedObject(RegistryObject registryObject)
           
 void setConcept(Concept cpt)
           
 void setExternal(boolean b)
           
 void setValue(String str)
           
 
Methods inherited from class org.apache.ws.scout.registry.infomodel.RegistryObjectImpl
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, equals, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getSubmittingOrganization, hashCode, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setName, toXML
 
Methods inherited from class org.apache.ws.scout.registry.infomodel.ExtensibleObjectImpl
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.xml.registry.infomodel.RegistryObject
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, 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, setExternalLinks, setKey, setName, toXML
 
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
 

Constructor Detail

ClassificationImpl

public ClassificationImpl(LifeCycleManager lifeCycleManager)
Creates a new instance of ClassificationImpl

Method Detail

getClassificationScheme

public ClassificationScheme getClassificationScheme()
                                             throws JAXRException
Specified by:
getClassificationScheme in interface Classification
Throws:
JAXRException

getClassifiedObject

public RegistryObject getClassifiedObject()
                                   throws JAXRException
Specified by:
getClassifiedObject in interface Classification
Throws:
JAXRException

getConcept

public Concept getConcept()
                   throws JAXRException
Specified by:
getConcept in interface Classification
Throws:
JAXRException

getValue

public String getValue()
                throws JAXRException
Specified by:
getValue in interface Classification
Returns:
he value of the taxonomy element if external Classification; the value of the Concept representing the taxonomy element if internal Classification
Throws:
JAXRException

setExternal

public void setExternal(boolean b)

isExternal

public boolean isExternal()
                   throws JAXRException
Specified by:
isExternal in interface Classification
Throws:
JAXRException

setClassificationScheme

public void setClassificationScheme(ClassificationScheme cscheme)
                             throws JAXRException
Specified by:
setClassificationScheme in interface Classification
Throws:
JAXRException

setClassifiedObject

public void setClassifiedObject(RegistryObject registryObject)
                         throws JAXRException
Specified by:
setClassifiedObject in interface Classification
Throws:
JAXRException

setConcept

public void setConcept(Concept cpt)
                throws JAXRException
Specified by:
setConcept in interface Classification
Throws:
JAXRException

setValue

public void setValue(String str)
              throws JAXRException
Specified by:
setValue in interface Classification
Throws:
JAXRException


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.