|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.org.usurper.handlers.basic.AbstractSpecificPropertyHandler
org.org.usurper.handlers.additional.ListOfValuesSpecificPropertyHandler
public class ListOfValuesSpecificPropertyHandler
This handler will give a specific property a value amongst a list of values.
This value will be picked in a parameterized list of values.
The handler will iterate the list until every value is attributed and will then start again from the beginning.
| Constructor Summary | |
|---|---|
ListOfValuesSpecificPropertyHandler(SpecificPropertyDefinition specificPropertyDefinition,
java.util.List<?> values)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
handle(HandledBeanProperty handledBeanProperty)
This method allows the generation of a properties' value. |
java.lang.Object |
handle(HandledConstructorArg handledBeanProperty)
This method allows the generation of a constructor argument. |
| Methods inherited from class org.org.usurper.handlers.basic.AbstractSpecificPropertyHandler |
|---|
getHandledPropertyName, getTargetProperty, getValueObjectClass, setHandledPropertyName, setValueObjectClass |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListOfValuesSpecificPropertyHandler(SpecificPropertyDefinition specificPropertyDefinition,
java.util.List<?> values)
specificPropertyDefinition - values - | Method Detail |
|---|
public java.lang.Object handle(HandledBeanProperty handledBeanProperty)
IHandler
handledBeanProperty - The bean property's info
IHandler.handle(org.org.usurper.model.HandledBeanProperty)public java.lang.Object handle(HandledConstructorArg handledBeanProperty)
IHandler
handledBeanProperty - The constructor's arg's info
IHandler.handle(org.org.usurper.model.HandledConstructorArg)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||