org.nuxeo.ecm.core.api.model.impl.osm.util
Class FieldAccessor
java.lang.Object
org.nuxeo.ecm.core.api.model.impl.osm.util.FieldAccessor
- All Implemented Interfaces:
- Serializable, MemberAccessor
public class FieldAccessor
- extends Object
- implements MemberAccessor
- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
FieldAccessor
public FieldAccessor(Field field,
boolean isReadOnly)
FieldAccessor
public FieldAccessor(Field field)
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnly
in interface MemberAccessor
get
public Object get(Object instance)
throws AccessException
- Specified by:
get
in interface MemberAccessor
- Throws:
AccessException
set
public void set(Object instance,
Object value)
throws AccessException
- Specified by:
set
in interface MemberAccessor
- Throws:
AccessException
getType
public Class<?> getType()
- Specified by:
getType
in interface MemberAccessor
getDeclaringClass
public Class<?> getDeclaringClass()
- Specified by:
getDeclaringClass
in interface MemberAccessor
getField
public Field getField()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.