com.advancedpwr.record.inspect
Class AccessorMethodPath

java.lang.Object
  extended by com.advancedpwr.record.AccessPath
      extended by com.advancedpwr.record.inspect.AccessorMethodPath

public class AccessorMethodPath
extends AccessPath

An AccessPath representing object access through Java Bean convention setter / getter accessor methods.

Author:
Matthew Avery, mavery@advancedpwr.com on May 29, 2010

Field Summary
protected  Method fieldGetter
           
protected  Method fieldSetter
           
 
Fields inherited from class com.advancedpwr.record.AccessPath
fieldInstanceTree
 
Constructor Summary
AccessorMethodPath()
           
 
Method Summary
 Set<Class> getExceptions()
           
 Method getGetter()
           
 Class getParameterClass()
           
 Method getSetter()
           
 String pathName()
           
 void setGetter(Method getter)
           
 void setSetter(Method setter)
           
 
Methods inherited from class com.advancedpwr.record.AccessPath
getInstanceTree, getResult, getResultClass, getReturnType, nameRoot, setTree, suffix, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fieldSetter

protected Method fieldSetter

fieldGetter

protected Method fieldGetter
Constructor Detail

AccessorMethodPath

public AccessorMethodPath()
Method Detail

getSetter

public Method getSetter()

setSetter

public void setSetter(Method setter)

pathName

public String pathName()
Overrides:
pathName in class AccessPath

getParameterClass

public Class getParameterClass()
Overrides:
getParameterClass in class AccessPath

getExceptions

public Set<Class> getExceptions()
Overrides:
getExceptions in class AccessPath

getGetter

public Method getGetter()

setGetter

public void setGetter(Method getter)


Copyright © 2011 Advanced Power Co. All Rights Reserved.