public interface Slot
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.
ExtensibleObject
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
static final String SORT_CODE_SLOT
static final String ADDRESS_LINES_SLOT
static final String AUTHORIZED_NAME_SLOT
static final String OPERATOR_SLOT
String getName() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setName(String name) throws JAXRException
name
- the nameJAXRException
- If the JAXR provider encounters an internal errorString getSlotType() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setSlotType(String slotType) throws JAXRException
slotType
- the slot type which is an arbitrary StringJAXRException
- If the JAXR provider encounters an internal errorCollection getValues() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorString
void setValues(Collection values) throws JAXRException
values
- the values for this SlotJAXRException
- If the JAXR provider encounters an internal errorCopyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.