org.crsh.jcr.groovy
Class NodeMetaClass

java.lang.Object
  extended by groovy.lang.MetaClassImpl
      extended by org.crsh.jcr.groovy.NodeMetaClass
All Implemented Interfaces:
groovy.lang.MetaClass, groovy.lang.MetaObjectProtocol, groovy.lang.MutableMetaClass

public class NodeMetaClass
extends groovy.lang.MetaClassImpl


Nested Class Summary
 
Nested classes/interfaces inherited from class groovy.lang.MetaClassImpl
groovy.lang.MetaClassImpl.Index
 
Field Summary
 
Fields inherited from class groovy.lang.MetaClassImpl
getPropertyMethod, INVOKE_METHOD_METHOD, invokeMethodMethod, isGroovyObject, isMap, metaMethodIndex, METHOD_MISSING, PROPERTY_MISSING, registry, setPropertyMethod, STATIC_METHOD_MISSING, STATIC_PROPERTY_MISSING, theCachedClass, theClass
 
Constructor Summary
NodeMetaClass(groovy.lang.MetaClassRegistry registry, Class<? extends javax.jcr.Node> theClass)
           
 
Method Summary
private  Object _getProperty(Object object, String propertyName)
           
private  Object _invokeMethod(Object object, String name, Object[] args)
           
private  void _setProperty(Object object, String propertyName, Object propertyValue)
           
 Object getProperty(Object object, String property)
           
 Object invokeMethod(Object object, String name, Object[] args)
           
 void setProperty(Object object, String property, Object newValue)
           
static void setup()
           
 
Methods inherited from class groovy.lang.MetaClassImpl
addMetaBeanProperty, addMetaMethod, addMetaMethodToIndex, addNewInstanceMethod, addNewStaticMethod, applyPropertyDescriptors, checkIfGroovyObjectMethod, checkInitalised, chooseMethod, clearInvocationCaches, createConstructorSite, createPogoCallCurrentSite, createPogoCallSite, createPojoCallSite, createStaticSite, dropMethodCache, dropStaticMethodCache, findMethodInClassHierarchy, findMixinMethod, findOwnMethod, findPropertyInClassHierarchy, getAdditionalMetaMethods, getAttribute, getAttribute, getAttribute, getClassInfo, getClassNode, getEffectiveGetMetaProperty, getMetaMethod, getMetaMethods, getMetaProperty, getMethods, getMethodWithCaching, getMethodWithoutCaching, getProperties, getProperty, getStaticMetaMethod, getSubclassMetaMethods, getSuperClasses, getTheCachedClass, getTheClass, getVersion, hasProperty, incVersion, initialize, invokeConstructor, invokeConstructorAt, invokeMethod, invokeMethod, invokeMissingMethod, invokeMissingProperty, invokeStaticMethod, invokeStaticMissingProperty, isGroovyObject, isInitialized, isModified, onGetPropertyFoundInHierarchy, onInvokeMethodFoundInHierarchy, onMixinMethodFound, onSetPropertyFoundInHierarchy, onSuperMethodFoundInHierarchy, onSuperPropertyFoundInHierarchy, pickMethod, respondsTo, respondsTo, retrieveConstructor, retrieveMethod, retrieveStaticMethod, selectConstructorAndTransformArguments, setAttribute, setAttribute, setProperties, setProperty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeMetaClass

public NodeMetaClass(groovy.lang.MetaClassRegistry registry,
                     Class<? extends javax.jcr.Node> theClass)
              throws IntrospectionException
Throws:
IntrospectionException
Method Detail

setup

public static void setup()

invokeMethod

public Object invokeMethod(Object object,
                           String name,
                           Object[] args)
Specified by:
invokeMethod in interface groovy.lang.MetaObjectProtocol
Overrides:
invokeMethod in class groovy.lang.MetaClassImpl

_invokeMethod

private Object _invokeMethod(Object object,
                             String name,
                             Object[] args)
                      throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

getProperty

public Object getProperty(Object object,
                          String property)
Specified by:
getProperty in interface groovy.lang.MetaObjectProtocol
Overrides:
getProperty in class groovy.lang.MetaClassImpl

_getProperty

private Object _getProperty(Object object,
                            String propertyName)
                     throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

setProperty

public void setProperty(Object object,
                        String property,
                        Object newValue)
Specified by:
setProperty in interface groovy.lang.MetaObjectProtocol
Overrides:
setProperty in class groovy.lang.MetaClassImpl

_setProperty

private void _setProperty(Object object,
                          String propertyName,
                          Object propertyValue)
                   throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException


Copyright © 2014 eXo Platform SAS. All Rights Reserved.