|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.registry.uddi.infomodel.ExtensibleObjectImpl
com.sun.xml.registry.uddi.infomodel.RegistryObjectImpl
com.sun.xml.registry.uddi.infomodel.AssociationImpl
public class AssociationImpl
Implementation of Association interface.
| Constructor Summary | |
|---|---|
AssociationImpl()
Default constructor |
|
AssociationImpl(RegistryObject targetObject,
Concept associationType)
|
|
| Method Summary | |
|---|---|
void |
createKey()
|
Concept |
getAssociationType()
Gets the predefined association type for this Association. |
RegistryObject |
getSourceObject()
Gets the Object that is the source of this Association. |
RegistryObject |
getTargetObject()
Gets the Object that is the target of this Association. |
boolean |
isConfirmed()
Convenience method that returns true if isConfirmedBySourceOwner and isConfirmedByTargetOwner both return true. |
boolean |
isConfirmedBySourceOwner()
Returns true if the association has been confirmed by the owner of the sourceObject. |
boolean |
isConfirmedByTargetOwner()
Returns true if the association has been confirmed by the owner of the targetObject. |
boolean |
isExtramural()
Returns true if the sourceObject and targetObject are owned by two different Users. |
void |
setAssociationType(Concept associationType)
Sets the predefined association type for this Association. |
void |
setIsConfirmedBySourceOwner(boolean confirmation)
Returns true if the association has been confirmed by the owner of the sourceObject. |
void |
setIsConfirmedByTargetOwner(boolean confirmation)
Returns true if the association has been confirmed by the owner of the targetObject. |
void |
setIsExtramural(boolean extramural)
Returns true if the sourceObject and targetObject are owned by two different Users. |
void |
setSourceObject(RegistryObject srcObject)
Sets the Object that is the source of this Association. |
void |
setTargetObject(RegistryObject targetObject)
Sets the Object that is the target of this Association. |
| Methods inherited from class com.sun.xml.registry.uddi.infomodel.ExtensibleObjectImpl |
|---|
getSlot, getSlots |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject |
|---|
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots |
| Constructor Detail |
|---|
public AssociationImpl()
public AssociationImpl(RegistryObject targetObject,
Concept associationType)
throws JAXRException
JAXRException| Method Detail |
|---|
public boolean isConfirmedBySourceOwner()
throws JAXRException
isConfirmedBySourceOwner in interface Associationtrue if the association has been confirmed by the owner of the sourceObject;
false otherwise. For intramural Associations always return true
JAXRException - If the JAXR provider encounters an internal error
public boolean isConfirmedByTargetOwner()
throws JAXRException
isConfirmedByTargetOwner in interface Associationtrue if the association has been confirmed by the owner of the targetObject;
false otherwise. For intramural Associations always return true
JAXRException - If the JAXR provider encounters an internal error
public void setIsConfirmedBySourceOwner(boolean confirmation)
throws JAXRException
JAXRException
public void setIsConfirmedByTargetOwner(boolean confirmation)
throws JAXRException
JAXRException
public boolean isConfirmed()
throws JAXRException
isConfirmed in interface Associationtrue if the isConfirmedBySourceOwner and isConfirmedByTargetOwner methods both return true;
false otherwise. For intramural Associations always return true
JAXRException - If the JAXR provider encounters an internal errorAssociation.isConfirmedBySourceOwner(),
Association.isConfirmedByTargetOwner()
public RegistryObject getSourceObject()
throws JAXRException
getSourceObject in interface AssociationJAXRException - If the JAXR provider encounters an internal error
public void setSourceObject(RegistryObject srcObject)
throws JAXRException
setSourceObject in interface AssociationsrcObject - the RegistryObject that is the source object of this Association
JAXRException - If the JAXR provider encounters an internal error
public RegistryObject getTargetObject()
throws JAXRException
getTargetObject in interface AssociationJAXRException - If the JAXR provider encounters an internal error
public void setTargetObject(RegistryObject targetObject)
throws JAXRException
setTargetObject in interface AssociationtargetObject - the RegistryObject that is the target object of this Association
JAXRException - If the JAXR provider encounters an internal error
public Concept getAssociationType()
throws JAXRException
getAssociationType in interface AssociationJAXRException - If the JAXR provider encounters an internal error
public void setAssociationType(Concept associationType)
throws JAXRException
setAssociationType in interface AssociationassociationType - the association type for this Association which is a Concept in the AssociationType ClassificationScheme
JAXRException - If the JAXR provider encounters an internal error
public boolean isExtramural()
throws JAXRException
isExtramural in interface Associationtrue if the sourceObject and/or the targetObject are
owned by a User that is different from the User that created the Association;
false otherwise
JAXRException - If the JAXR provider encounters an internal error
public void setIsExtramural(boolean extramural)
throws JAXRException
JAXRException
public void createKey()
throws JAXRException
JAXRException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||