RegistryPackage (Java EE 5)

Java EE API


javax.xml.registry.infomodel Interface RegistryPackage

All Superinterfaces:
ExtensibleObject, RegistryEntry, RegistryObject, Versionable

public interface RegistryPackage
extends RegistryEntry

Implements: RegistryEntry

RegistryPackage 实例是将逻辑相关的 RegistryEntry 组织在一起的 RegistryEntry。一个包可以包含任意数量的 RegistryObject。RegistryObject 可以是任意数量的 Package 的成员。
英文文档:

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
 
Method Summary
 void
 void
 Set
 void
 void
 
Methods inherited from interface javax.xml.registry.infomodel.RegistryEntry
 
Methods inherited from interface javax.xml.registry.infomodel.RegistryObject
 
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
 
Methods inherited from interface javax.xml.registry.infomodel.Versionable
 

Method Detail

public void addRegistryObject(RegistryObject registryObject) throws JAXRException
添加一个子 RegistryObject 作为成员。

功能级别:1
registryObject 将添加的 RegistryObject
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

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

public void addRegistryObjects(java.util.Collection<E> registryObjects) throws JAXRException
添加一个 RegistryObject 子代所组成的 Collection 作为成员。

功能级别:1
registryObjects 将添加的 RegistryObject 所组成的 Collection
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

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

public void removeRegistryObject(RegistryObject registryObject) throws JAXRException
从成员关系中移除一个子 RegistryObject。

功能级别:1
registryObject 将移除的 RegistryObject
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

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

public void removeRegistryObjects(java.util.Collection<E> registryObjects) throws JAXRException
从成员关系中移除一个子代 RegistryObject 所组成的 Collection。

功能级别:1
registryObjects 将移除的 RegistryObject 所组成的 Collection
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

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

public java.util.Set<E> getRegistryObjects() throws JAXRException
获取此 RegistryPackage 的成员 RegistryObject 所组成的 Collection。

功能级别:1
return 作为此对象的成员的 RegistryObject 所组成的 Set
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

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


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!