Top Description Methods
javax.xml.registry.infomodel

public Interface ExtensibleObject

Known Direct Subinterfaces
javax.xml.registry.infomodel.PostalAddress, javax.xml.registry.infomodel.RegistryObject
Imports
java.util.*, javax.xml.registry.*

An ExtensibleObject is one that allows itself to be extended by utilizing dynamically added Slots that add arbitrary attributes to the object on a per instance basis.
Author
Farrukh S. Najmi
See Also
Slot

Method Summary

Modifier and TypeMethod and Description
public void
addSlot(Slot
the Slot object being added to this object
slot
)

Adds a Slot to this object.

public void
addSlots(Collection<E>
the Collection of Slot objects being added to this object
slots
)

Adds more Slots to this object.

public Slot
getSlot(String
the name of the desired Slot object
slotName
)

Gets the slot specified by slotName.

public Collection<E>

Returns:

Collection of Slot instances. The Collection may be empty but not null.
getSlots
()

Returns the Slots associated with this object.

public void
removeSlot(String
the name for the Slot object being removed from this object
slotName
)

Removes a Slot from this object.

public void
removeSlots(Collection<E>
the Collection of names for Slot objects being removed from this object. Must be a Collection of Strings
slotNames
)

Removes specified Slots from this object.

Method Detail

addSlotback to summary
public void addSlot(Slot slot) throws JAXRException

Adds a Slot to this object.

Capability Level: 0
Parameters
slot:Slot

the Slot object being added to this object

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
addSlotsback to summary
public void addSlots(Collection<E> slots) throws JAXRException

Adds more Slots to this object.

Capability Level: 0
Parameters
slots:Collection<E>

the Collection of Slot objects being added to this object

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
getSlotback to summary
public Slot getSlot(String slotName) throws JAXRException

Gets the slot specified by slotName.

Capability Level: 0
Parameters
slotName:String

the name of the desired Slot object

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

Returns the Slots associated with this object.

Capability Level: 0
Returns:Collection<E>

Collection of Slot instances. The Collection may be empty but not null.

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
removeSlotback to summary
public void removeSlot(String slotName) throws JAXRException

Removes a Slot from this object. The Slot is identified by its name.

Capability Level: 0
Parameters
slotName:String

the name for the Slot object being removed from this object

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
removeSlotsback to summary
public void removeSlots(Collection<E> slotNames) throws JAXRException

Removes specified Slots from this object. The Slots are identified by its name.

Capability Level: 0
Parameters
slotNames:Collection<E>

the Collection of names for Slot objects being removed from this object. Must be a Collection of Strings

Exceptions
JAXRException:
If the JAXR provider encounters an internal error