Package javax.xml.registry.infomodel
Interface RegistryPackage
- All Superinterfaces:
ExtensibleObject,RegistryEntry,RegistryObject,Versionable
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:
-
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
Modifier and TypeMethodDescriptionvoidaddRegistryObject(RegistryObject registryObject) Adds a child RegistryObject as member.voidaddRegistryObjects(Collection registryObjects) Adds a Collection of RegistryObject children as members.Gets the collection of member RegistryObjects of this RegistryPackage.voidremoveRegistryObject(RegistryObject registryObject) Removes a child RegistryObject from membership.voidremoveRegistryObjects(Collection registryObjects) Removes a Collection of children RegistryObjects from membership.Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlotsMethods inherited from interface javax.xml.registry.infomodel.RegistryEntry
getExpiration, getStability, getStatus, setExpiration, setStabilityMethods 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, toXMLMethods inherited from interface javax.xml.registry.infomodel.Versionable
getMajorVersion, getMinorVersion, getUserVersion, setMajorVersion, setMinorVersion, setUserVersion
-
Method Details
-
addRegistryObject
Adds a child RegistryObject as member.- Capability Level: 1
- Parameters:
registryObject- the RegistryObject being added- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
addRegistryObjects
Adds a Collection of RegistryObject children as members.- Capability Level: 1
- Parameters:
registryObjects- the Collection of RegistryObjects being added- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
removeRegistryObject
Removes a child RegistryObject from membership.- Capability Level: 1
- Parameters:
registryObject- the RegistryObject being removed- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
removeRegistryObjects
Removes a Collection of children RegistryObjects from membership.- Capability Level: 1
- Parameters:
registryObjects- the Collection of RegistryObject being removed- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
getRegistryObjects
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 Jakarta XML Registries provider encounters an internal error
-