-
- All Superinterfaces:
- ExtensibleObject, RegistryEntry, RegistryObject, Versionable
public interface RegistryPackage extends RegistryEntry
RegistryPackage instances are RegistryEntries that group logically related RegistryEntries together. A package may contain any number of RegistryObjects. A RegistryObject may be a member of any number of Packages.- Author:
- Farrukh S. Najmi
- See Also:
RegistryObject
-
-
Field Summary
-
Fields inherited from interface javax.xml.registry.infomodel.RegistryEntry
STABILITY_DYNAMIC, STABILITY_DYNAMIC_COMPATIBLE, STABILITY_STATIC, STATUS_APPROVED, STATUS_DEPRECATED, STATUS_SUBMITTED, STATUS_WITHDRAWN
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
addRegistryObject(RegistryObject registryObject)
Adds a child RegistryObject as member.void
addRegistryObjects(Collection registryObjects)
Adds a Collection of RegistryObject children as members.Set
getRegistryObjects()
Gets the collection of member RegistryObjects of this RegistryPackage.void
removeRegistryObject(RegistryObject registryObject)
Removes a child RegistryObject from membership.void
removeRegistryObjects(Collection registryObjects)
Removes a Collection of children RegistryObjects from membership.-
Methods inherited from interface javax.xml.registry.infomodel.RegistryEntry
getExpiration, getStability, getStatus, setExpiration, setStability
-
Methods inherited from interface javax.xml.registry.infomodel.RegistryObject
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getSubmittingOrganization, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setName, toXML
-
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
-
Methods inherited from interface javax.xml.registry.infomodel.Versionable
getMajorVersion, getMinorVersion, getUserVersion, setMajorVersion, setMinorVersion, setUserVersion
-
-
-
-
Method Detail
-
addRegistryObject
void addRegistryObject(RegistryObject registryObject) throws JAXRException
Adds a child RegistryObject as member.- Capability Level: 1
- Parameters:
registryObject
- the RegistryObject being added- Throws:
JAXRException
- If the JAXR provider encounters an internal error
-
addRegistryObjects
void addRegistryObjects(Collection registryObjects) throws JAXRException
Adds a Collection of RegistryObject children as members.- Capability Level: 1
- Parameters:
registryObjects
- the Collection of RegistryObjects being added- Throws:
JAXRException
- If the JAXR provider encounters an internal error
-
removeRegistryObject
void removeRegistryObject(RegistryObject registryObject) throws JAXRException
Removes a child RegistryObject from membership.- Capability Level: 1
- Parameters:
registryObject
- the RegistryObject being removed- Throws:
JAXRException
- If the JAXR provider encounters an internal error
-
removeRegistryObjects
void removeRegistryObjects(Collection registryObjects) throws JAXRException
Removes a Collection of children RegistryObjects from membership.- Capability Level: 1
- Parameters:
registryObjects
- the Collection of RegistryObject being removed- Throws:
JAXRException
- If the JAXR provider encounters an internal error
-
getRegistryObjects
Set getRegistryObjects() throws JAXRException
Gets the collection of member RegistryObjects of this RegistryPackage.- Capability Level: 1
- Returns:
- the Set of RegistryObjects that are members of this object
- Throws:
JAXRException
- If the JAXR provider encounters an internal error
-
-
Document created the 11/06/2005, last modified the 18/08/2025
Source of the printed document:https://www.gaudry.be/en/java-api-javaee-rf-javax/xml/registry/infomodel/RegistryPackage.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author of this site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.