|
|||||||||
| Home >> All >> org >> progeeks >> [ meta overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.progeeks.meta
Interface MetaKit

- public interface MetaKit
Abstraction of a meta-object implementation layer. This provides some direct access to the adapter layer that may be necessary when interacting with certain meta-object property values.
- Version:
- $Revision: 1.2 $
| Method Summary | |
java.lang.Object |
getInternalObject(MetaObject object)
Returns the internal object representation for the specified meta-object if one exists. |
MetaClass |
getMetaClassForObject(java.lang.Object object)
Returns the appropriate meta-class for the specified object. |
MetaClass |
getMetaClassForObject(java.lang.Object object,
MetaClassRegistry classRegistry)
Returns the appropriate meta-class for the specified object. |
MetaObjectFactory |
getMetaObjectFactory()
Returns a factory that can be used to create new MetaObject based values using this kit's underlying implementation. |
MetaObject |
wrapObject(java.lang.Object object,
MetaClass mClass)
Wraps the specified object in a meta-object adapter specific to this kit's implementation layer. |
| Method Detail |
getInternalObject
public java.lang.Object getInternalObject(MetaObject object)
- Returns the internal object representation for the specified
meta-object if one exists. For meta-object implementations that
wrap an internal object, this will return the internal object.
null is returned if the meta-object implementation does not
internally wrap real objects.
getMetaClassForObject
public MetaClass getMetaClassForObject(java.lang.Object object, MetaClassRegistry classRegistry)
- Returns the appropriate meta-class for the specified object.
If an appropriate meta-class has not been registered then
this method returns null.
getMetaClassForObject
public MetaClass getMetaClassForObject(java.lang.Object object)
- Returns the appropriate meta-class for the specified object.
If an appropriate meta-class has not been registered then
this method returns null. The meta-class is looked up in the root
class registry.
wrapObject
public MetaObject wrapObject(java.lang.Object object, MetaClass mClass)
- Wraps the specified object in a meta-object adapter specific
to this kit's implementation layer. Returns null if the object
cannot be wrapped. Throws UnsupportedOperationException if this
kit doesn't support wrapping.
getMetaObjectFactory
public MetaObjectFactory getMetaObjectFactory()
- Returns a factory that can be used to create new MetaObject
based values using this kit's underlying implementation.
|
|||||||||
| Home >> All >> org >> progeeks >> [ meta overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC