net.sf.csutils.groovy.policy
Class GroovyEntityMetaClass

java.lang.Object
  extended by groovy.lang.DelegatingMetaClass
      extended by net.sf.csutils.groovy.RegistryObjectMetaClass
          extended by net.sf.csutils.groovy.policy.GroovyEntityMetaClass
All Implemented Interfaces:
groovy.lang.GroovyObject, groovy.lang.MetaClass, groovy.lang.MetaObjectProtocol, groovy.lang.MutableMetaClass

public abstract class GroovyEntityMetaClass
extends RegistryObjectMetaClass


Field Summary
 
Fields inherited from class groovy.lang.DelegatingMetaClass
delegate
 
Constructor Summary
GroovyEntityMetaClass(groovy.lang.MetaClass pDelegate)
          Creates a new instance.
 
Method Summary
 Object getProperty(Object pObject, String pProperty)
           
static javax.xml.registry.infomodel.RegistryObject getRegistryObject(Object pEntity)
          Reads the wrapped RegistryObject instance from the given GroovyEntity.
 Object invokeMethod(Object pObject, String pMethodName, Object[] pArgs)
           
 void setProperty(Object pObject, String pProperty, Object pValues)
           
 
Methods inherited from class net.sf.csutils.groovy.RegistryObjectMetaClass
getMetaModel
 
Methods inherited from class groovy.lang.DelegatingMetaClass
addMetaBeanProperty, addMetaMethod, addNewInstanceMethod, addNewStaticMethod, equals, getAdaptee, getAttribute, getAttribute, getClassNode, getMetaClass, getMetaMethod, getMetaMethods, getMetaProperty, getMethods, getProperties, getProperty, getProperty, getStaticMetaMethod, getStaticMetaMethod, getTheClass, hashCode, hasProperty, initialize, invokeConstructor, invokeMethod, invokeMethod, invokeMethod, invokeMissingMethod, invokeMissingProperty, invokeStaticMethod, isGroovyObject, isModified, pickMethod, respondsTo, respondsTo, selectConstructorAndTransformArguments, setAdaptee, setAttribute, setAttribute, setMetaClass, setProperty, setProperty, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GroovyEntityMetaClass

public GroovyEntityMetaClass(groovy.lang.MetaClass pDelegate)
Creates a new instance.

Parameters:
pDelegate - The proxied meta class.
Method Detail

getRegistryObject

public static javax.xml.registry.infomodel.RegistryObject getRegistryObject(Object pEntity)
Reads the wrapped RegistryObject instance from the given GroovyEntity.

Parameters:
pEntity - The GroovyEntity instance.
Returns:
The wrapped RegistryObject instance.

setProperty

public void setProperty(Object pObject,
                        String pProperty,
                        Object pValues)
Specified by:
setProperty in interface groovy.lang.MetaObjectProtocol
Overrides:
setProperty in class RegistryObjectMetaClass

invokeMethod

public Object invokeMethod(Object pObject,
                           String pMethodName,
                           Object[] pArgs)
Specified by:
invokeMethod in interface groovy.lang.MetaObjectProtocol
Overrides:
invokeMethod in class RegistryObjectMetaClass

getProperty

public Object getProperty(Object pObject,
                          String pProperty)
Specified by:
getProperty in interface groovy.lang.MetaObjectProtocol
Overrides:
getProperty in class RegistryObjectMetaClass


Copyright © 2009-2010. All Rights Reserved.