org.spockframework.builder
Class PojoGestalt

java.lang.Object
  extended by org.spockframework.builder.PojoGestalt
All Implemented Interfaces:
IGestalt

public class PojoGestalt
extends java.lang.Object
implements IGestalt


Constructor Summary
PojoGestalt(java.lang.Object pojo, java.lang.reflect.Type pojoType, IBlueprint blueprint, java.util.List<ISlotFactory> slotFactories)
           
 
Method Summary
 IBlueprint getBlueprint()
           
 java.lang.Object getProperty(java.lang.String name)
           
 java.lang.Object getSubject()
           
 java.lang.Object invokeMethod(java.lang.String name, java.lang.Object[] args)
           
 void setProperty(java.lang.String name, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PojoGestalt

public PojoGestalt(java.lang.Object pojo,
                   java.lang.reflect.Type pojoType,
                   IBlueprint blueprint,
                   java.util.List<ISlotFactory> slotFactories)
Method Detail

getSubject

public java.lang.Object getSubject()

getBlueprint

public IBlueprint getBlueprint()
Specified by:
getBlueprint in interface IGestalt

getProperty

public java.lang.Object getProperty(java.lang.String name)
Specified by:
getProperty in interface IGestalt

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)
Specified by:
setProperty in interface IGestalt

invokeMethod

public java.lang.Object invokeMethod(java.lang.String name,
                                     java.lang.Object[] args)
Specified by:
invokeMethod in interface IGestalt


Copyright © 2013. All rights reserved