org.apache.ws.scout.registry.infomodel
Class AssociationImpl
java.lang.Object
org.apache.ws.scout.registry.infomodel.ExtensibleObjectImpl
org.apache.ws.scout.registry.infomodel.RegistryObjectImpl
org.apache.ws.scout.registry.infomodel.AssociationImpl
- All Implemented Interfaces:
- Association, ExtensibleObject, RegistryObject
public class AssociationImpl
- extends RegistryObjectImpl
- implements Association
Implements JAXR Association Interface.
For futher details, look into the JAXR API Javadoc.
- Author:
- Anil Saldhana
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 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 |
AssociationImpl
public AssociationImpl(LifeCycleManager lifeCycleManager)
AssociationImpl
public AssociationImpl(LifeCycleManager lifeCycleManager,
InternationalString n)
getAssociationType
public Concept getAssociationType()
throws JAXRException
- Specified by:
getAssociationType
in interface Association
- Throws:
JAXRException
getSourceObject
public RegistryObject getSourceObject()
throws JAXRException
- Specified by:
getSourceObject
in interface Association
- Throws:
JAXRException
getTargetObject
public RegistryObject getTargetObject()
throws JAXRException
- Specified by:
getTargetObject
in interface Association
- Throws:
JAXRException
isConfirmed
public boolean isConfirmed()
throws JAXRException
- Specified by:
isConfirmed
in interface Association
- Throws:
JAXRException
isConfirmedBySourceOwner
public boolean isConfirmedBySourceOwner()
throws JAXRException
- Specified by:
isConfirmedBySourceOwner
in interface Association
- Throws:
JAXRException
isConfirmedByTargetOwner
public boolean isConfirmedByTargetOwner()
throws JAXRException
- Specified by:
isConfirmedByTargetOwner
in interface Association
- Throws:
JAXRException
isExtramural
public boolean isExtramural()
throws JAXRException
- Specified by:
isExtramural
in interface Association
- Throws:
JAXRException
setAssociationType
public void setAssociationType(Concept concept)
throws JAXRException
- Specified by:
setAssociationType
in interface Association
- Throws:
JAXRException
setSourceObject
public void setSourceObject(RegistryObject ro)
throws JAXRException
- Specified by:
setSourceObject
in interface Association
- Throws:
JAXRException
setTargetObject
public void setTargetObject(RegistryObject ro)
throws JAXRException
- Specified by:
setTargetObject
in interface Association
- Throws:
JAXRException
getKey
public Key getKey()
- There is an impedance mismatch as specified in the JAXR specification
Section D-11
- Specified by:
getKey
in interface 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-2011 Apache Software Foundation. All Rights Reserved.