|
Ujorm release 1.22 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujorm.core.PropertyGroup<UJO>
public class PropertyGroup<UJO extends Ujo>
The Immutable and Serializable UjoProperty collection.
| Constructor Summary | |
|---|---|
PropertyGroup(java.lang.Class<UJO> baseClass,
UjoProperty<UJO,?>... properties)
Constructor |
|
| Method Summary | ||
|---|---|---|
boolean |
contains(java.lang.Object property)
Test collection if it contains a property parameter |
|
boolean |
equals(java.lang.Object obj)
|
|
UjoProperty<UJO,?> |
get(int i)
Get First Properties |
|
java.lang.Class<UJO> |
getBaseClass()
Get Class |
|
UjoProperty<UJO,?> |
getFirstProperty()
Get The First Properties |
|
UjoProperty<UJO,?> |
getLastProperty()
Get The Last Properties |
|
int |
hashCode()
|
|
java.util.Iterator<UjoProperty<UJO,?>> |
iterator()
Create Property Interator |
|
static
|
newInstance(java.lang.Class<T> baseClass,
UjoProperty<T,?>... properties)
Create new Instance |
|
int |
size()
Size |
|
UjoProperty[] |
toArray()
Convert Properties to an Array |
|
java.lang.String |
toString()
Returns the property names |
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyGroup(java.lang.Class<UJO> baseClass,
UjoProperty<UJO,?>... properties)
baseClass - Not null base class for all propertiesproperties - Property array#newInstance(java.lang.Class, org.ujorm.UjoProperty[]) | Method Detail |
|---|
public java.lang.Class<UJO> getBaseClass()
public UjoProperty<UJO,?> getFirstProperty()
public UjoProperty<UJO,?> getLastProperty()
public UjoProperty<UJO,?> get(int i)
public int size()
public boolean contains(java.lang.Object property)
public java.util.Iterator<UjoProperty<UJO,?>> iterator()
iterator in interface java.lang.Iterable<UjoProperty<UJO extends Ujo,?>>public UjoProperty[] toArray()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
public static <T extends Ujo> PropertyGroup<T> newInstance(java.lang.Class<T> baseClass,
UjoProperty<T,?>... properties)
|
Ujorm release 1.22 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||