public class RelationToOne<UJO extends ExtendedOrmUjo,VALUE> extends OrmProperty<UJO,VALUE>
PROPERTY_SEPARATOR, UNDEFINED_INDEX| Modifier | Constructor and Description |
|---|---|
protected |
RelationToOne(String name,
Class type,
Key relatedKey) |
| Modifier and Type | Method and Description |
|---|---|
Key |
getRelatedKey()
Return
null if no related key was assigned. |
static <UJO extends ExtendedOrmUjo,VALUE extends ExtendedOrmUjo> |
newInstance(Class<VALUE> type,
Key<VALUE,?> relatedKey)
A Property Factory
|
lock, of_nextRawSequence, add, add, charAt, checkLock, checkValidity, compareTo, copy, descending, descending, equals, equalsName, forAll, forNone, forSql, forSql, forSqlUnchecked, getDefault, getDomainType, getIndex, getName, getType, getValidator, getValue, init, isAscending, isComposite, isDefault, isDirect, isPropertySeparatorDisabled, isTypeOf, length, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, setValue, setValue, setValueFromDefault, subSequence, toString, toStringFull, toStringFull, where, where, whereEq, whereEq, whereFilled, whereGe, whereGt, whereIn, whereIn, whereLe, whereLt, whereNeq, whereNotFilled, whereNotIn, whereNotIn, whereNotNull, whereNull, writeDefaultpublic Key getRelatedKey()
null if no related key was assigned.public static <UJO extends ExtendedOrmUjo,VALUE extends ExtendedOrmUjo> RelationToOne<UJO,VALUE> newInstance(Class<VALUE> type, Key<VALUE,?> relatedKey)
Copyright 2013, Pavel Ponec