|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.xml.registry.infomodel Interface Slot
public interface Slot
Slot instances provide a dynamic way to add arbitrary attributes to RegistryObject instances. This ability to add attributes dynamically to RegistryObject instances enables extensibility within the Registry Information Model.
A RegistryObject may have 0 or more Slots. A slot is composed of a name, a slotType and a collection of values. The name of a slot is locally unique within the RegistryObject instance. Similarly, the value of a Slot is locally unique within a slot instance. Since a Slot represents an extensible attribute whose value may be a collection, a Slot is allowed to have a collection of values rather than a single value. The slotType attribute may optionally specify a type or category for the slot.
- 作者:
- Farrukh S. Najmi
- 另请参见:
ExtensibleObject
字段摘要 | |
---|---|
static String |
ADDRESS_LINES_SLOT
Name for pre-defined Slot used in PostalAddress by JAXR UDDI provider. |
static String |
AUTHORIZED_NAME_SLOT
Name for pre-defined Slot used in Organization and ClassificationScheme by JAXR UDDI provider. |
static String |
OPERATOR_SLOT
Name for pre-defined Slot used in Organization and ClassificationScheme by JAXR UDDI provider. |
static String |
SORT_CODE_SLOT
Name for pre-defined Slot used in PostalAddress by JAXR UDDI provider. |
方法摘要 | |
---|---|
String |
getName()
Gets the name for this Slot. |
String |
getSlotType()
Gets the slotType for this Slot. |
Collection |
getValues()
Gets the values for this Slot. |
void |
setName(String name)
Sets the name for this Slot. |
void |
setSlotType(String slotType)
Sets the slotType for this Slot. |
void |
setValues(Collection values)
Sets the values for this Slot. |
字段详细信息 |
---|
SORT_CODE_SLOT
static final String SORT_CODE_SLOT
- Name for pre-defined Slot used in PostalAddress by JAXR UDDI provider.
- 另请参见:
- 常量字段
ADDRESS_LINES_SLOT
static final String ADDRESS_LINES_SLOT
- Name for pre-defined Slot used in PostalAddress by JAXR UDDI provider.
- 另请参见:
- 常量字段
AUTHORIZED_NAME_SLOT
static final String AUTHORIZED_NAME_SLOT
- Name for pre-defined Slot used in Organization and ClassificationScheme by JAXR UDDI provider.
- 另请参见:
- 常量字段
OPERATOR_SLOT
static final String OPERATOR_SLOT
- Name for pre-defined Slot used in Organization and ClassificationScheme by JAXR UDDI provider.
- 另请参见:
- 常量字段
方法详细信息 |
---|
getName
String getName() throws JAXRException
- Gets the name for this Slot.
Default is a NULL String.
- Capability Level: 0
- 返回:
- the name
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
setName
void setName(String name) throws JAXRException
- Sets the name for this Slot.
Default is a NULL String.
- Capability Level: 0
- 参数:
name
- the name- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
getSlotType
String getSlotType() throws JAXRException
- Gets the slotType for this Slot.
Default is a NULL String.
- Capability Level: 0
- 返回:
- the slot type which is an arbitrary String
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
setSlotType
void setSlotType(String slotType) throws JAXRException
- Sets the slotType for this Slot.
- Capability Level: 0
- 参数:
slotType
- the slot type which is an arbitrary String- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
getValues
Collection getValues() throws JAXRException
- Gets the values for this Slot.
- Capability Level: 0
- 返回:
- Collection of String instances representing the values for this Slot. The Collection may be empty but not null.
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error- 另请参见:
String
setValues
void setValues(Collection values) throws JAXRException
- Sets the values for this Slot.
- Capability Level: 0
- 参数:
values
- the values for this Slot- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.