org.optaplanner.core.impl.domain.common
Class DefaultReadMethodAccessor
java.lang.Object
  
org.optaplanner.core.impl.domain.common.DefaultReadMethodAccessor
- All Implemented Interfaces: 
 - ReadMethodAccessor
 
public final class DefaultReadMethodAccessor
- extends Object
- implements ReadMethodAccessor
  
Wraps PropertyDescriptor for faster and easier access.
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DefaultReadMethodAccessor
public DefaultReadMethodAccessor(Method readMethod)
getReturnType
public Class<?> getReturnType()
- Specified by:
 getReturnType in interface ReadMethodAccessor
 
 
getReadMethod
public Method getReadMethod()
- Specified by:
 getReadMethod in interface ReadMethodAccessor
 
 
read
public Object read(Object object)
- Specified by:
 read in interface ReadMethodAccessor
 
 
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.