|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.tools.objectmodel.Class
public class Class
A "meta" class for any object. This is used to dynamically extend the objects features via the registration of additional methods (and maybe attributes some time).
| Constructor Summary | |
|---|---|
Class(Class javaclass)
|
|
Class(Class javaclass,
Object id)
|
|
Class(IClassSelector selector)
|
|
| Method Summary | |
|---|---|
IField[] |
getFields()
All known IField instances of this. |
IMethod[] |
getMethods()
All known IMethod instances of this. |
IClassSelector |
getSelector()
The unique selector to this IClass. |
IField |
lookupField(String name)
The single IField with the given name. |
IMethod |
lookupMethod(String name)
The single IMethod with the given name. |
void |
registerField(IField property)
|
void |
registerMethod(IMethod method)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Class(IClassSelector selector)
public Class(Class javaclass)
public Class(Class javaclass,
Object id)
| Method Detail |
|---|
public IField[] getFields()
IClassIField instances of this. If no fields are available,
this method returns an empty array.
getFields in interface IClassIField instances of this.public IMethod[] getMethods()
IClassIMethod instances of this. If no methods are available,
this method returns an empty array.
getMethods in interface IClassIMethod instances of this.public IClassSelector getSelector()
IClassIClass.
getSelector in interface IClassIClass.public IField lookupField(String name)
IClassIField with the given name.
lookupField in interface IClassname - The name of the IField to lookup.
IField with the given name.public IMethod lookupMethod(String name)
IClassIMethod with the given name.
lookupMethod in interface IClassname - The name of the IMethod to lookup.
IMethod with the given name.public void registerField(IField property)
public void registerMethod(IMethod method)
|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||