public abstract class RegistryObjectImpl extends ExtensibleObjectImpl implements RegistryObject, Serializable
| Constructor and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getSlot, getSlotsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSlot, getSlotspublic RegistryObjectImpl()
public RegistryObjectImpl(Key key)
public void addSlot(Slot slot) throws JAXRException
addSlot in interface ExtensibleObjectaddSlot in class ExtensibleObjectImplslot - the Slot object being added to this objectJAXRException - If the JAXR provider encounters an internal errorpublic void addSlots(Collection slots) throws JAXRException
addSlots in interface ExtensibleObjectaddSlots in class ExtensibleObjectImplslots - the Collection of Slot objects being added to this objectJAXRException - If the JAXR provider encounters an internal errorpublic void removeSlot(String slotName) throws JAXRException
removeSlot in interface ExtensibleObjectremoveSlot in class ExtensibleObjectImplslotName - the name for the Slot object being removed from this objectJAXRException - If the JAXR provider encounters an internal errorpublic 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 StringsJAXRException - If the JAXR provider encounters an internal errorpublic void addAssociation(Association association) throws JAXRException
addAssociation in interface RegistryObjectassociation - the Association being addedJAXRException - If the JAXR provider encounters an internal errorpublic void addAssociations(Collection associations) throws JAXRException
addAssociations in interface RegistryObjectassociations - the Collection of Associations being addedJAXRException - If the JAXR provider encounters an internal errorpublic void removeAssociation(Association association) throws JAXRException
removeAssociation in interface RegistryObjectassociation - the Association being removedJAXRException - If the JAXR provider encounters an internal errorpublic void removeAssociations(Collection associations) throws JAXRException
removeAssociations in interface RegistryObjectassociations - the Collection of Associations being removedJAXRException - If the JAXR provider encounters an internal errorpublic Collection getAssociations() throws JAXRException
getAssociations in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal errorAssociationpublic void setAssociations(Collection associations) throws JAXRException
setAssociations in interface RegistryObjectassociations - the Collection of Associations being setJAXRException - 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 addedJAXRException - If the JAXR provider encounters an internal errorpublic void addClassifications(Collection classifications) throws JAXRException
addClassifications in interface RegistryObjectclassifications - the Collection of Classifications being addedJAXRException - If the JAXR provider encounters an internal errorpublic void removeClassification(Classification classification) throws JAXRException
removeClassification in interface RegistryObjectclassification - the Classification being removedJAXRException - If the JAXR provider encounters an internal errorpublic void removeClassifications(Collection classifications) throws JAXRException
removeClassifications in interface RegistryObjectclassifications - the Collection of Classifications being removedJAXRException - If the JAXR provider encounters an internal errorpublic Collection getClassifications() throws JAXRException
getClassifications in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal errorClassificationpublic void setClassifications(Collection classifications) throws JAXRException
setClassifications in interface RegistryObjectclassifications - the Collection of Classifications being setJAXRException - If the JAXR provider encounters an internal errorpublic void addExternalIdentifier(ExternalIdentifier identifier) throws JAXRException
addExternalIdentifier in interface RegistryObjectidentifier - the ExternalIdentifier being addedJAXRException - If the JAXR provider encounters an internal errorpublic void addExternalIdentifiers(Collection identifiers) throws JAXRException
addExternalIdentifiers in interface RegistryObjectidentifiers - the Collection of ExternalIdentifiers being addedJAXRException - If the JAXR provider encounters an internal errorpublic void removeExternalIdentifier(ExternalIdentifier externalIdentifier) throws JAXRException
removeExternalIdentifier in interface RegistryObjectexternalIdentifier - the ExternalIdentifier being removedJAXRException - If the JAXR provider encounters an internal errorpublic void removeExternalIdentifiers(Collection externalIdentifiers) throws JAXRException
removeExternalIdentifiers in interface RegistryObjectexternalIdentifiers - the Collection of ExternalIdentifiers being removedJAXRException - If the JAXR provider encounters an internal errorpublic Collection getExternalIdentifiers() throws JAXRException
getExternalIdentifiers in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal errorExternalIdentifierpublic void setExternalIdentifiers(Collection externalIdentifiers) throws JAXRException
setExternalIdentifiers in interface RegistryObjectexternalIdentifiers - the Collection of ExternalIdentifiers being setJAXRException - If the JAXR provider encounters an internal errorpublic void addExternalLink(ExternalLink link) throws JAXRException
addExternalLink in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal errorpublic void addExternalLinks(Collection links) throws JAXRException
addExternalLinks in interface RegistryObjectlinks - the Collection of ExternalLinks being addedJAXRException - If the JAXR provider encounters an internal errorpublic void removeExternalLink(ExternalLink externalLink) throws JAXRException
removeExternalLink in interface RegistryObjectexternalLink - the ExternalLink being removedJAXRException - If the JAXR provider encounters an internal errorpublic void removeExternalLinks(Collection externalLinks) throws JAXRException
removeExternalLinks in interface RegistryObjectexternalLinks - the Collection of ExternalLinks being removedJAXRException - If the JAXR provider encounters an internal errorpublic Collection getExternalLinks() throws JAXRException
getExternalLinks in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal errorExternalLinkpublic void setExternalLinks(Collection links) throws JAXRException
setExternalLinks in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal errorpublic InternationalString getDescription() throws JAXRException
getDescription in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal errorpublic void setDescription(InternationalString description) throws JAXRException
setDescription in interface RegistryObjectdescription - the description for this objectJAXRException - If the JAXR provider encounters an internal errorpublic InternationalString getName() throws JAXRException
getName in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal errorpublic void setName(InternationalString name) throws JAXRException
setName in interface RegistryObjectname - the name for this objectJAXRException - If the JAXR provider encounters an internal errorpublic Key getKey() throws JAXRException
getKey in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal errorpublic void setKey(Key key) throws JAXRException
setKey in interface RegistryObjectkey - the key for this objectJAXRException - If the JAXR provider encounters an internal errorpublic Organization getSubmittingOrganization() throws JAXRException
RegistryObjectgetSubmittingOrganization in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal errorpublic void setSubmittingOrganization(Organization org) throws JAXRException
JAXRExceptionpublic Connection getConnection() throws JAXRException
JAXRExceptionpublic LifeCycleManager getLifeCycleManager()
RegistryObjectgetLifeCycleManager 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 errorpublic Collection getAssociatedObjects() throws JAXRException
getAssociatedObjects in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal errorRegistryObjectpublic Concept getObjectType() throws JAXRException
getObjectType in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal errorpublic void setObjectType(Concept objectType) throws JAXRException
JAXRExceptionpublic Collection getAuditTrail() throws JAXRException
getAuditTrail in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal errorAuditableEventpublic Collection getRegistryPackages() throws JAXRException
getRegistryPackages in interface RegistryObjectJAXRException - If the JAXR provider encounters an internal errorRegistryPackageCopyright © 2005–2017 Oracle Corporation. All rights reserved.