org.ujoframework.implementation.orm
Class RelationToMany<UJO extends OrmTable,ITEM extends OrmTable>
java.lang.Object
org.ujoframework.extensions.Property<UJO,UjoIterator<ITEM>>
org.ujoframework.implementation.orm.RelationToMany<UJO,ITEM>
- All Implemented Interfaces:
- java.lang.CharSequence, UjoProperty<UJO,UjoIterator<ITEM>>
public class RelationToMany<UJO extends OrmTable,ITEM extends OrmTable>
- extends Property<UJO,UjoIterator<ITEM>>
The relation 1:N to another UJO type items
- Author:
- Pavel Ponec
- See Also:
UjoIterator
|
Constructor Summary |
RelationToMany(java.lang.String name,
java.lang.Class<ITEM> itemType)
Constructor |
RelationToMany(java.lang.String name,
java.lang.Class<ITEM> itemType,
int index,
boolean lock)
Constructor |
| Methods inherited from class org.ujoframework.extensions.Property |
_nextSequence, add, compareTo, copy, descending, equals, getDefault, getIndex, getName, getType, getValue, charAt, checkAttribs, init, isAscending, isDefault, 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 |
RelationToMany
public RelationToMany(java.lang.String name,
java.lang.Class<ITEM> itemType)
- Constructor
RelationToMany
public RelationToMany(java.lang.String name,
java.lang.Class<ITEM> itemType,
int index,
boolean lock)
- Constructor
- Parameters:
name - Property name.itemType - The type of item.index - An property order
getItemType
public java.lang.Class<ITEM> getItemType()
- Returns ItemType
Copyright © 2010. All Rights Reserved.