|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.xml.registry.infomodel Interface RegistryObject
- All Superinterfaces:
- ExtensibleObject
- All Known Subinterfaces:
- Association, AuditableEvent, Classification, ClassificationScheme, Concept, ExternalIdentifier, ExternalLink, ExtrinsicObject, Organization, RegistryEntry, RegistryPackage, Service, ServiceBinding, SpecificationLink, User
public interface RegistryObject
- extends ExtensibleObject
RegistryObject 类是模型中大多数类使用的抽象基类。它提供注册表对象所需的最少的元数据。它还提供了一些访问相关对象的方法,这些方法为注册表对象提供其他动态元数据。
See also | javax.xml.registry.infomodel.RegistryEntry |
The RegistryObject class is an abstract base class used by most classes in the model. It provides minimal metadata for registry objects. It also provides methods for accessing related objects that provide additional dynamic metadata for the registry object.
- Author:
- Farrukh S. Najmi
- See Also:
RegistryEntry
Method Summary | |
---|---|
void |
addAssociation(Association association)
Adds specified Association to use this object as source. |
void |
addAssociations(Collection associations)
Adds specified Associations to use this object as source. |
void |
addClassification(Classification classification)
Adds specified Classification to this object. |
void |
addClassifications(Collection classifications)
Adds specified Classifications to this object. |
void |
addExternalIdentifier(ExternalIdentifier externalIdentifier)
Adds specified ExternalIdentifier as an external identifier to this object. |
void |
addExternalIdentifiers(Collection externalIdentifiers)
Adds specified ExternalIdentifiers as an external identifiers to this object. |
void |
addExternalLink(ExternalLink externalLink)
Adds specified ExternalLink to this object. |
void |
addExternalLinks(Collection externalLinks)
Adds specified ExternalLinks to this object. |
Collection |
getAssociatedObjects()
Returns the collection of RegistryObject instances associated with this object. |
Collection |
getAssociations()
Gets all Associations where this object is source. |
Collection |
getAuditTrail()
Returns the complete audit trail of all requests that effected a state change in this object as an ordered Collection of AuditableEvent objects. |
Collection |
getClassifications()
Gets the Classification instances that classify this object. |
InternationalString |
getDescription()
Gets the textual description for this object. |
Collection |
getExternalIdentifiers()
Returns the ExternalIdentifiers associated with this object that are external identifiers for this object. |
Collection |
getExternalLinks()
Returns the ExternalLinks associated with this object. |
Key |
getKey()
Gets the key representing the universally unique ID (UUID) for this object. |
LifeCycleManager |
getLifeCycleManager()
Returns the LifeCycleManager that created this object. |
InternationalString |
getName()
Gets the user-friendly name of this object. |
Concept |
getObjectType()
Gets the object type that best describes the RegistryObject. |
Collection |
getRegistryPackages()
Returns the Package associated with this object. |
Organization |
getSubmittingOrganization()
Gets the Organization that submitted this RegistryObject. |
void |
removeAssociation(Association association)
Removes specified Association from this object. |
void |
removeAssociations(Collection associations)
Removes specified Associations from this object. |
void |
removeClassification(Classification classification)
Removes specified Classification from this object. |
void |
removeClassifications(Collection classifications)
Removes specified Classifications from this object. |
void |
removeExternalIdentifier(ExternalIdentifier externalIdentifier)
Removes specified ExternalIdentifier as an external identifier from this object. |
void |
removeExternalIdentifiers(Collection externalIdentifiers)
Removes specified ExternalIdentifiers as an external identifiers from this object. |
void |
removeExternalLink(ExternalLink externalLink)
Removes specified ExternalLink from this object. |
void |
removeExternalLinks(Collection externalLinks)
Removes specified ExternalLinks from this object. |
void |
setAssociations(Collection associations)
Replaces all previous Associations from this object with specified Associations. |
void |
setClassifications(Collection classifications)
Replaces all previous Classifications with specified Classifications. |
void |
setDescription(InternationalString description)
Sets the context independent textual description for this object. |
void |
setExternalIdentifiers(Collection externalIdentifiers)
Replaces all previous external identifiers with specified Collection of ExternalIdentifiers as an external identifier. |
void |
setExternalLinks(Collection externalLinks)
Replaces all previous ExternalLinks with specified ExternalLinks. |
void |
setKey(Key key)
Sets the key representing the universally unique ID (UUID) for this object. |
void |
setName(InternationalString name)
Sets user-friendly name of object in repository. |
String |
toXML()
Returns a registry provider specific XML representation of this Object. |
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject |
---|
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots |
Method Detail |
---|
public Key
getKey() throws JAXRException
获取表示此对象的通用唯一 ID (UUID) 的键。
- 功能级别:0
return | 此对象的 Key |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
getKey
Key getKey() throws JAXRException
- Gets the key representing the universally unique ID (UUID) for this object.
- Capability Level: 0
- Returns:
- the Key for this object
- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public InternationalString
getDescription() throws JAXRException
获取此对象的文本描述。
- 功能级别:0
return | 此对象的描述,不得为 null |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
getDescription
InternationalString getDescription() throws JAXRException
- Gets the textual description for this object.
- Capability Level: 0
- Returns:
- the description for this object which must not be null
- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
setDescription(InternationalString description) throws JAXRException
设置此对象与上下文无关的文本描述。
- 功能级别:0
description | 此对象的描述 |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
setDescription
void setDescription(InternationalString description) throws JAXRException
- Sets the context independent textual description for this object.
- Capability Level: 0
- Parameters:
description
- the description for this object- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public InternationalString
getName() throws JAXRException
获取此对象用户友好的名称。
- 功能级别:0
return | 此对象的名称,不得为 null。 |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
getName
InternationalString getName() throws JAXRException
- Gets the user-friendly name of this object.
- Capability Level: 0
- Returns:
- the name for this object which must not be null.
- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
setName(InternationalString name) throws JAXRException
设置存储库中对象的用户友好的名称。
- 功能级别:0
name | 此对象的名称 |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
setName
void setName(InternationalString name) throws JAXRException
- Sets user-friendly name of object in repository.
- Capability Level: 0
- Parameters:
name
- the name for this object- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
setKey(Key key) throws JAXRException
设置表示此对象的通用唯一 ID (UUID) 的键。
- 功能级别:0
key | 此对象的键 |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
setKey
void setKey(Key key) throws JAXRException
- Sets the key representing the universally unique ID (UUID) for this object.
- Capability Level: 0
- Parameters:
key
- the key for this object- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public String
toXML() throws JAXRException
返回此 Object 的特定于注册表提供者的 XML 表示形式。无法通过 API 访问特定于提供者的信息元素时,可以将此方法用作获取这些信息的秘密途径。实现可以选择抛出 UnsupportedCapabilityException。
- 功能级别:0
return | 包含此对象 XML 表示形式的 String |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
toXML
String toXML() throws JAXRException
- Returns a registry provider specific XML representation of this Object.
This may be used as a last resort back door way to get to a provider specific
information element that is not accessible via the API.
Implementation may choose to throw a UnsupportedCapabilityException.
- Capability Level: 0
- Returns:
- the String containing the XML representation for this object
- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
addClassification(Classification classification) throws JAXRException
将指定 Classification 添加到此对象。使用此对象的引用直接替换 Classification 中的 classifiedObject。
- 功能级别:0
classification | 将添加的 Classification |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
addClassification
void addClassification(Classification classification) throws JAXRException
- Adds specified Classification to this object.
Silently replaces the classifiedObject in Classification with reference to this object.
- Capability Level: 0
- Parameters:
classification
- the Classification being added- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
addClassifications(java.util.Collection<E> classifications) throws JAXRException
将指定的 Classification 添加到此对象。使用此对象的引用直接替换 Classification 中的 classifiedObject。
将指定的 Classification 添加到此对象。使用此对象的引用直接替换 Classification 中的 classifiedObject。
- 功能级别:0
classifications | 将要添加的 Classification 所组成的 Collection |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
addClassifications
void addClassifications(Collection classifications) throws JAXRException
- Adds specified Classifications to this object.
Silently replaces the classifiedObject in Classifications with reference to this object.
- Capability Level: 0
- Parameters:
classifications
- the Collection of Classifications being added- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
removeClassification(Classification classification) throws JAXRException
从此对象中移除指定的 Classification。
- 功能级别:0
classification | 将移除的 Classification |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
removeClassification
void removeClassification(Classification classification) throws JAXRException
- Removes specified Classification from this object.
- Capability Level: 0
- Parameters:
classification
- the Classification being removed- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
removeClassifications(java.util.Collection<E> classifications) throws JAXRException
从此对象中移除指定的 Classification。
从此对象中移除指定的 Classification。
- 功能级别:0
classifications | 将移除的 Classification 所组成的 Collection |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
removeClassifications
void removeClassifications(Collection classifications) throws JAXRException
- Removes specified Classifications from this object.
- Capability Level: 0
- Parameters:
classifications
- the Collection of Classifications being removed- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
setClassifications(java.util.Collection<E> classifications) throws JAXRException
用指定的 Classification 替换以前所有的 Classification。
用指定的 Classification 替换以前所有的 Classification。
- 功能级别:0
classifications | 将设置的 Classification 所组成的 Collection |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
setClassifications
void setClassifications(Collection classifications) throws JAXRException
- Replaces all previous Classifications with specified
Classifications.
- Capability Level: 0
- Parameters:
classifications
- the Collection of Classifications being set- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public java.util.Collection<E>
getClassifications() throws JAXRException
获取对此对象进行分类的 Classification 实例。
- 功能级别:0
return | Classification 实例所组成的 Collection。Collection 可以为空,但不能为 null。 | |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 | |
link |
| |
associates | <{Classification}> | |
supplierCardinality | 0..* | |
label |
| |
See also | javax.xml.registry.infomodel.Classification |
getClassifications
Collection getClassifications() throws JAXRException
- Gets the Classification instances that classify this object.
- Capability Level: 0
- Returns:
- Collection of Classification instances. The Collection may be empty but not null.
- Throws:
JAXRException
- If the JAXR provider encounters an internal error- See Also:
Classification
public java.util.Collection<E>
getAuditTrail() throws JAXRException
以 AuditableEvent 对象的有序 Collection 形式返回引起此对象状态更改的所有请求的完整审计追踪。
- 功能级别:1
- 在更低的功能级别中,此方法必须抛出 UnsupportedCapabilityException。
return | AuditableEvent 实例所组成的 Collection。Collection 可以为空,但不能为 null。 | |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 | |
link |
| |
associates | <{AuditableEvent}> | |
supplierCardinality | 1..* | |
label |
| |
See also | javax.xml.registry.infomodel.AuditableEvent |
getAuditTrail
Collection getAuditTrail() throws JAXRException
- Returns the complete audit trail of all requests that effected a state change in this object as an ordered Collection
of AuditableEvent objects.
- Capability Level: 1
- This method must throw UnsupportedCapabilityException in lower capability levels.
- Returns:
- Collection of AuditableEvent instances. The Collection may be empty but not null.
- Throws:
JAXRException
- If the JAXR provider encounters an internal error- See Also:
AuditableEvent
public void
addAssociation(Association association) throws JAXRException
添加指定的 Association,使用此对象作为源。使用此对象的引用直接替换 Association 中的 sourceObject。
- 功能级别:0
association | 将添加的 Association |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
addAssociation
void addAssociation(Association association) throws JAXRException
- Adds specified Association to use this object as source.
Silently replaces the sourceObject in Association with reference to this object.
- Capability Level: 0
- Parameters:
association
- the Association being added- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
addAssociations(java.util.Collection<E> associations) throws JAXRException
添加指定的 Association,使用此对象作为源。使用此对象的引用直接替换 Association 中的 sourceObject。
添加指定的 Association,使用此对象作为源。使用此对象的引用直接替换 Association 中的 sourceObject。
- 功能级别:0
associations | 将添加的 Association 所组成的 Collection |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
addAssociations
void addAssociations(Collection associations) throws JAXRException
- Adds specified Associations to use this object as source.
Silently replaces the sourceObject in Associations with reference to this object.
- Capability Level: 0
- Parameters:
associations
- the Collection of Associations being added- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
removeAssociation(Association association) throws JAXRException
从此对象中移除指定的 Association。
- 功能级别:0
association | 将移除的 Association |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
removeAssociation
void removeAssociation(Association association) throws JAXRException
- Removes specified Association from this object.
- Capability Level: 0
- Parameters:
association
- the Association being removed- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
removeAssociations(java.util.Collection<E> associations) throws JAXRException
从此对象中移除指定的 Association。
从此对象中移除指定的 Association。
- 功能级别:0
associations | 将移除的 Association 所组成的 Collection |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
removeAssociations
void removeAssociations(Collection associations) throws JAXRException
- Removes specified Associations from this object.
- Capability Level: 0
- Parameters:
associations
- the Collection of Associations being removed- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
setAssociations(java.util.Collection<E> associations) throws JAXRException
用指定的 Association 替换此对象中所有以前的 Association。
用指定的 Association 替换此对象中所有以前的 Association。
- 功能级别:0
associations | 将设置的 Association 所组成的 Collection |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
setAssociations
void setAssociations(Collection associations) throws JAXRException
- Replaces all previous Associations from this object with
specified Associations.
- Capability Level: 0
- Parameters:
associations
- the Collection of Associations being set- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public java.util.Collection<E>
getAssociations() throws JAXRException
获取使用此对象作为源的所有 Association。
- 功能级别:0
return | Association 实例所组成的 Collection。Collection 可以为空,但不能为 null。 |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
See also | javax.xml.registry.infomodel.Association |
getAssociations
Collection getAssociations() throws JAXRException
- Gets all Associations where this object is source.
- Capability Level: 0
- Returns:
- Collection of Association instances. The Collection may be empty but not null.
- Throws:
JAXRException
- If the JAXR provider encounters an internal error- See Also:
Association
public java.util.Collection<E>
getAssociatedObjects() throws JAXRException
返回与此对象关联的 RegistryObject 实例所组成的 Collection。
- 功能级别:1
- 在更低的功能级别中,此方法必须抛出 UnsupportedCapabilityException。
return | RegistryObject 实例组成的 CollectionCollection 可以为空,但不能为 null。 | |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 | |
associationAsClass | <{Association}> | |
supplierCardinality | 0..* | |
clientCardinality | 0..* | |
associates | <{RegistryObject}> | |
undirected | ||
label |
| |
See also | javax.xml.registry.infomodel.RegistryObject |
getAssociatedObjects
Collection getAssociatedObjects() throws JAXRException
- Returns the collection of RegistryObject instances associated with this object.
- Capability Level: 1
- This method must throw UnsupportedCapabilityException in lower capability levels.
- Returns:
- Collection of RegistryObject instances. The Collection may be empty but not null.
- Throws:
JAXRException
- If the JAXR provider encounters an internal error- See Also:
RegistryObject
public void
addExternalIdentifier(ExternalIdentifier externalIdentifier) throws JAXRException
添加指定的 ExternalIdentifier,将它作为此对象的外部标识符。使用此对象的引用直接替换 ExternalIdentifier 中的 registryObject。
- 功能级别:0
externalIdentifier | 将添加的 ExternalIdentifier |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
addExternalIdentifier
void addExternalIdentifier(ExternalIdentifier externalIdentifier) throws JAXRException
- Adds specified ExternalIdentifier as an external identifier to this object.
Silently replaces the registryObject in ExternalIdentifier with reference to this object.
- Capability Level: 0
- Parameters:
externalIdentifier
- the ExternalIdentifier being added- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
addExternalIdentifiers(java.util.Collection<E> externalIdentifiers) throws JAXRException
添加指定的 ExternalIdentifier,将它作为此对象的外部标识符。使用此对象的引用直接替换 ExternalIdentifier 中的 registryObject。
添加指定的 ExternalIdentifier,将它作为此对象的外部标识符。使用此对象的引用直接替换 ExternalIdentifier 中的 registryObject。
- 功能级别:0
externalIdentifiers | 将添加的 ExternalIdentifier 所组成的 Collection |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
addExternalIdentifiers
void addExternalIdentifiers(Collection externalIdentifiers) throws JAXRException
- Adds specified ExternalIdentifiers as an external identifiers to this object.
Silently replaces the registryObject in ExternalIdentifiers with reference to this object.
- Capability Level: 0
- Parameters:
externalIdentifiers
- the Collection of ExternalIdentifiers being added- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
removeExternalIdentifier(ExternalIdentifier externalIdentifier) throws JAXRException
从此对象中移除作为外部标识符的指定 ExternalIdentifier。
- 功能级别:0
externalIdentifier | 将移除的 ExternalIdentifier |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
removeExternalIdentifier
void removeExternalIdentifier(ExternalIdentifier externalIdentifier) throws JAXRException
- Removes specified ExternalIdentifier as an external identifier from this object.
- Capability Level: 0
- Parameters:
externalIdentifier
- the ExternalIdentifier being removed- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
removeExternalIdentifiers(java.util.Collection<E> externalIdentifiers) throws JAXRException
从此对象中移除作为外部标识符的指定 ExternalIdentifier。
从此对象中移除作为外部标识符的指定 ExternalIdentifier。
- 功能级别:0
externalIdentifiers | 将移除的 ExternalIdentifier 所组成的 Collection |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
removeExternalIdentifiers
void removeExternalIdentifiers(Collection externalIdentifiers) throws JAXRException
- Removes specified ExternalIdentifiers as an external identifiers from this object.
- Capability Level: 0
- Parameters:
externalIdentifiers
- the Collection of ExternalIdentifiers being removed- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
setExternalIdentifiers(java.util.Collection<E> externalIdentifiers) throws JAXRException
使用作为外部标识符的指定 ExternalIdentifier 所组成的 Collection 替换以前所有的外部标识符。
使用作为外部标识符的指定 ExternalIdentifier 所组成的 Collection 替换以前所有的外部标识符。
- 功能级别:0
externalIdentifiers | 将设置的 ExternalIdentifier 所组成的 Collection |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
setExternalIdentifiers
void setExternalIdentifiers(Collection externalIdentifiers) throws JAXRException
- Replaces all previous external identifiers with specified
Collection of ExternalIdentifiers as an external identifier.
- Capability Level: 0
- Parameters:
externalIdentifiers
- the Collection of ExternalIdentifiers being set- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public java.util.Collection<E>
getExternalIdentifiers() throws JAXRException
返回与此对象关联的 ExternalIdentifier,它们是此对象的外部标识符。
- 功能级别:0
return | ExternalIdentifier 实例所组成的 Collection。Collection 可以为空,但不能为 null。 | |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 | |
associates | <{ExternalIdentifier}> | |
supplierCardinality | 0..* | |
undirected | ||
supplierRole |
| |
link |
| |
See also | javax.xml.registry.infomodel.ExternalIdentifier |
getExternalIdentifiers
Collection getExternalIdentifiers() throws JAXRException
- Returns the ExternalIdentifiers associated with this object
that are external identifiers for this object.
- Capability Level: 0
- Returns:
- Collection of ExternalIdentifier instances. The Collection may be empty but not null.
- Throws:
JAXRException
- If the JAXR provider encounters an internal error- See Also:
ExternalIdentifier
public void
addExternalLink(ExternalLink externalLink) throws JAXRException
将指定的 ExternalLink 添加到此对象。
- 功能级别:0
externalLinks | 将添加的 ExternalLink |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
addExternalLink
void addExternalLink(ExternalLink externalLink) throws JAXRException
- Adds specified ExternalLink to this object.
- Capability Level: 0
- Parameters:
externalLinks
- the ExternalLink being added- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
addExternalLinks(java.util.Collection<E> externalLinks) throws JAXRException
将指定的 ExternalLink 添加到此对象。
将指定的 ExternalLink 添加到此对象。
- 功能级别:0
externalLinks | 将添加的 ExternalLink 所组成的 Collection |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
addExternalLinks
void addExternalLinks(Collection externalLinks) throws JAXRException
- Adds specified ExternalLinks to this object.
- Capability Level: 0
- Parameters:
externalLinks
- the Collection of ExternalLinks being added- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
removeExternalLink(ExternalLink externalLink) throws JAXRException
从此对象中移除指定的 ExternalLink。
- 功能级别:0
externalLink | 将移除的 ExternalLink |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
removeExternalLink
void removeExternalLink(ExternalLink externalLink) throws JAXRException
- Removes specified ExternalLink from this object.
- Capability Level: 0
- Parameters:
externalLink
- the ExternalLink being removed- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
removeExternalLinks(java.util.Collection<E> externalLinks) throws JAXRException
从此对象中移除指定的 ExternalLink。
从此对象中移除指定的 ExternalLink。
- 功能级别:0
externalLinks | 将移除的 ExternalLink 所组成的 Collection |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
removeExternalLinks
void removeExternalLinks(Collection externalLinks) throws JAXRException
- Removes specified ExternalLinks from this object.
- Capability Level: 0
- Parameters:
externalLinks
- the Collection of ExternalLinks being removed- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
setExternalLinks(java.util.Collection<E> externalLinks) throws JAXRException
用指定的 ExternalLink 替换以前所有的 ExternalLink。
用指定的 ExternalLink 替换以前所有的 ExternalLink。
- 功能级别:0
externalLink | 将设置的 ExternalLink 所组成的 Collection |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
setExternalLinks
void setExternalLinks(Collection externalLinks) throws JAXRException
- Replaces all previous ExternalLinks with specified
ExternalLinks.
- Capability Level: 0
- Parameters:
externalLink
- the Collection of ExternalLinks being set- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public java.util.Collection<E>
getExternalLinks() throws JAXRException
返回与此对象关联的 ExternalLink。
- 功能级别:0
return | ExternalLink 实例所组成的 Collection。Collection 可以为空,但不能为 null。 | |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 | |
associationAsClass | <{Association}> | |
associates | <{ExternalLink}> | |
supplierCardinality | 0..* | |
clientCardinality | 1..* | |
undirected | ||
supplierRole |
| |
clientRole |
| |
See also | javax.xml.registry.infomodel.ExternalLink |
getExternalLinks
Collection getExternalLinks() throws JAXRException
- Returns the ExternalLinks associated with this object.
- Capability Level: 0
- Returns:
- Collection of ExternalLink instances. The Collection may be empty but not null.
- Throws:
JAXRException
- If the JAXR provider encounters an internal error- See Also:
ExternalLink
public Concept
getObjectType() throws JAXRException
获取最能说明 RegistryObject 的对象类型。
- 功能级别:1
- 在更低的功能级别中,此方法必须抛出 UnsupportedCapabilityException。
return | 对象类型,它是名为 ObjectType 的预定义 ClassificationScheme 中的一个 Concept |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
getObjectType
Concept getObjectType() throws JAXRException
- Gets the object type that best describes the RegistryObject.
- Capability Level: 1
- This method must throw UnsupportedCapabilityException in lower capability levels.
- Returns:
- the object type as a Concept within the pre-defined ClassificationScheme named ObjectType
- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public Organization
getSubmittingOrganization() throws JAXRException
获取已提交此 RegistryObject 的 Organization。
return | 已将此对象提交到注册表的 Organization |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
getSubmittingOrganization
Organization getSubmittingOrganization() throws JAXRException
- Gets the Organization that submitted this RegistryObject.
- Returns:
- the Organization that submitted this object to the registry
- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public java.util.Collection<E>
getRegistryPackages() throws JAXRException
返回与此对象关联的 Package。
- 功能级别:1
- 在更低的功能级别中,此方法必须抛出 UnsupportedCapabilityException。
return | RegistryPackage 实例所组成的 Collection。Collection 可以为空,但不能为 null。 | |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 | |
supplierCardinality | 0..* | |
clientCardinality | 1..* | |
associates | <{RegistryPackage}> | |
undirected | ||
clientRole |
| |
supplierRole |
| |
associationAsClass | <{Association}> | |
See also | javax.xml.registry.infomodel.RegistryPackage |
getRegistryPackages
Collection getRegistryPackages() throws JAXRException
- Returns the Package associated with this object.
- Capability Level: 1
- This method must throw UnsupportedCapabilityException in lower capability levels.
- Returns:
- Collection of RegistryPackage instances. The Collection may be empty but not null.
- Throws:
JAXRException
- If the JAXR provider encounters an internal error- See Also:
RegistryPackage
public LifeCycleManager
getLifeCycleManager() throws JAXRException
返回创建此对象的 LifeCycleManager。
- 功能级别:0
return | 创建此对象的 LifeCycleManager 对象 |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
getLifeCycleManager
LifeCycleManager getLifeCycleManager() throws JAXRException
- Returns the LifeCycleManager that created this object.
- Capability Level: 0
- Returns:
- the LifeCycleManager objet that created 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 : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!