|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The RegistryObject class is an abstract base class used by most classes in the model. It provides minimal metadata for registry objects. It also provides methods for accessing related objects that provide additional dynamic metadata for the registry object.
RegistryEntry
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 externalIdentifier)
Adds specified ExternalIdentifier as an external identifier to this object. |
void |
addExternalIdentifiers(Collection externalIdentifiers)
Adds specified ExternalIdentifiers as an external identifiers to this object. |
void |
addExternalLink(ExternalLink externalLink)
Adds specified ExternalLink to this object. |
void |
addExternalLinks(Collection externalLinks)
Adds specified ExternalLinks to this object. |
Collection |
getAssociatedObjects()
Returns the collection of RegistryObject instances associated with this object. |
Collection |
getAssociations()
Gets all Associations where this object is source. |
Collection |
getAuditTrail()
Returns the complete audit trail of all requests that effected a state change in this object as an ordered Collection of AuditableEvent objects. |
Collection |
getClassifications()
Gets the Classification instances that classify this object. |
InternationalString |
getDescription()
Gets the textual description for this object. |
Collection |
getExternalIdentifiers()
Returns the ExternalIdentifiers associated with this object that are external identifiers for this object. |
Collection |
getExternalLinks()
Returns the ExternalLinks associated with this object. |
Key |
getKey()
Gets the key representing the universally unique ID (UUID) for this object. |
LifeCycleManager |
getLifeCycleManager()
Returns the LifeCycleManager that created this object. |
InternationalString |
getName()
Gets the user-friendly name of this object. |
Concept |
getObjectType()
Gets the object type that best describes the RegistryObject. |
Collection |
getRegistryPackages()
Returns the Package associated with this object. |
Organization |
getSubmittingOrganization()
Gets the Organization that submitted this RegistryObject. |
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 as an external identifier from this object. |
void |
removeExternalIdentifiers(Collection externalIdentifiers)
Removes specified ExternalIdentifiers as an external identifiers from this object. |
void |
removeExternalLink(ExternalLink externalLink)
Removes specified ExternalLink from this object. |
void |
removeExternalLinks(Collection externalLinks)
Removes specified ExternalLinks from this object. |
void |
setAssociations(Collection associations)
Replaces all previous Associations from this object with specified Associations. |
void |
setClassifications(Collection classifications)
Replaces all previous Classifications with specified Classifications. |
void |
setDescription(InternationalString description)
Sets the context independent textual description for this object. |
void |
setExternalIdentifiers(Collection externalIdentifiers)
Replaces all previous external identifiers with specified Collection of ExternalIdentifiers as an external identifier. |
void |
setExternalLinks(Collection externalLinks)
Replaces all previous ExternalLinks with specified ExternalLinks. |
void |
setKey(Key key)
Sets the key representing the universally unique ID (UUID) for this object. |
void |
setName(InternationalString name)
Sets user-friendly name of object in repository. |
String |
toXML()
Returns a registry provider specific XML representation of this Object. |
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject |
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots |
Method Detail |
public Key getKey() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic InternationalString getDescription() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic void setDescription(InternationalString description) throws JAXRException
description
- the description for this object
JAXRException
- If the JAXR provider encounters an internal errorpublic InternationalString getName() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic void setName(InternationalString name) throws JAXRException
name
- the name for this object
JAXRException
- If the JAXR provider encounters an internal errorpublic void setKey(Key key) throws JAXRException
key
- the key for this object
JAXRException
- If the JAXR provider encounters an internal errorpublic String toXML() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic void addClassification(Classification classification) throws JAXRException
classification
- the Classification being added
JAXRException
- If the JAXR provider encounters an internal errorpublic void addClassifications(Collection classifications) throws JAXRException
classifications
- the Collection of Classifications being added
JAXRException
- If the JAXR provider encounters an internal errorpublic void removeClassification(Classification classification) throws JAXRException
classification
- the Classification being removed
JAXRException
- If the JAXR provider encounters an internal errorpublic void removeClassifications(Collection classifications) throws JAXRException
classifications
- the Collection of Classifications being removed
JAXRException
- If the JAXR provider encounters an internal errorpublic void setClassifications(Collection classifications) throws JAXRException
classifications
- the Collection of Classifications being set
JAXRException
- If the JAXR provider encounters an internal errorpublic Collection getClassifications() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorClassification
public Collection getAuditTrail() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorAuditableEvent
public void addAssociation(Association association) throws JAXRException
association
- the Association being added
JAXRException
- If the JAXR provider encounters an internal errorpublic void addAssociations(Collection associations) throws JAXRException
associations
- the Collection of Associations being added
JAXRException
- If the JAXR provider encounters an internal errorpublic void removeAssociation(Association association) throws JAXRException
association
- the Association being removed
JAXRException
- If the JAXR provider encounters an internal errorpublic void removeAssociations(Collection associations) throws JAXRException
associations
- the Collection of Associations being removed
JAXRException
- If the JAXR provider encounters an internal errorpublic void setAssociations(Collection associations) throws JAXRException
associations
- the Collection of Associations being set
JAXRException
- If the JAXR provider encounters an internal errorpublic Collection getAssociations() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorAssociation
public Collection getAssociatedObjects() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorRegistryObject
public void addExternalIdentifier(ExternalIdentifier externalIdentifier) throws JAXRException
externalIdentifier
- the ExternalIdentifier being added
JAXRException
- If the JAXR provider encounters an internal errorpublic void addExternalIdentifiers(Collection externalIdentifiers) throws JAXRException
externalIdentifiers
- the Collection of ExternalIdentifiers being added
JAXRException
- If the JAXR provider encounters an internal errorpublic void removeExternalIdentifier(ExternalIdentifier externalIdentifier) throws JAXRException
externalIdentifier
- the ExternalIdentifier being removed
JAXRException
- If the JAXR provider encounters an internal errorpublic void removeExternalIdentifiers(Collection externalIdentifiers) throws JAXRException
externalIdentifiers
- the Collection of ExternalIdentifiers being removed
JAXRException
- If the JAXR provider encounters an internal errorpublic void setExternalIdentifiers(Collection externalIdentifiers) throws JAXRException
externalIdentifiers
- the Collection of ExternalIdentifiers being set
JAXRException
- If the JAXR provider encounters an internal errorpublic Collection getExternalIdentifiers() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorExternalIdentifier
public void addExternalLink(ExternalLink externalLink) throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic void addExternalLinks(Collection externalLinks) throws JAXRException
externalLinks
- the Collection of ExternalLinks being added
JAXRException
- If the JAXR provider encounters an internal errorpublic void removeExternalLink(ExternalLink externalLink) throws JAXRException
externalLink
- the ExternalLink being removed
JAXRException
- If the JAXR provider encounters an internal errorpublic void removeExternalLinks(Collection externalLinks) throws JAXRException
externalLinks
- the Collection of ExternalLinks being removed
JAXRException
- If the JAXR provider encounters an internal errorpublic void setExternalLinks(Collection externalLinks) throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic Collection getExternalLinks() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorExternalLink
public Concept getObjectType() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic Organization getSubmittingOrganization() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic Collection getRegistryPackages() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorRegistryPackage
public LifeCycleManager getLifeCycleManager() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal error
|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.