Top Description Fields Methods
javax.xml.registry.infomodel

public Interface RegistryPackage

extends RegistryEntry
Imports
java.util.*, javax.xml.registry.*

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

Inherited from javax.xml.registry.infomodel.RegistryEntry:
STABILITY_DYNAMICSTABILITY_DYNAMIC_COMPATIBLESTABILITY_STATICSTATUS_APPROVEDSTATUS_DEPRECATEDSTATUS_SUBMITTEDSTATUS_WITHDRAWN

Method Summary

Modifier and TypeMethod and Description
public void
addRegistryObject(RegistryObject
the RegistryObject being added
registryObject
)

Adds a child RegistryObject as member.

public void
addRegistryObjects(Collection<E>
the Collection of RegistryObjects being added
registryObjects
)

Adds a Collection of RegistryObject children as members.

public Set<E>

Returns:

the Set of RegistryObjects that are members of this object
getRegistryObjects
()

Gets the collection of member RegistryObjects of this RegistryPackage.

public void
removeRegistryObject(RegistryObject
the RegistryObject being removed
registryObject
)

Removes a child RegistryObject from membership.

public void
removeRegistryObjects(Collection<E>
the Collection of RegistryObject being removed
registryObjects
)

Removes a Collection of children RegistryObjects from membership.

Inherited from javax.xml.registry.infomodel.RegistryEntry:
getExpirationgetStabilitygetStatussetExpirationsetStability

Method Detail

addRegistryObjectback to summary
public void addRegistryObject(RegistryObject registryObject) throws JAXRException

Adds a child RegistryObject as member.

Capability Level: 1
Parameters
registryObject:RegistryObject

the RegistryObject being added

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
addRegistryObjectsback to summary
public void addRegistryObjects(Collection<E> registryObjects) throws JAXRException

Adds a Collection of RegistryObject children as members.

Capability Level: 1
Parameters
registryObjects:Collection<E>

the Collection of RegistryObjects being added

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
getRegistryObjectsback to summary
public Set<E> getRegistryObjects() throws JAXRException

Gets the collection of member RegistryObjects of this RegistryPackage.

Capability Level: 1
Returns:Set<E>

the Set of RegistryObjects that are members of this object

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
removeRegistryObjectback to summary
public void removeRegistryObject(RegistryObject registryObject) throws JAXRException

Removes a child RegistryObject from membership.

Capability Level: 1
Parameters
registryObject:RegistryObject

the RegistryObject being removed

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
removeRegistryObjectsback to summary
public void removeRegistryObjects(Collection<E> registryObjects) throws JAXRException

Removes a Collection of children RegistryObjects from membership.

Capability Level: 1
Parameters
registryObjects:Collection<E>

the Collection of RegistryObject being removed

Exceptions
JAXRException:
If the JAXR provider encounters an internal error