org.nuxeo.ecm.core.api.model.impl.osm.util
Class MethodAccessor
java.lang.Object
org.nuxeo.ecm.core.api.model.impl.osm.util.MethodAccessor
- All Implemented Interfaces:
- Serializable, MemberAccessor
public class MethodAccessor
- extends Object
- implements MemberAccessor
- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
MethodAccessor
public MethodAccessor(Method getter,
Method setter)
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
getSetterMethod
public Method getSetterMethod()
getGetterMethod
public Method getGetterMethod()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.