Top Description Fields Methods
javax.xml.registry.infomodel

public Interface Slot

Imports
java.util.*, javax.xml.registry.*

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.

Author
Farrukh S. Najmi
See Also
ExtensibleObject

Field Summary

Modifier and TypeField and Description
public static final String
ADDRESS_LINES_SLOT

Name for pre-defined Slot used in PostalAddress by JAXR UDDI provider.

public static final String
AUTHORIZED_NAME_SLOT

Name for pre-defined Slot used in Organization and ClassificationScheme by JAXR UDDI provider.

public static final String
OPERATOR_SLOT

Name for pre-defined Slot used in Organization and ClassificationScheme by JAXR UDDI provider.

public static final String
SORT_CODE_SLOT

Name for pre-defined Slot used in PostalAddress by JAXR UDDI provider.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the name
getName
()

Gets the name for this Slot.

public String

Returns:

the slot type which is an arbitrary String
getSlotType
()

Gets the slotType for this Slot.

public Collection<E>

Returns:

Collection of String instances representing the values for this Slot. The Collection may be empty but not null.
getValues
()

Gets the values for this Slot.

public void
setName(String
the name
name
)

Sets the name for this Slot.

public void
setSlotType(String
the slot type which is an arbitrary String
slotType
)

Sets the slotType for this Slot.

public void
setValues(Collection<E>
the values for this Slot
values
)

Sets the values for this Slot.

Field Detail

ADDRESS_LINES_SLOTback to summary
public static final String ADDRESS_LINES_SLOT

Name for pre-defined Slot used in PostalAddress by JAXR UDDI provider.

AUTHORIZED_NAME_SLOTback to summary
public static final String AUTHORIZED_NAME_SLOT

Name for pre-defined Slot used in Organization and ClassificationScheme by JAXR UDDI provider.

OPERATOR_SLOTback to summary
public static final String OPERATOR_SLOT

Name for pre-defined Slot used in Organization and ClassificationScheme by JAXR UDDI provider.

SORT_CODE_SLOTback to summary
public static final String SORT_CODE_SLOT

Name for pre-defined Slot used in PostalAddress by JAXR UDDI provider.

Method Detail

getNameback to summary
public String getName() throws JAXRException

Gets the name for this Slot. Default is a NULL String.

Capability Level: 0
Returns:String

the name

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
getSlotTypeback to summary
public String getSlotType() throws JAXRException

Gets the slotType for this Slot. Default is a NULL String.

Capability Level: 0
Returns:String

the slot type which is an arbitrary String

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
getValuesback to summary
public Collection<E> getValues() throws JAXRException

Gets the values for this Slot.

Capability Level: 0
Returns:Collection<E>

Collection of String instances representing the values for this Slot. The Collection may be empty but not null.

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
See Also
java.lang.String
setNameback to summary
public void setName(String name) throws JAXRException

Sets the name for this Slot. Default is a NULL String.

Capability Level: 0
Parameters
name:String

the name

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
setSlotTypeback to summary
public void setSlotType(String slotType) throws JAXRException

Sets the slotType for this Slot.

Capability Level: 0
Parameters
slotType:String

the slot type which is an arbitrary String

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
setValuesback to summary
public void setValues(Collection<E> values) throws JAXRException

Sets the values for this Slot.

Capability Level: 0
Parameters
values:Collection<E>

the values for this Slot

Exceptions
JAXRException:
If the JAXR provider encounters an internal error