|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.xml.registry.infomodel Interface ExternalIdentifier
- All Superinterfaces:
- ExtensibleObject, RegistryObject
public interface ExternalIdentifier
- extends RegistryObject
ExternalIdentifier 实例为 DUNS 号码、Social Security Number 或组织别名之类的 RegistryObject 提供附加标识符信息。从 RegistryObject 继承的属性名称用于包含标识方案("DUNS"、"Social Security Number" 等等),属性值包含实际信息(例如实际的 DUNS 号码)。每个 RegistryObject 都可以有 0 个或多个 ExternalIdentifier。
See also | javax.xml.registry.infomodel.RegistryObject |
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 |
getIdentificationScheme()
Gets the ClassificationScheme that is used as the identification scheme for identifying this object. |
RegistryObject |
getRegistryObject()
Gets the parent RegistryObject for this ExternalIdentifier. |
String |
getValue()
Gets the value of an ExternalIdentifier. |
void |
setIdentificationScheme(ClassificationScheme identificationScheme)
Sets the ClassificationScheme that is used as the identification scheme for identifying this object. |
void |
setValue(String value)
Sets the value of an ExternalIdentifier. |
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject |
---|
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots |
Method Detail |
---|
public RegistryObject
getRegistryObject() throws JAXRException
获取此 ExternalIdentifier 的父 RegistryObject。要设置 registryObject,需要对 RegistryObject 调用 addExternalIdentifier。
- 功能级别:0
return | 此对象标识符的 RegistryObject |
Throws | JAXRException: 如果 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 编码) |
Throws | JAXRException: 如果 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 编码) |
Throws | JAXRException: 如果 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 | |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 | |
supplierCardinality | 0..* | |
clientCardinality | 0..* | |
associationAsClass |
|
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 |
Throws | JAXRException: 如果 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
|
|||||||||
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 : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!