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

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

public class AssociationImpl
extends RegistryObjectImpl
implements javax.xml.registry.infomodel.Association

Class Declaration for Class1

Author:
Farrukh S. Najmi

Field Summary
static java.lang.String ASSOCIATION_TYPE_CONTAINS
           
static java.lang.String ASSOCIATION_TYPE_CONTENT_MANAGEMENT_SERVICE_FOR
           
static java.lang.String ASSOCIATION_TYPE_EQUIVALENT_TO
           
static java.lang.String ASSOCIATION_TYPE_EXTENDS
           
static java.lang.String ASSOCIATION_TYPE_EXTERNALLY_LINKS
           
static java.lang.String ASSOCIATION_TYPE_HAS_FEDERATION_MEMBER
           
static java.lang.String ASSOCIATION_TYPE_HAS_MEMBER
           
static java.lang.String ASSOCIATION_TYPE_IMPLEMENTS
           
static java.lang.String ASSOCIATION_TYPE_INSTANCE_OF
           
static java.lang.String ASSOCIATION_TYPE_INVOCATION_CONTROL_FILE_FOR
           
static java.lang.String ASSOCIATION_TYPE_OFFERS_SERVICE
           
static java.lang.String ASSOCIATION_TYPE_RELATED_TO
           
static java.lang.String ASSOCIATION_TYPE_REPLACES
           
static java.lang.String ASSOCIATION_TYPE_RESPONSIBLE_FOR
           
static java.lang.String ASSOCIATION_TYPE_SUBMITTER_OF
           
static java.lang.String ASSOCIATION_TYPE_SUPERSEDES
           
static java.lang.String ASSOCIATION_TYPE_USES
           
static java.lang.String CANONICAL_ID_NODE_ASSOCIATION_TYPE_EXTERNALLY_LINKS
           
 
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
AssociationImpl(LifeCycleManagerImpl lcm)
           
AssociationImpl(LifeCycleManagerImpl lcm, org.oasis.ebxml.registry.bindings.rim.AssociationType1 ebAss)
           
 
Method Summary
 javax.xml.registry.infomodel.Concept getAssociationType()
           
 java.util.HashSet getRegistryObjectRefs()
          Used by LifeCycleManagerImpl.saveObjects
 javax.xml.registry.infomodel.RegistryObject getSourceObject()
           
 RegistryObjectRef getSourceObjectRef()
           
 javax.xml.registry.infomodel.RegistryObject getTargetObject()
           
 RegistryObjectRef getTargetObjectRef()
           
 boolean isConfirmed()
           
 boolean isConfirmedBySourceOwner()
           
 boolean isConfirmedByTargetOwner()
           
 boolean isExtramural()
           
 void setAssociationType(javax.xml.registry.infomodel.Concept par1)
           
protected  void setBindingObject(org.oasis.ebxml.registry.bindings.rim.AssociationType1 ebAssociation)
           
 void setSourceObject(javax.xml.registry.infomodel.RegistryObject sourceObject)
           
 void setSourceObjectRef(RegistryObjectRef sourceObjectRef)
           
 void setTargetObject(javax.xml.registry.infomodel.RegistryObject targetObject)
           
 void setTargetObjectRef(RegistryObjectRef targetObjectRef)
           
 org.oasis.ebxml.registry.bindings.rim.Association 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, 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
 

Field Detail

ASSOCIATION_TYPE_RELATED_TO

public static final java.lang.String ASSOCIATION_TYPE_RELATED_TO
See Also:
Constant Field Values

ASSOCIATION_TYPE_HAS_FEDERATION_MEMBER

public static final java.lang.String ASSOCIATION_TYPE_HAS_FEDERATION_MEMBER
See Also:
Constant Field Values

ASSOCIATION_TYPE_HAS_MEMBER

public static final java.lang.String ASSOCIATION_TYPE_HAS_MEMBER
See Also:
Constant Field Values

ASSOCIATION_TYPE_EXTERNALLY_LINKS

public static final java.lang.String ASSOCIATION_TYPE_EXTERNALLY_LINKS
See Also:
Constant Field Values

ASSOCIATION_TYPE_CONTAINS

public static final java.lang.String ASSOCIATION_TYPE_CONTAINS
See Also:
Constant Field Values

ASSOCIATION_TYPE_EQUIVALENT_TO

public static final java.lang.String ASSOCIATION_TYPE_EQUIVALENT_TO
See Also:
Constant Field Values

ASSOCIATION_TYPE_EXTENDS

public static final java.lang.String ASSOCIATION_TYPE_EXTENDS
See Also:
Constant Field Values

ASSOCIATION_TYPE_IMPLEMENTS

public static final java.lang.String ASSOCIATION_TYPE_IMPLEMENTS
See Also:
Constant Field Values

ASSOCIATION_TYPE_INSTANCE_OF

public static final java.lang.String ASSOCIATION_TYPE_INSTANCE_OF
See Also:
Constant Field Values

ASSOCIATION_TYPE_SUPERSEDES

public static final java.lang.String ASSOCIATION_TYPE_SUPERSEDES
See Also:
Constant Field Values

ASSOCIATION_TYPE_USES

public static final java.lang.String ASSOCIATION_TYPE_USES
See Also:
Constant Field Values

ASSOCIATION_TYPE_REPLACES

public static final java.lang.String ASSOCIATION_TYPE_REPLACES
See Also:
Constant Field Values

ASSOCIATION_TYPE_SUBMITTER_OF

public static final java.lang.String ASSOCIATION_TYPE_SUBMITTER_OF
See Also:
Constant Field Values

ASSOCIATION_TYPE_RESPONSIBLE_FOR

public static final java.lang.String ASSOCIATION_TYPE_RESPONSIBLE_FOR
See Also:
Constant Field Values

ASSOCIATION_TYPE_OFFERS_SERVICE

public static final java.lang.String ASSOCIATION_TYPE_OFFERS_SERVICE
See Also:
Constant Field Values

ASSOCIATION_TYPE_CONTENT_MANAGEMENT_SERVICE_FOR

public static final java.lang.String ASSOCIATION_TYPE_CONTENT_MANAGEMENT_SERVICE_FOR
See Also:
Constant Field Values

ASSOCIATION_TYPE_INVOCATION_CONTROL_FILE_FOR

public static final java.lang.String ASSOCIATION_TYPE_INVOCATION_CONTROL_FILE_FOR
See Also:
Constant Field Values

CANONICAL_ID_NODE_ASSOCIATION_TYPE_EXTERNALLY_LINKS

public static final java.lang.String CANONICAL_ID_NODE_ASSOCIATION_TYPE_EXTERNALLY_LINKS
See Also:
Constant Field Values
Constructor Detail

AssociationImpl

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

AssociationImpl

public AssociationImpl(LifeCycleManagerImpl lcm,
                       org.oasis.ebxml.registry.bindings.rim.AssociationType1 ebAss)
                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

getSourceObjectRef

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

getSourceObject

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

setSourceObject

public void setSourceObject(javax.xml.registry.infomodel.RegistryObject sourceObject)
                     throws javax.xml.registry.JAXRException
Specified by:
setSourceObject in interface javax.xml.registry.infomodel.Association
Throws:
javax.xml.registry.JAXRException

setSourceObjectRef

public void setSourceObjectRef(RegistryObjectRef sourceObjectRef)
                        throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

getTargetObjectRef

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

getTargetObject

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

setTargetObject

public void setTargetObject(javax.xml.registry.infomodel.RegistryObject targetObject)
                     throws javax.xml.registry.JAXRException
Specified by:
setTargetObject in interface javax.xml.registry.infomodel.Association
Throws:
javax.xml.registry.JAXRException

setTargetObjectRef

public void setTargetObjectRef(RegistryObjectRef targetObjectRef)
                        throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

getAssociationType

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

setAssociationType

public void setAssociationType(javax.xml.registry.infomodel.Concept par1)
                        throws javax.xml.registry.JAXRException
Specified by:
setAssociationType in interface javax.xml.registry.infomodel.Association
Throws:
javax.xml.registry.JAXRException

isExtramural

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

isConfirmedBySourceOwner

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

isConfirmedByTargetOwner

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

isConfirmed

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

toBindingObject

public org.oasis.ebxml.registry.bindings.rim.Association 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.AssociationType1 ebAssociation)
                         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.