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:
javax.xml.registry.infomodel.Classification, javax.xml.registry.infomodel.ExtensibleObject, javax.xml.registry.infomodel.RegistryObject

public class ClassificationImpl
extends RegistryObjectImpl
implements javax.xml.registry.infomodel.Classification

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

Author:
Anil Saldhana, Geir Magnusson Jr.

Constructor Summary
ClassificationImpl(javax.xml.registry.LifeCycleManager lifeCycleManager)
          Creates a new instance of ClassificationImpl
 
Method Summary
 javax.xml.registry.infomodel.ClassificationScheme getClassificationScheme()
           
 javax.xml.registry.infomodel.RegistryObject getClassifiedObject()
           
 javax.xml.registry.infomodel.Concept getConcept()
           
 java.lang.String getValue()
           
 boolean isExternal()
           
 void setClassificationScheme(javax.xml.registry.infomodel.ClassificationScheme cscheme)
           
 void setClassifiedObject(javax.xml.registry.infomodel.RegistryObject registryObject)
           
 void setConcept(javax.xml.registry.infomodel.Concept cpt)
           
 void setExternal(boolean b)
           
 void setValue(java.lang.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(javax.xml.registry.LifeCycleManager lifeCycleManager)
Creates a new instance of ClassificationImpl

Method Detail

getClassificationScheme

public javax.xml.registry.infomodel.ClassificationScheme getClassificationScheme()
                                                                          throws javax.xml.registry.JAXRException
Specified by:
getClassificationScheme in interface javax.xml.registry.infomodel.Classification
Throws:
javax.xml.registry.JAXRException

getClassifiedObject

public javax.xml.registry.infomodel.RegistryObject getClassifiedObject()
                                                                throws javax.xml.registry.JAXRException
Specified by:
getClassifiedObject in interface javax.xml.registry.infomodel.Classification
Throws:
javax.xml.registry.JAXRException

getConcept

public javax.xml.registry.infomodel.Concept getConcept()
                                                throws javax.xml.registry.JAXRException
Specified by:
getConcept in interface javax.xml.registry.infomodel.Classification
Throws:
javax.xml.registry.JAXRException

getValue

public java.lang.String getValue()
                          throws javax.xml.registry.JAXRException
Specified by:
getValue in interface javax.xml.registry.infomodel.Classification
Returns:
he value of the taxonomy element if external Classification; the value of the Concept representing the taxonomy element if internal Classification
Throws:
javax.xml.registry.JAXRException

setExternal

public void setExternal(boolean b)

isExternal

public boolean isExternal()
                   throws javax.xml.registry.JAXRException
Specified by:
isExternal in interface javax.xml.registry.infomodel.Classification
Throws:
javax.xml.registry.JAXRException

setClassificationScheme

public void setClassificationScheme(javax.xml.registry.infomodel.ClassificationScheme cscheme)
                             throws javax.xml.registry.JAXRException
Specified by:
setClassificationScheme in interface javax.xml.registry.infomodel.Classification
Throws:
javax.xml.registry.JAXRException

setClassifiedObject

public void setClassifiedObject(javax.xml.registry.infomodel.RegistryObject registryObject)
                         throws javax.xml.registry.JAXRException
Specified by:
setClassifiedObject in interface javax.xml.registry.infomodel.Classification
Throws:
javax.xml.registry.JAXRException

setConcept

public void setConcept(javax.xml.registry.infomodel.Concept cpt)
                throws javax.xml.registry.JAXRException
Specified by:
setConcept in interface javax.xml.registry.infomodel.Classification
Throws:
javax.xml.registry.JAXRException

setValue

public void setValue(java.lang.String str)
              throws javax.xml.registry.JAXRException
Specified by:
setValue in interface javax.xml.registry.infomodel.Classification
Throws:
javax.xml.registry.JAXRException


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.