org.eclipse.xtend.backend.types
Class AbstractProperty
java.lang.Object
org.eclipse.xtend.backend.types.AbstractProperty
- All Implemented Interfaces:
- Property
- Direct Known Subclasses:
- BuiltinProperty, JavaBeansProperty
public abstract class AbstractProperty
- extends java.lang.Object
- implements Property
- Author:
- Arno Haase (http://www.haase-consulting.com)
Constructor Summary |
AbstractProperty(BackendType owner,
java.lang.Class<?> javaType,
java.lang.String name,
boolean isReadable,
boolean isWritable)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.xtend.backend.common.Property |
getType |
_owner
protected final BackendType _owner
_name
protected final java.lang.String _name
_isReadable
protected final boolean _isReadable
_isWritable
protected final boolean _isWritable
_converter
protected final JavaBuiltinConverter _converter
AbstractProperty
public AbstractProperty(BackendType owner,
java.lang.Class<?> javaType,
java.lang.String name,
boolean isReadable,
boolean isWritable)
getName
public java.lang.String getName()
- Specified by:
getName
in interface Property
getOwner
public BackendType getOwner()
- Specified by:
getOwner
in interface Property
get
public final java.lang.Object get(ExecutionContext ctx,
java.lang.Object o)
- Specified by:
get
in interface Property
set
public final void set(ExecutionContext ctx,
java.lang.Object o,
java.lang.Object newValue)
- Specified by:
set
in interface Property
getRaw
protected abstract java.lang.Object getRaw(ExecutionContext ctx,
java.lang.Object o)
setRaw
public void setRaw(ExecutionContext ctx,
java.lang.Object o,
java.lang.Object newValue)
isReadable
public boolean isReadable()
- Specified by:
isReadable
in interface Property
isWritable
public boolean isWritable()
- Specified by:
isWritable
in interface Property