|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ListUjoProperty<UJO extends Ujo,ITEM>
A property list metadata of Unified Data Object.
| Method Summary | |
|---|---|
boolean |
addItem(UJO ujo,
ITEM value)
Add an Item Value. |
ITEM |
getItem(UJO ujo,
int index)
Returns a value of property. |
int |
getItemCount(UJO ujo)
Returns a count of Items. |
java.lang.Class<ITEM> |
getItemType()
Returns a class of the property. |
java.util.List<ITEM> |
getList(UJO ujo)
Return a not null List. |
boolean |
isDefault(UJO ujo)
Indicates whether a list of items is null or empty. |
boolean |
isItemTypeOf(java.lang.Class type)
Returns true if the item type is a type or subtype of the parameter class. |
boolean |
removeItem(UJO ujo,
ITEM value)
Removes the first occurrence in this list of the specified element. |
ITEM |
setItem(UJO ujo,
int index,
ITEM value)
Set a property item value. |
| 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 |
| Method Detail |
|---|
java.lang.Class<ITEM> getItemType()
int getItemCount(UJO ujo)
boolean isItemTypeOf(java.lang.Class type)
ITEM getItem(UJO ujo,
int index)
java.util.List<ITEM> getList(UJO ujo)
getItem(Ujo, int)
ITEM setItem(UJO ujo,
int index,
ITEM value)
boolean addItem(UJO ujo,
ITEM value)
boolean removeItem(UJO ujo,
ITEM value)
boolean isDefault(UJO ujo)
isDefault in interface UjoProperty<UJO extends Ujo,java.util.List<ITEM>>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||