|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface representing contained objects providing conversions between underlying representations
| Method Summary | |
|---|---|
Object |
get()
Gets a clone of the contained object |
Object |
getAs(Class objectClass)
Gets a clone of the contained object, converted to the Class specified by objectClass |
Class |
getObjectClass()
Gets the Class of the contained object |
List |
getSupportedClasses()
Gets the List of the Classes supported by the underlying implementation |
void |
set(Object object)
Sets the contained object |
| Method Detail |
public Class getObjectClass()
public List getSupportedClasses()
public void set(Object object)
throws Exception
object - the object to set
UnsupportedContainedObjectClassException - when object class is not supported by the underlying implementation
Exceptionpublic Object get()
public Object getAs(Class objectClass)
throws Exception
objectClass - the class of the object to be returned
UnsupportedContainedObjectClassException - when the Class specified by objectClass is not supported by the underlying implementation
Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||