|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.application.space.envsupport.observer.gui.SObjectInspector
public class SObjectInspector
A convenience class for retrieving properties from objects.
| Constructor Summary | |
|---|---|
SObjectInspector()
|
|
| Method Summary | |
|---|---|
static Object |
getId(Object obj)
Retrieves the id of an object. |
static Object |
getProperty(Object obj,
String name)
Retrieves a property from an IPropertyObject. |
static Object |
getProperty(Object obj,
String name,
String objname)
Retrieves a property from an IPropertyObject. |
static Object |
getProperty(Object obj,
String name,
String objname,
IValueFetcher fetcher)
Retrieves a property from an IPropertyObject. |
static Set |
getPropertyNames(Object obj)
Retrieves the names of all properties of an Object. |
static Object |
getType(Object obj)
Retrieves the type of an object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SObjectInspector()
| Method Detail |
|---|
public static Object getId(Object obj)
obj - the object being inspected
public static Object getType(Object obj)
obj - the object being inspected
public static Set getPropertyNames(Object obj)
obj - the object being inspected
public static Object getProperty(Object obj,
String name)
obj - the object being inspectedname - name of the property
public static Object getProperty(Object obj,
String name,
String objname)
obj - the object being inspectedname - name of the property
public static Object getProperty(Object obj,
String name,
String objname,
IValueFetcher fetcher)
obj - the object being inspectedname - name of the property
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||