Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.groovy.grails.commons.metaclass
[Groovy] Class PropertyExpression

    java.lang.Object
      org.codehaus.groovy.grails.commons.metaclass.PropertyExpression

All Implemented Interfaces:
  java.lang.Cloneable

    class PropertyExpression
    extends java.lang.Object

Designed for use with Groovy property access expressions like foo.bar.stuff. It takes the expression and produces a String equivalent like "foo.bar.stuff" which can then later be used to evaluate the value within a different context.

Authors:
  Graeme Rocher

Since:
  1.1

Constructor Summary
`PropertyExpression(java.lang.String initialName)`

Method Summary
`java.lang.Object` | `getProperty(java.lang.String name)`
`java.lang.Object` | `getValue()`

Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()

Constructor Detail

### PropertyExpression

    PropertyExpression(java.lang.String initialName)

Method Detail

### getProperty

    java.lang.Object getProperty(java.lang.String name)

### getValue

    java.lang.Object getValue()

Groovy Documentation