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

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.AuditableEventImpl
All Implemented Interfaces:
javax.xml.registry.infomodel.AuditableEvent, javax.xml.registry.infomodel.ExtensibleObject, javax.xml.registry.infomodel.RegistryObject

public class AuditableEventImpl
extends RegistryObjectImpl
implements javax.xml.registry.infomodel.AuditableEvent

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.AuditableEvent
EVENT_TYPE_CREATED, EVENT_TYPE_DELETED, EVENT_TYPE_DEPRECATED, EVENT_TYPE_UNDEPRECATED, EVENT_TYPE_UPDATED, EVENT_TYPE_VERSIONED
 
Constructor Summary
AuditableEventImpl(LifeCycleManagerImpl lcm)
          ??eeg Looks like JAXR allows this to be created using LCM.createObject() and server allows such an object to be saved, but I'm not sure why anyone would want to do that.
AuditableEventImpl(LifeCycleManagerImpl lcm, org.oasis.ebxml.registry.bindings.rim.AuditableEventType ebAE)
           
 
Method Summary
 int getEventType()
           
 javax.xml.registry.infomodel.RegistryObject getRegistryObject()
           
 java.sql.Timestamp getTimestamp()
           
 javax.xml.registry.infomodel.User getUser()
           
 RegistryObjectRef getUserRef()
           
protected  void setBindingObject(org.oasis.ebxml.registry.bindings.rim.AuditableEventType ebOrg)
           
 org.oasis.ebxml.registry.bindings.rim.AuditableEvent 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, getName, getObjectType, 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.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
 
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
 

Constructor Detail

AuditableEventImpl

public AuditableEventImpl(LifeCycleManagerImpl lcm)
                   throws javax.xml.registry.JAXRException
??eeg Looks like JAXR allows this to be created using LCM.createObject() and server allows such an object to be saved, but I'm not sure why anyone would want to do that.


AuditableEventImpl

public AuditableEventImpl(LifeCycleManagerImpl lcm,
                          org.oasis.ebxml.registry.bindings.rim.AuditableEventType ebAE)
                   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

getUserRef

public RegistryObjectRef getUserRef()
                             throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

getUser

public javax.xml.registry.infomodel.User getUser()
                                          throws javax.xml.registry.JAXRException
Specified by:
getUser in interface javax.xml.registry.infomodel.AuditableEvent
Throws:
javax.xml.registry.JAXRException

getTimestamp

public java.sql.Timestamp getTimestamp()
                                throws javax.xml.registry.JAXRException
Specified by:
getTimestamp in interface javax.xml.registry.infomodel.AuditableEvent
Throws:
javax.xml.registry.JAXRException

getEventType

public int getEventType()
                 throws javax.xml.registry.JAXRException
Specified by:
getEventType in interface javax.xml.registry.infomodel.AuditableEvent
Throws:
javax.xml.registry.JAXRException

getRegistryObject

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

toBindingObject

public org.oasis.ebxml.registry.bindings.rim.AuditableEvent 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.AuditableEventType ebOrg)
                         throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException


Copyright © 2001-2004 OASIS. All Rights Reserved.