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

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.RegistryEntryImpl
              extended bycom.sun.xml.registry.ebxml.infomodel.ExtrinsicObjectImpl
All Implemented Interfaces:
javax.xml.registry.infomodel.ExtensibleObject, javax.xml.registry.infomodel.ExtrinsicObject, javax.xml.registry.infomodel.RegistryEntry, javax.xml.registry.infomodel.RegistryObject, javax.xml.registry.infomodel.Versionable

public class ExtrinsicObjectImpl
extends RegistryEntryImpl
implements javax.xml.registry.infomodel.ExtrinsicObject

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
 
Fields inherited from interface javax.xml.registry.infomodel.RegistryEntry
STABILITY_DYNAMIC, STABILITY_DYNAMIC_COMPATIBLE, STABILITY_STATIC, STATUS_APPROVED, STATUS_DEPRECATED, STATUS_SUBMITTED, STATUS_WITHDRAWN
 
Constructor Summary
ExtrinsicObjectImpl(LifeCycleManagerImpl lcm)
           
ExtrinsicObjectImpl(LifeCycleManagerImpl lcm, org.oasis.ebxml.registry.bindings.rim.ExtrinsicObjectType ebExtrinsicObj)
           
 
Method Summary
 java.lang.String getContentURI()
           
 java.lang.String getMimeType()
           
 javax.xml.registry.infomodel.Concept getObjectType()
           
 javax.activation.DataHandler getRepositoryItem()
           
 boolean isOpaque()
           
protected  void setBindingObject(org.oasis.ebxml.registry.bindings.rim.ExtrinsicObjectType ebExtrinsicObj)
           
 void setMimeType(java.lang.String par1)
           
 void setObjectType(javax.xml.registry.infomodel.Concept objectType)
          Set the ObjectType of this ExtrinsicObject's repository item.
 void setObjectType(java.lang.String objectTypeStr)
          Set the ObjectType of this ExtrinsicObject's repository item.
 void setOpaque(boolean par1)
           
 void setRepositoryItem(javax.activation.DataHandler dataHandler)
           
 org.oasis.ebxml.registry.bindings.rim.ExtrinsicObject toBindingObject()
           
 java.lang.String toXML()
           
 
Methods inherited from class com.sun.xml.registry.ebxml.infomodel.RegistryEntryImpl
getExpiration, getMajorVersion, getMinorVersion, getStability, getStatus, getUserVersion, setBindingObject, setExpiration, setMajorVersion, setMinorVersion, setStability, setUserVersion
 
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, getName, getOwner, getRegistryObjectRefs, 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.RegistryEntry
getExpiration, getStability, getStatus, setExpiration, setStability
 
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, 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
 
Methods inherited from interface javax.xml.registry.infomodel.Versionable
getMajorVersion, getMinorVersion, getUserVersion, setMajorVersion, setMinorVersion, setUserVersion
 

Constructor Detail

ExtrinsicObjectImpl

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

ExtrinsicObjectImpl

public ExtrinsicObjectImpl(LifeCycleManagerImpl lcm,
                           org.oasis.ebxml.registry.bindings.rim.ExtrinsicObjectType ebExtrinsicObj)
                    throws javax.xml.registry.JAXRException
Method Detail

getObjectType

public javax.xml.registry.infomodel.Concept getObjectType()
                                                   throws javax.xml.registry.JAXRException
Specified by:
getObjectType in interface javax.xml.registry.infomodel.RegistryObject
Overrides:
getObjectType in class RegistryObjectImpl
Throws:
javax.xml.registry.JAXRException

setObjectType

public void setObjectType(java.lang.String objectTypeStr)
                   throws javax.xml.registry.JAXRException
Set the ObjectType of this ExtrinsicObject's repository item. This needs to be added to the JAXR 2.0 as an ExtrinsicObject method.

Parameters:
objectTypeStr - The ObjectType enumeration value as a String
Throws:
javax.xml.registry.JAXRException

setObjectType

public void setObjectType(javax.xml.registry.infomodel.Concept objectType)
                   throws javax.xml.registry.JAXRException
Set the ObjectType of this ExtrinsicObject's repository item. This needs to be added to the JAXR 2.0 as an ExtrinsicObject method.

Throws:
javax.xml.registry.JAXRException

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

getMimeType

public java.lang.String getMimeType()
                             throws javax.xml.registry.JAXRException
Specified by:
getMimeType in interface javax.xml.registry.infomodel.ExtrinsicObject
Throws:
javax.xml.registry.JAXRException

setMimeType

public void setMimeType(java.lang.String par1)
                 throws javax.xml.registry.JAXRException
Specified by:
setMimeType in interface javax.xml.registry.infomodel.ExtrinsicObject
Throws:
javax.xml.registry.JAXRException

isOpaque

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

setOpaque

public void setOpaque(boolean par1)
               throws javax.xml.registry.JAXRException
Specified by:
setOpaque in interface javax.xml.registry.infomodel.ExtrinsicObject
Throws:
javax.xml.registry.JAXRException

getContentURI

public java.lang.String getContentURI()
                               throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

getRepositoryItem

public javax.activation.DataHandler getRepositoryItem()
                                               throws javax.xml.registry.UnsupportedCapabilityException,
                                                      javax.xml.registry.JAXRException
Specified by:
getRepositoryItem in interface javax.xml.registry.infomodel.ExtrinsicObject
Throws:
javax.xml.registry.UnsupportedCapabilityException
javax.xml.registry.JAXRException

setRepositoryItem

public void setRepositoryItem(javax.activation.DataHandler dataHandler)
                       throws javax.xml.registry.UnsupportedCapabilityException,
                              javax.xml.registry.JAXRException
Specified by:
setRepositoryItem in interface javax.xml.registry.infomodel.ExtrinsicObject
Throws:
javax.xml.registry.UnsupportedCapabilityException
javax.xml.registry.JAXRException

toBindingObject

public org.oasis.ebxml.registry.bindings.rim.ExtrinsicObject toBindingObject()
                                                                      throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

setBindingObject

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


Copyright © 2001-2004 OASIS. All Rights Reserved.