RegistryPackage (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.xml.registry.infomodel Interface RegistryPackage

所有父接口:
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 软件包.

作者:
Farrukh S. Najmi
另请参见:
RegistryObject

字段摘要
 
Fields inherited from interface javax.xml.registry.infomodel.RegistryEntry
STABILITY_DYNAMIC, STABILITY_DYNAMIC_COMPATIBLE, STABILITY_STATIC, STATUS_APPROVED, STATUS_DEPRECATED, STATUS_SUBMITTED, STATUS_WITHDRAWN
 
方法摘要
 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, getRegistry软件包, 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
 

方法详细信息

addRegistryObject

void addRegistryObject(RegistryObject registryObject)
                       throws JAXRException
Adds a child RegistryObject as member.

Capability Level: 1

参数:
registryObject - the RegistryObject being added
抛出异常:
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

参数:
registryObjects - the Collection of RegistryObjects being added
抛出异常:
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

参数:
registryObject - the RegistryObject being removed
抛出异常:
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

参数:
registryObjects - the Collection of RegistryObject being removed
抛出异常:
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

返回:
the Set of RegistryObjects that are members of this object
抛出异常:
JAXRException - If the JAXR provider encounters an internal error

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.