org.apache.ws.scout.registry.infomodel
Class AssociationImpl

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.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

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

Author:
Anil Saldhana

Constructor Summary
AssociationImpl(javax.xml.registry.LifeCycleManager lifeCycleManager)
           
AssociationImpl(javax.xml.registry.LifeCycleManager lifeCycleManager, javax.xml.registry.infomodel.InternationalString n)
           
 
Method Summary
 javax.xml.registry.infomodel.Concept getAssociationType()
           
 javax.xml.registry.infomodel.Key getKey()
          There is an impedance mismatch as specified in the JAXR specification Section D-11
 javax.xml.registry.infomodel.RegistryObject getSourceObject()
           
 javax.xml.registry.infomodel.RegistryObject getTargetObject()
           
 boolean isConfirmed()
           
 boolean isConfirmedBySourceOwner()
           
 boolean isConfirmedByTargetOwner()
           
 boolean isExtramural()
           
 void setAssociationType(javax.xml.registry.infomodel.Concept concept)
           
 void setConfirmed(boolean b)
           
 void setConfirmedBySourceOwner(boolean b)
           
 void setConfirmedByTargetOwner(boolean b)
           
 void setExtramural(boolean b)
           
 void setSourceObject(javax.xml.registry.infomodel.RegistryObject ro)
           
 void setTargetObject(javax.xml.registry.infomodel.RegistryObject ro)
           
 
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, 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, 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

AssociationImpl

public AssociationImpl(javax.xml.registry.LifeCycleManager lifeCycleManager)

AssociationImpl

public AssociationImpl(javax.xml.registry.LifeCycleManager lifeCycleManager,
                       javax.xml.registry.infomodel.InternationalString n)
Method Detail

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

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

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

isConfirmed

public boolean isConfirmed()
                    throws javax.xml.registry.JAXRException
Specified by:
isConfirmed 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

isExtramural

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

setAssociationType

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

setSourceObject

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

setTargetObject

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

getKey

public javax.xml.registry.infomodel.Key getKey()
There is an impedance mismatch as specified in the JAXR specification Section D-11

Specified by:
getKey in interface javax.xml.registry.infomodel.RegistryObject
Overrides:
getKey in class RegistryObjectImpl

setConfirmed

public void setConfirmed(boolean b)

setConfirmedBySourceOwner

public void setConfirmedBySourceOwner(boolean b)

setConfirmedByTargetOwner

public void setConfirmedByTargetOwner(boolean b)

setExtramural

public void setExtramural(boolean b)


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