|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
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 errorvoid addSlots(Collection slots) throws JAXRException
slots
- the Collection of Slot objects being added to this object
JAXRException
- If the JAXR provider encounters an internal errorvoid 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 errorvoid 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 errorSlot getSlot(String slotName) throws JAXRException
slotName
- the name of the desired Slot object
JAXRException
- If the JAXR provider encounters an internal errorCollection getSlots() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal error
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Scripting on this page tracks web page traffic, but does not change the content in any way.