ExternalIdentifier (Java EE 5)

Java EE API


javax.xml.registry.infomodel Interface ExternalIdentifier

All Superinterfaces:
ExtensibleObject, RegistryObject

public interface ExternalIdentifier
extends RegistryObject

Implements: RegistryObject

ExternalIdentifier 实例为 DUNS 号码、Social Security Number 或组织别名之类的 RegistryObject 提供附加标识符信息。从 RegistryObject 继承的属性名称用于包含标识方案("DUNS"、"Social Security Number" 等等),属性值包含实际信息(例如实际的 DUNS 号码)。每个 RegistryObject 都可以有 0 个或多个 ExternalIdentifier。
英文文档:

ExternalIdentifier instances provide the additional identifier information to RegistryObjects such as DUNS number, Social Security Number, or an alias name of the organization. The attribute name inherited from RegistryObject is used to contain the identification scheme ("DUNS" "Social Security Number", etc.), and the attribute value contains the actual information (e.g. the actual DUNS number). Each RegistryObject may have 0 or more ExternalIdentifiers.

Author:
Farrukh S. Najmi
See Also:
RegistryObject

Method Summary
 ClassificationScheme
 RegistryObject
 String
 void
 void
 
Methods inherited from interface javax.xml.registry.infomodel.RegistryObject
 
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
 

Method Detail

public RegistryObject getRegistryObject() throws JAXRException
获取此 ExternalIdentifier 的父 RegistryObject。要设置 registryObject,需要对 RegistryObject 调用 addExternalIdentifier。

功能级别:0
return 此对象标识符的 RegistryObject
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
See also addExternalIdentifier(ExternalIdentifier ei)
英文文档:

getRegistryObject

RegistryObject getRegistryObject()
                                 throws JAXRException
Gets the parent RegistryObject for this ExternalIdentifier. To set the registryObject call addExternalIdentifier on a RegistryObject.

Capability Level: 0

Returns:
the RegistryObject that this object identifies
Throws:
JAXRException - If the JAXR provider encounters an internal error
See Also:
RegistryObject.addExternalIdentifier(ExternalIdentifier ei)

public String getValue() throws JAXRException
获取 ExternalIdentifier 的值。

功能级别:0
return 此对象定义的标识值(例如,公司的 DUNS 编码)
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

getValue

String getValue()
                throws JAXRException
Gets the value of an ExternalIdentifier.

Capability Level: 0

Returns:
the identification value defined by this object (e.g. a company's DUNS number)
Throws:
JAXRException - If the JAXR provider encounters an internal error

public void setValue(String value) throws JAXRException
设置 ExternalIdentifier 的值。

功能级别:0
value 此对象定义的标识值(例如,公司的 DUNS 编码)
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

setValue

void setValue(String value)
              throws JAXRException
Sets the value of an ExternalIdentifier.

Capability Level: 0

Parameters:
value - the identification value defined by this object (e.g. a company's DUNS number)
Throws:
JAXRException - If the JAXR provider encounters an internal error

public ClassificationScheme getIdentificationScheme() throws JAXRException
获取用作标识此对象的标识方案的 ClassificationScheme。

功能级别:0
return 用作标识方案(例如 "DUNS")的 ClassificationScheme
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
supplierCardinality0..*
clientCardinality0..*
associationAsClass
Classification
英文文档:

getIdentificationScheme

ClassificationScheme getIdentificationScheme()
                                             throws JAXRException
Gets the ClassificationScheme that is used as the identification scheme for identifying this object.

Capability Level: 0

Returns:
the ClassificationScheme that is used as the identification scheme (e.g. "DUNS")
Throws:
JAXRException - If the JAXR provider encounters an internal error

public void setIdentificationScheme(ClassificationScheme identificationScheme) throws JAXRException
设置用作标识此对象的标识方案的 ClassificationScheme。

功能级别:0
identificationScheme 用作标识方案(例如 "DUNS")的 ClassificationScheme
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

setIdentificationScheme

void setIdentificationScheme(ClassificationScheme identificationScheme)
                             throws JAXRException
Sets the ClassificationScheme that is used as the identification scheme for identifying this object.

Capability Level: 0

Parameters:
identificationScheme - the ClassificationScheme that is used as the identification scheme (e.g. "DUNS")
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 : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!