|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RegistryObject
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 |
---|
Key getKey() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorInternationalString getDescription() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setDescription(InternationalString description) throws JAXRException
description
- the description for this object
JAXRException
- If the JAXR provider encounters an internal errorInternationalString getName() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setName(InternationalString name) throws JAXRException
name
- the name for this object
JAXRException
- If the JAXR provider encounters an internal errorvoid setKey(Key key) throws JAXRException
key
- the key for this object
JAXRException
- If the JAXR provider encounters an internal errorString toXML() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid addClassification(Classification classification) throws JAXRException
classification
- the Classification being added
JAXRException
- If the JAXR provider encounters an internal errorvoid addClassifications(Collection classifications) throws JAXRException
classifications
- the Collection of Classifications being added
JAXRException
- If the JAXR provider encounters an internal errorvoid removeClassification(Classification classification) throws JAXRException
classification
- the Classification being removed
JAXRException
- If the JAXR provider encounters an internal errorvoid removeClassifications(Collection classifications) throws JAXRException
classifications
- the Collection of Classifications being removed
JAXRException
- If the JAXR provider encounters an internal errorvoid setClassifications(Collection classifications) throws JAXRException
classifications
- the Collection of Classifications being set
JAXRException
- If the JAXR provider encounters an internal errorCollection getClassifications() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorClassification
Collection getAuditTrail() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorAuditableEvent
void addAssociation(Association association) throws JAXRException
association
- the Association being added
JAXRException
- If the JAXR provider encounters an internal errorvoid addAssociations(Collection associations) throws JAXRException
associations
- the Collection of Associations being added
JAXRException
- If the JAXR provider encounters an internal errorvoid removeAssociation(Association association) throws JAXRException
association
- the Association being removed
JAXRException
- If the JAXR provider encounters an internal errorvoid removeAssociations(Collection associations) throws JAXRException
associations
- the Collection of Associations being removed
JAXRException
- If the JAXR provider encounters an internal errorvoid setAssociations(Collection associations) throws JAXRException
associations
- the Collection of Associations being set
JAXRException
- If the JAXR provider encounters an internal errorCollection getAssociations() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorAssociation
Collection getAssociatedObjects() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorRegistryObject
void addExternalIdentifier(ExternalIdentifier externalIdentifier) throws JAXRException
externalIdentifier
- the ExternalIdentifier being added
JAXRException
- If the JAXR provider encounters an internal errorvoid addExternalIdentifiers(Collection externalIdentifiers) throws JAXRException
externalIdentifiers
- the Collection of ExternalIdentifiers being added
JAXRException
- If the JAXR provider encounters an internal errorvoid removeExternalIdentifier(ExternalIdentifier externalIdentifier) throws JAXRException
externalIdentifier
- the ExternalIdentifier being removed
JAXRException
- If the JAXR provider encounters an internal errorvoid removeExternalIdentifiers(Collection externalIdentifiers) throws JAXRException
externalIdentifiers
- the Collection of ExternalIdentifiers being removed
JAXRException
- If the JAXR provider encounters an internal errorvoid setExternalIdentifiers(Collection externalIdentifiers) throws JAXRException
externalIdentifiers
- the Collection of ExternalIdentifiers being set
JAXRException
- If the JAXR provider encounters an internal errorCollection getExternalIdentifiers() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorExternalIdentifier
void addExternalLink(ExternalLink externalLink) throws JAXRException
externalLinks
- the ExternalLink being added
JAXRException
- If the JAXR provider encounters an internal errorvoid addExternalLinks(Collection externalLinks) throws JAXRException
externalLinks
- the Collection of ExternalLinks being added
JAXRException
- If the JAXR provider encounters an internal errorvoid removeExternalLink(ExternalLink externalLink) throws JAXRException
externalLink
- the ExternalLink being removed
JAXRException
- If the JAXR provider encounters an internal errorvoid removeExternalLinks(Collection externalLinks) throws JAXRException
externalLinks
- the Collection of ExternalLinks being removed
JAXRException
- If the JAXR provider encounters an internal errorvoid setExternalLinks(Collection externalLinks) throws JAXRException
externalLink
- the Collection of ExternalLinks being set
JAXRException
- If the JAXR provider encounters an internal errorCollection getExternalLinks() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorExternalLink
Concept getObjectType() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorOrganization getSubmittingOrganization() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorCollection getRegistryPackages() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorRegistryPackage
LifeCycleManager getLifeCycleManager() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal error
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.