|
||||||||||
| 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
public abstract class RegistryObjectImpl
Implementation of RegistryObject interface
| Constructor Summary | |
|---|---|
RegistryObjectImpl()
Default constructor |
|
RegistryObjectImpl(Key key)
Utility constructor used when key is known |
|
RegistryObjectImpl(Key key,
String description,
String name)
Utility constructor used when key, name, and description are known |
|
| Method Summary | |
|---|---|
void |
addAssociation(Association association)
Adds specified Association to use this object as source. |
void |
addAssociations(Collection associations)
Adds specified Associations to use this object as source. |
void |
addClassification(Classification classification)
Adds specified Classification to this object. |
void |
addClassifications(Collection classifications)
Adds specified Classifications to this object. |
void |
addExternalIdentifier(ExternalIdentifier identifier)
Adds specified ExternalIdentifier to this object. |
void |
addExternalIdentifiers(Collection identifiers)
Adds specified ExternalIdentifiers to this object. |
void |
addExternalLink(ExternalLink link)
Adds specified ExternalLink to this object. |
void |
addExternalLinks(Collection links)
Adds specified ExternalLinks to this object. |
void |
addSlot(Slot slot)
Override superclass to set isModified |
void |
addSlots(Collection slots)
Override superclass to set isModified |
boolean |
areAssociationsLoaded()
Internal method to check if associations are loaded |
Collection |
getAssociatedObjects()
Level 1 method |
Collection |
getAssociations()
Gets all Associations where this object is source. |
Collection |
getAuditTrail()
Level 1 method |
Collection |
getClassifications()
Gets the Classification that classify this object. |
Connection |
getConnection()
Returns the Connection associated with this object. |
InternationalString |
getDescription()
Gets the context independent textual description for this object. |
Collection |
getExternalIdentifiers()
Returns the ExternalIdentifiers associated with this object. |
Collection |
getExternalLinks()
Returns the ExternalLinks associated with this object. |
Key |
getKey()
Get registry key identifying this object |
LifeCycleManager |
getLifeCycleManager()
Returns the LifeCycleManager that created this object. |
InternationalString |
getName()
Gets user friendly context independent name of object in repository. |
Concept |
getObjectType()
Level 1 method |
Collection |
getRegistryPackages()
Level 1 method |
RegistryService |
getRegistryService()
|
String |
getServiceId()
|
Organization |
getSubmittingOrganization()
Gets the Organization that submitted this RegistryObject. |
boolean |
isDeleted()
|
boolean |
isLoaded()
|
boolean |
isModified()
|
boolean |
isNew()
|
boolean |
isRetrieved()
|
void |
removeAssociation(Association association)
Removes specified Association from this object. |
void |
removeAssociations(Collection associations)
Removes specified Associations from this object. |
void |
removeClassification(Classification classification)
Removes specified Classification from this object. |
void |
removeClassifications(Collection classifications)
Removes specified Classifications from this object. |
void |
removeExternalIdentifier(ExternalIdentifier externalIdentifier)
Removes specified ExternalIdentifier from this object. |
void |
removeExternalIdentifiers(Collection externalIdentifiers)
Removes specified ExternalIdentifiers from this object. |
void |
removeExternalLink(ExternalLink externalLink)
Removes specified ExternalLink from this object. |
void |
removeExternalLinks(Collection externalLinks)
Removes specified ExternalLinks from this object. |
void |
removeSlot(String slotName)
Override superclass to set isModified |
void |
removeSlots(Collection slotNames)
Override superclass to set isModified |
void |
setAssociations(Collection associations)
Replaces all previous Associations from this object with specified Associations. |
void |
setAssociationsLoaded(boolean loaded)
Internal method to set if associations are loaded |
void |
setClassifications(Collection classifications)
Replaces all previous Classifications with specified Classififications. |
void |
setDescription(InternationalString description)
Set the desciption for the object |
void |
setExternalIdentifiers(Collection externalIdentifiers)
Replaces all previous ExternalIdentifiers with specified ExternalIdentifiers. |
void |
setExternalLinks(Collection links)
Sets specified ExternalLinks to this object. |
void |
setIsDeleted(boolean deleted)
|
void |
setIsLoaded(boolean loaded)
|
void |
setIsModified(boolean modified)
|
void |
setIsNew(boolean isNew)
|
void |
setIsRetrieved(boolean retrieved)
|
void |
setKey(Key key)
Set registry key on this object |
void |
setLifeCycleManager(LifeCycleManager manager)
Internal method for setting manager when object is created |
void |
setName(InternationalString name)
Set the name for the object |
void |
setObjectType(Concept objectType)
Level 1 method |
void |
setRegistryService(RegistryService service)
|
void |
setServiceId(String serviceId)
|
void |
setStatusFlags(boolean retrieved,
boolean loaded,
boolean isNew)
|
void |
setSubmittingOrganization(Organization org)
Internal method for setting submitting organization |
String |
toXML()
Implementation may choose to throw an UnsupportedCapabilityException. |
| 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 |
|---|
getSlot, getSlots |
| Constructor Detail |
|---|
public RegistryObjectImpl()
public RegistryObjectImpl(Key key)
public RegistryObjectImpl(Key key,
String description,
String name)
| Method Detail |
|---|
public void addSlot(Slot slot)
throws JAXRException
addSlot in interface ExtensibleObjectaddSlot in class ExtensibleObjectImplslot - the Slot object being added to this object
JAXRException - If the JAXR provider encounters an internal error
public void addSlots(Collection slots)
throws JAXRException
addSlots in interface ExtensibleObjectaddSlots in class ExtensibleObjectImplslots - the Collection of Slot objects being added to this object
JAXRException - If the JAXR provider encounters an internal error
public void removeSlot(String slotName)
throws JAXRException
removeSlot in interface ExtensibleObjectremoveSlot in class ExtensibleObjectImplslotName - the name for the Slot object being removed from this object
JAXRException - If the JAXR provider encounters an internal error
public void removeSlots(Collection slotNames)
throws JAXRException
removeSlots in interface ExtensibleObjectremoveSlots in class ExtensibleObjectImplslotNames - the Collection of names for Slot objects being removed from this object. Must be a Collection of Strings
JAXRException - If the JAXR provider encounters an internal error
public void addAssociation(Association association)
throws JAXRException
addAssociation in interface RegistryObjectassociation - the Association being added
JAXRException - If the JAXR provider encounters an internal error
public void addAssociations(Collection associations)
throws JAXRException
addAssociations in interface RegistryObjectassociations - the Collection of Associations being added
JAXRException - If the JAXR provider encounters an internal error
public void removeAssociation(Association association)
throws JAXRException
removeAssociation in interface RegistryObjectassociation - the Association being removed
JAXRException - If the JAXR provider encounters an internal error
public void removeAssociations(Collection associations)
throws JAXRException
removeAssociations in interface RegistryObjectassociations - the Collection of Associations being removed
JAXRException - If the JAXR provider encounters an internal error
public Collection getAssociations()
throws JAXRException
getAssociations in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal errorAssociation
public void setAssociations(Collection associations)
throws JAXRException
setAssociations in interface RegistryObjectassociations - the Collection of Associations being set
JAXRException - If the JAXR provider encounters an internal errorpublic void setAssociationsLoaded(boolean loaded)
public boolean areAssociationsLoaded()
public void addClassification(Classification classification)
throws JAXRException
addClassification in interface RegistryObjectclassification - the Classification being added
JAXRException - If the JAXR provider encounters an internal error
public void addClassifications(Collection classifications)
throws JAXRException
addClassifications in interface RegistryObjectclassifications - the Collection of Classifications being added
JAXRException - If the JAXR provider encounters an internal error
public void removeClassification(Classification classification)
throws JAXRException
removeClassification in interface RegistryObjectclassification - the Classification being removed
JAXRException - If the JAXR provider encounters an internal error
public void removeClassifications(Collection classifications)
throws JAXRException
removeClassifications in interface RegistryObjectclassifications - the Collection of Classifications being removed
JAXRException - If the JAXR provider encounters an internal error
public Collection getClassifications()
throws JAXRException
getClassifications in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal errorClassification
public void setClassifications(Collection classifications)
throws JAXRException
setClassifications in interface RegistryObjectclassifications - the Collection of Classifications being set
JAXRException - If the JAXR provider encounters an internal error
public void addExternalIdentifier(ExternalIdentifier identifier)
throws JAXRException
addExternalIdentifier in interface RegistryObjectidentifier - the ExternalIdentifier being added
JAXRException - If the JAXR provider encounters an internal error
public void addExternalIdentifiers(Collection identifiers)
throws JAXRException
addExternalIdentifiers in interface RegistryObjectidentifiers - the Collection of ExternalIdentifiers being added
JAXRException - If the JAXR provider encounters an internal error
public void removeExternalIdentifier(ExternalIdentifier externalIdentifier)
throws JAXRException
removeExternalIdentifier in interface RegistryObjectexternalIdentifier - the ExternalIdentifier being removed
JAXRException - If the JAXR provider encounters an internal error
public void removeExternalIdentifiers(Collection externalIdentifiers)
throws JAXRException
removeExternalIdentifiers in interface RegistryObjectexternalIdentifiers - the Collection of ExternalIdentifiers being removed
JAXRException - If the JAXR provider encounters an internal error
public Collection getExternalIdentifiers()
throws JAXRException
getExternalIdentifiers in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal errorExternalIdentifier
public void setExternalIdentifiers(Collection externalIdentifiers)
throws JAXRException
setExternalIdentifiers in interface RegistryObjectexternalIdentifiers - the Collection of ExternalIdentifiers being set
JAXRException - If the JAXR provider encounters an internal error
public void addExternalLink(ExternalLink link)
throws JAXRException
addExternalLink in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal error
public void addExternalLinks(Collection links)
throws JAXRException
addExternalLinks in interface RegistryObjectlinks - the Collection of ExternalLinks being added
JAXRException - If the JAXR provider encounters an internal error
public void removeExternalLink(ExternalLink externalLink)
throws JAXRException
removeExternalLink in interface RegistryObjectexternalLink - the ExternalLink being removed
JAXRException - If the JAXR provider encounters an internal error
public void removeExternalLinks(Collection externalLinks)
throws JAXRException
removeExternalLinks in interface RegistryObjectexternalLinks - the Collection of ExternalLinks being removed
JAXRException - If the JAXR provider encounters an internal error
public Collection getExternalLinks()
throws JAXRException
getExternalLinks in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal errorExternalLink
public void setExternalLinks(Collection links)
throws JAXRException
setExternalLinks in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal error
public InternationalString getDescription()
throws JAXRException
getDescription in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal error
public void setDescription(InternationalString description)
throws JAXRException
setDescription in interface RegistryObjectdescription - the description for this object
JAXRException - If the JAXR provider encounters an internal error
public InternationalString getName()
throws JAXRException
getName in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal error
public void setName(InternationalString name)
throws JAXRException
setName in interface RegistryObjectname - the name for this object
JAXRException - If the JAXR provider encounters an internal error
public Key getKey()
throws JAXRException
getKey in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal error
public void setKey(Key key)
throws JAXRException
setKey in interface RegistryObjectkey - the key for this object
JAXRException - If the JAXR provider encounters an internal error
public Organization getSubmittingOrganization()
throws JAXRException
RegistryObject
getSubmittingOrganization in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal error
public void setSubmittingOrganization(Organization org)
throws JAXRException
JAXRException
public Connection getConnection()
throws JAXRException
JAXRExceptionpublic LifeCycleManager getLifeCycleManager()
RegistryObject
getLifeCycleManager in interface RegistryObjectpublic void setLifeCycleManager(LifeCycleManager manager)
public void setServiceId(String serviceId)
public String getServiceId()
public void setRegistryService(RegistryService service)
public RegistryService getRegistryService()
public void setStatusFlags(boolean retrieved,
boolean loaded,
boolean isNew)
public boolean isLoaded()
public void setIsLoaded(boolean loaded)
public boolean isRetrieved()
public void setIsRetrieved(boolean retrieved)
public boolean isNew()
public void setIsNew(boolean isNew)
public boolean isModified()
public void setIsModified(boolean modified)
public boolean isDeleted()
public void setIsDeleted(boolean deleted)
public String toXML()
throws JAXRException
toXML in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal error
public Collection getAssociatedObjects()
throws JAXRException
getAssociatedObjects in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal errorRegistryObject
public Concept getObjectType()
throws JAXRException
getObjectType in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal error
public void setObjectType(Concept objectType)
throws JAXRException
JAXRException
public Collection getAuditTrail()
throws JAXRException
getAuditTrail in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal errorAuditableEvent
public Collection getRegistryPackages()
throws JAXRException
getRegistryPackages in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal errorRegistryPackage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||