org.ujoframework.implementation.bean
Class BeanPropertyList<UJO extends Ujo,ITEM>
java.lang.Object
org.ujoframework.extensions.Property<UJO,java.util.List<ITEM>>
org.ujoframework.extensions.ListProperty<UJO,ITEM>
org.ujoframework.implementation.bean.BeanPropertyList<UJO,ITEM>
- All Implemented Interfaces:
- java.lang.CharSequence, ListUjoProperty<UJO,ITEM>, ValueAgent<java.lang.Object,java.lang.Object>, UjoProperty<UJO,java.util.List<ITEM>>
public class BeanPropertyList<UJO extends Ujo,ITEM>
- extends ListProperty<UJO,ITEM>
- implements ValueAgent<java.lang.Object,java.lang.Object>, ListUjoProperty<UJO,ITEM>
Property List implementation. There is used an List collection.
- Author:
- Pavel Ponec
- See Also:
BeanProperty
|
Constructor Summary |
BeanPropertyList(java.lang.String name,
java.lang.Class<ITEM> itemType,
int index)
Constructor |
|
Method Summary |
java.lang.Object |
readValue(java.lang.Object bean)
WARNING: There is recommended to call the method from the method Ujo.readProperty(...) |
void |
writeValue(java.lang.Object bean,
java.lang.Object value)
WARNING: There is recommended to call the method from the method Ujo.writeProperty(...) only. |
| Methods inherited from class org.ujoframework.extensions.ListProperty |
addItem, getItem, getItemCount, getItemType, getList, initList, isDefault, isItemTypeOf, newListProperty, newListProperty, newListProperty, removeItem, setItem, sort |
| Methods inherited from class org.ujoframework.extensions.Property |
_nextSequence, add, compareTo, copy, descending, equals, getDefault, getIndex, getName, getType, getValue, charAt, checkAttribs, init, isAscending, isDirect, isTypeOf, length, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, of, setValue, setValueFromDefault, subSequence, toString, writeDefault |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.ujoframework.UjoProperty |
add, copy, descending, equals, getDefault, getIndex, getName, getType, getValue, isAscending, isDirect, isTypeOf, of, setValue, toString |
| Methods inherited from interface java.lang.CharSequence |
charAt, length, subSequence |
BeanPropertyList
public BeanPropertyList(java.lang.String name,
java.lang.Class<ITEM> itemType,
int index)
- Constructor
writeValue
public void writeValue(java.lang.Object bean,
java.lang.Object value)
throws java.lang.IllegalArgumentException
- WARNING: There is recommended to call the method from the method Ujo.writeProperty(...) only.
A direct call can bypass a important actions implemented in the writeProperty(method).
- Specified by:
writeValue in interface ValueAgent<java.lang.Object,java.lang.Object>
- Throws:
java.lang.IllegalArgumentException
readValue
public java.lang.Object readValue(java.lang.Object bean)
- WARNING: There is recommended to call the method from the method
Ujo.readProperty(...) only.
A direct call can bypass a important actions implemented in the readProperty(method).
- Specified by:
readValue in interface ValueAgent<java.lang.Object,java.lang.Object>
Copyright © 2010. All Rights Reserved.