|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.org.usurper.handlers.basic.AbstractPropertyTypeHandler
org.org.usurper.handlers.additional.ValueObjectPropertyTypeHandler
public class ValueObjectPropertyTypeHandler
This handler allows for a redundant ;) generation of ValueObjects. Handled Value Object types have to be passed to the constructor(s).
| Constructor Summary | |
|---|---|
ValueObjectPropertyTypeHandler(java.lang.Class<?>... supportedTypes)
This constructor takes a series of Supported types' Classes as a parameter. |
|
ValueObjectPropertyTypeHandler(PropertyTypeDefinition... supportedTypes)
This constructor takes a series of Supported types' PropertyTypeDefinitions as a parameter. |
|
| Method Summary | |
|---|---|
java.lang.Object |
handle(HandledBeanProperty handledBeanProperty)
This method allows the generation of a properties' value. |
java.lang.Object |
handle(HandledConstructorArg handledConstructorArg)
This method allows the generation of a constructor argument. |
| Methods inherited from class org.org.usurper.handlers.basic.AbstractPropertyTypeHandler |
|---|
getHandledTypes, setHandledTypes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ValueObjectPropertyTypeHandler(PropertyTypeDefinition... supportedTypes)
supportedTypes - public ValueObjectPropertyTypeHandler(java.lang.Class<?>... supportedTypes)
supportedTypes - | Method Detail |
|---|
public java.lang.Object handle(HandledBeanProperty handledBeanProperty)
IHandler
handledBeanProperty - The bean property's info
org.org.usurper.handlers.basic.AbstractPropertyTypeHandler#handle()public java.lang.Object handle(HandledConstructorArg handledConstructorArg)
IHandler
handledConstructorArg - The constructor's arg's info
org.org.usurper.handlers.basic.AbstractPropertyTypeHandler#handle()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||