|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ExtensibleObject
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.
Slot| Method Summary | |
|---|---|
void |
addSlot(Slot slot)
Adds a Slot to this object. |
void |
addSlots(Collection slots)
Adds more Slots to this object. |
Slot |
getSlot(String slotName)
Gets the slot specified by slotName. |
Collection |
getSlots()
Returns the Slots associated with this object. |
void |
removeSlot(String slotName)
Removes a Slot from this object. |
void |
removeSlots(Collection slotNames)
Removes specified Slots from this object. |
| Method Detail |
|---|
void addSlot(Slot slot)
throws JAXRException
slot - the Slot object being added to this object
JAXRException - If the JAXR provider encounters an internal error
void addSlots(Collection slots)
throws JAXRException
slots - the Collection of Slot objects being added to this object
JAXRException - If the JAXR provider encounters an internal error
void removeSlot(String slotName)
throws JAXRException
slotName - the name for the Slot object being removed from this object
JAXRException - If the JAXR provider encounters an internal error
void removeSlots(Collection slotNames)
throws JAXRException
slotNames - the Collection of names for Slot objects being removed from this object. Must be a Collection of Strings
JAXRException - If the JAXR provider encounters an internal error
Slot getSlot(String slotName)
throws JAXRException
slotName - the name of the desired Slot object
JAXRException - If the JAXR provider encounters an internal error
Collection getSlots()
throws JAXRException
JAXRException - If the JAXR provider encounters an internal error
|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved.