com.sun.xml.registry.ebxml.infomodel
Class ClassificationImpl

java.lang.Object
  extended bycom.sun.xml.registry.ebxml.infomodel.ExtensibleObjectImpl
      extended bycom.sun.xml.registry.ebxml.infomodel.RegistryObjectImpl
          extended bycom.sun.xml.registry.ebxml.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

Class Declaration for Class1

Author:
Farrukh S. Najmi

Field Summary
 
Fields inherited from class com.sun.xml.registry.ebxml.infomodel.RegistryObjectImpl
associations, auditTrail, bqm, classifications, dqm, externalIds, externalLinks, name, objectType, objectTypeStr, packages
 
Fields inherited from class com.sun.xml.registry.ebxml.infomodel.ExtensibleObjectImpl
i18nUtil, lcm
 
Constructor Summary
ClassificationImpl(LifeCycleManagerImpl lcm)
           
ClassificationImpl(LifeCycleManagerImpl lcm, org.oasis.ebxml.registry.bindings.rim.ClassificationType ebClass, javax.xml.registry.infomodel.RegistryObject classifiedObject)
           
 
Method Summary
 javax.xml.registry.infomodel.ClassificationScheme getClassificationScheme()
           
 javax.xml.registry.infomodel.RegistryObject getClassifiedObject()
           
 javax.xml.registry.infomodel.Concept getConcept()
           
 javax.xml.registry.infomodel.InternationalString getName()
           
 java.util.HashSet getRegistryObjectRefs()
          Used by LifeCycleManagerImpl.saveObjects
 java.lang.String getValue()
           
 boolean isExternal()
           
protected  void setBindingObject(org.oasis.ebxml.registry.bindings.rim.ClassificationType ebClassification)
           
 void setClassificationScheme(javax.xml.registry.infomodel.ClassificationScheme scheme)
           
 void setClassifiedObject(javax.xml.registry.infomodel.RegistryObject ro)
           
 void setConcept(javax.xml.registry.infomodel.Concept concept)
           
 void setValue(java.lang.String par1)
           
 org.oasis.ebxml.registry.bindings.rim.Classification toBindingObject()
          This method takes this JAXR infomodel object and returns an equivalent binding object for it.
 java.lang.String toXML()
           
 
Methods inherited from class com.sun.xml.registry.ebxml.infomodel.RegistryObjectImpl
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, compareTo, equals, getAssociatedObjects, getAssociations, getAssociationsAndAssociatedObjects, getAuditTrail, getClassificationConceptsByPath, getClassifications, getComposedObjects, getDescription, getExternalIdentifiers, getExternalLinks, getId, getKey, getLifeCycleManager, getLog, getObjectType, getOwner, getRegistryPackages, getSubmittingOrganization, removeAllClassifications, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setBindingObject, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setModified, setName, toString
 
Methods inherited from class com.sun.xml.registry.ebxml.infomodel.ExtensibleObjectImpl
addSlot, addSlots, getBusinessQueryManager, getDeclarativeQueryManager, getSlot, getSlots, isModified, isNew, removeAllSlots, removeSlot, removeSlots, setLoaded, setNew, setSlots
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, 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, getObjectType, getRegistryPackages, getSubmittingOrganization, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setName
 
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
 

Constructor Detail

ClassificationImpl

public ClassificationImpl(LifeCycleManagerImpl lcm)
                   throws javax.xml.registry.JAXRException

ClassificationImpl

public ClassificationImpl(LifeCycleManagerImpl lcm,
                          org.oasis.ebxml.registry.bindings.rim.ClassificationType ebClass,
                          javax.xml.registry.infomodel.RegistryObject classifiedObject)
                   throws javax.xml.registry.JAXRException
Method Detail

toXML

public java.lang.String toXML()
                       throws javax.xml.registry.JAXRException
Specified by:
toXML in interface javax.xml.registry.infomodel.RegistryObject
Specified by:
toXML in class RegistryObjectImpl
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

setConcept

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

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

setClassificationScheme

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

getName

public javax.xml.registry.infomodel.InternationalString getName()
                                                         throws javax.xml.registry.JAXRException
Specified by:
getName in interface javax.xml.registry.infomodel.RegistryObject
Overrides:
getName in class RegistryObjectImpl
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
Throws:
javax.xml.registry.JAXRException

setValue

public void setValue(java.lang.String par1)
              throws javax.xml.registry.JAXRException
Specified by:
setValue 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

setClassifiedObject

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

isExternal

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

toBindingObject

public org.oasis.ebxml.registry.bindings.rim.Classification toBindingObject()
                                                                     throws javax.xml.registry.JAXRException
This method takes this JAXR infomodel object and returns an equivalent binding object for it. Note it does the reverse of one of the constructors above.

Throws:
javax.xml.registry.JAXRException

setBindingObject

protected void setBindingObject(org.oasis.ebxml.registry.bindings.rim.ClassificationType ebClassification)
                         throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

getRegistryObjectRefs

public java.util.HashSet getRegistryObjectRefs()
Used by LifeCycleManagerImpl.saveObjects

Overrides:
getRegistryObjectRefs in class RegistryObjectImpl


Copyright © 2001-2004 OASIS. All Rights Reserved.