Interface RegistryPackage

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:
  • Method Details

    • 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 Jakarta XML Registries 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 Jakarta XML Registries 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 Jakarta XML Registries 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 Jakarta XML Registries 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 Jakarta XML Registries provider encounters an internal error