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

## groovy.model
Class PropertyModel

    java.lang.Object
      groovy.model.PropertyModel

All Implemented Interfaces:
  ValueModel

    class PropertyModel
    extends Object

Represents a property of a value as a model.

author:
  James Strachan

version:
  $Revision: 7054 $

Field Summary
`boolean` | `editable`

Constructor Summary
`PropertyModel(ValueModel sourceModel, String property)`
`PropertyModel(ValueModel sourceModel, String property, Class type)`
`PropertyModel(ValueModel sourceModel, String property, Class type, boolean editable)`

Method Summary
`String` | `getProperty()`
`ValueModel` | `getSourceModel()`
`Class` | `getType()`
`Object` | `getValue()`
`boolean` | `isEditable()`
`void` | `setValue(Object value)`

Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll

Field Detail

### editable

    boolean editable

Constructor Detail

### PropertyModel

    public PropertyModel(ValueModel sourceModel, String property)

### PropertyModel

    public PropertyModel(ValueModel sourceModel, String property, Class type)

### PropertyModel

    public PropertyModel(ValueModel sourceModel, String property, Class type, boolean editable)

Method Detail

### getProperty

    public String getProperty()

### getSourceModel

    public ValueModel getSourceModel()

### getType

    public Class getType()

### getValue

    public Object getValue()

### isEditable

    public boolean isEditable()

### setValue

    public void setValue(Object value)

Copyright © 2003-2009 The Codehaus. All rights reserved.