|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UjoPropertyList
The immutable list of UjoProperties. The UjoPropertyList class is a subset of the methods from class List<UjoProperty>.
| Method Summary | ||
|---|---|---|
boolean |
contains(UjoProperty o)
Returns true if list contains property from the parameter. |
|
UjoProperty |
find(java.lang.String name,
boolean throwException)
Find a property by property name from parameter. |
|
UjoProperty |
find(Ujo ujo,
java.lang.String name,
boolean throwException)
Find UjoProperty by name |
|
UjoProperty |
find(Ujo ujo,
java.lang.String name,
UjoAction action,
boolean result,
boolean throwException)
Find a property by property name from parameter. |
|
UjoProperty |
get(int index)
Get property on requered index |
|
java.lang.Class |
getType()
Returns a class of the related UJO |
|
java.lang.String |
getTypeName()
Returns a class name of the related UJO |
|
boolean |
isEmpty()
Is the collection empty? |
|
java.util.Iterator<UjoProperty> |
iterator()
Create an interator for all properties. |
|
UjoProperty |
last()
Get last property |
|
|
newInstance()
Create new Instance |
|
int |
size()
Returns a total count of its properties |
|
UjoProperty[] |
toArray()
Returns a copy of internal array |
|
| Method Detail |
|---|
UjoProperty find(java.lang.String name,
boolean throwException)
throws java.lang.IllegalArgumentException
name - A property name.throwException - If result not found an Exception is throwed, or a null can be returned.
java.lang.IllegalArgumentException
UjoProperty find(Ujo ujo,
java.lang.String name,
boolean throwException)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
UjoProperty find(Ujo ujo,
java.lang.String name,
UjoAction action,
boolean result,
boolean throwException)
throws java.lang.IllegalArgumentException
ujo - An Ujo objectname - A property name.action - Action type UjoAction.ACTION_* .result - Required result of action.throwException - If result not found an Exception is throwed, or a null can be returned.
java.lang.IllegalArgumentExceptionUjoProperty[] toArray()
UjoProperty last()
java.lang.Class getType()
<UJO extends Ujo> UJO newInstance()
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionjava.lang.String getTypeName()
UjoProperty get(int index)
int size()
boolean isEmpty()
boolean contains(UjoProperty o)
java.util.Iterator<UjoProperty> iterator()
iterator in interface java.lang.Iterable<UjoProperty>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||