|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujorm.extensions.Property<UJO,VALUE>
org.ujorm.extensions.AbstractCollectionProperty<UJO,UjoIterator<ITEM>,ITEM>
org.ujorm.implementation.orm.RelationToMany<UJO,ITEM>
public class RelationToMany<UJO extends ExtendedOrmUjo,ITEM extends ExtendedOrmUjo>
The relation 1:N to another UJO type items
UjoIterator| Field Summary |
|---|
| Fields inherited from class org.ujorm.extensions.Property |
|---|
PROPERTY_SEPARATOR, UNDEFINED_INDEX |
| Constructor Summary | |
|---|---|
RelationToMany(String name)
Constructor |
|
RelationToMany(String name,
Class<ITEM> itemType)
Constructor |
|
RelationToMany(String name,
Class<ITEM> itemType,
int index,
boolean lock)
Constructor |
|
| Method Summary | |
|---|---|
UjoIterator<ITEM> |
of(UJO ujo)
An alias for the method of(Ujo). |
| Methods inherited from class org.ujorm.extensions.AbstractCollectionProperty |
|---|
checkValidity, getItemType, initItemType, isItemTypeOf |
| Methods inherited from class org.ujorm.extensions.Property |
|---|
_nextRawSequence, add, add, add, alias, charAt, checkLock, compareTo, copy, descending, descending, equals, equalsName, forAll, forNone, forSql, forSql, forSqlUnchecked, getDefault, getDomainType, getFullName, getIndex, getName, getType, getValidator, getValue, init, isAscending, isComposite, isDefault, isDirect, isDomainOf, isPropertySeparatorDisabled, isTypeOf, length, lock, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, of, of, of, of, of, of, of, of, of, setValue, setValue, setValueFromDefault, subSequence, toString, toStringFull, toStringFull, where, where, whereEq, whereEq, whereFilled, whereGe, whereGt, whereIn, whereIn, whereLe, whereLt, whereNeq, whereNotFilled, whereNotIn, whereNotIn, whereNotNull, whereNull, writeDefault |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RelationToMany(String name)
name - optionalitemType - optional
public RelationToMany(String name,
Class<ITEM> itemType)
name - optionalitemType - optional
public RelationToMany(String name,
Class<ITEM> itemType,
int index,
boolean lock)
name - Property name.itemType - The type of item (optional)index - An key order (optional)| Method Detail |
|---|
public UjoIterator<ITEM> of(UJO ujo)
null value is not replaced for a default one.
of in interface Key<UJO extends ExtendedOrmUjo,UjoIterator<ITEM extends ExtendedOrmUjo>>of in class Property<UJO extends ExtendedOrmUjo,UjoIterator<ITEM extends ExtendedOrmUjo>>Property.of(Ujo)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||