org.ujorm.orm
Class OrmKeyFactory<UJO extends OrmUjo>
java.lang.Object
org.ujorm.core.KeyFactory<UJO>
org.ujorm.orm.OrmKeyFactory<UJO>
- All Implemented Interfaces:
- Serializable
public class OrmKeyFactory<UJO extends OrmUjo>
- extends KeyFactory<UJO>
OrmFactory
- See Also:
- Serialized Form
|
Method Summary |
protected
|
createKey(String name,
T defaultValue,
Validator<T> validator)
Common protected factory method |
|
newRelation()
A KeyIterator Factory creates an new key and assign a next index. |
| Methods inherited from class org.ujorm.core.KeyFactory |
add, addKey, checkLock, createKeyList, createKeyName, getKeys, getSuperKeys, getTmpStore, lock, lockAndSize, newClassKey, newKey, newKey, newKey, newKey, newKey, newKey, newKeyAlias, newKeyAlias, newKeyAlias, newKeyAlias, newKeyDefault, newKeyDefault, newListKey, newListKey, onCreate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrmKeyFactory
public OrmKeyFactory(Class<? extends UJO> type,
boolean propertyCamelCase,
KeyList<?> abstractSuperProperties)
OrmKeyFactory
public OrmKeyFactory(Class<? extends UJO> type,
boolean propertyCamelCase)
OrmKeyFactory
public OrmKeyFactory(Class<? extends UJO> type)
createKey
protected <T> Key<UJO,T> createKey(String name,
T defaultValue,
Validator<T> validator)
- Common protected factory method
- Overrides:
createKey in class KeyFactory<UJO extends OrmUjo>
newRelation
public <UJO extends ExtendedOrmUjo,ITEM extends ExtendedOrmUjo> RelationToMany<UJO,ITEM> newRelation()
- A KeyIterator Factory creates an new key and assign a next index.
- Returns:
- RelationToMany
Copyright 2013, Pavel Ponec