|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 的成员。
See also | javax.xml.registry.infomodel.RegistryObject |
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 |
---|
STABILITY_DYNAMIC, STABILITY_DYNAMIC_COMPATIBLE, STABILITY_STATIC, STATUS_APPROVED, STATUS_DEPRECATED, STATUS_SUBMITTED, STATUS_WITHDRAWN |
Method Summary | |
---|---|
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.ExtensibleObject |
---|
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots |
Methods inherited from interface javax.xml.registry.infomodel.Versionable |
---|
getMajorVersion, getMinorVersion, getUserVersion, setMajorVersion, setMinorVersion, setUserVersion |
Method Detail |
---|
public void
addRegistryObject(RegistryObject registryObject) throws JAXRException
添加一个子 RegistryObject 作为成员。
- 功能级别:1
registryObject | 将添加的 RegistryObject |
Throws | JAXRException: 如果 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 作为成员。
添加一个 RegistryObject 子代所组成的 Collection 作为成员。
- 功能级别:1
registryObjects | 将添加的 RegistryObject 所组成的 Collection |
Throws | JAXRException: 如果 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 |
Throws | JAXRException: 如果 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。
从成员关系中移除一个子代 RegistryObject 所组成的 Collection。
- 功能级别:1
registryObjects | 将移除的 RegistryObject 所组成的 Collection |
Throws | JAXRException: 如果 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 |
Throws | JAXRException: 如果 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!