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)
Deprecated.
Use the method
of(java.lang.Class, org.ujorm.Key) |
static <UJO extends ExtendedOrmUjo,VALUE extends ExtendedOrmUjo> |
of(Class<VALUE> type,
Key<VALUE,?> relatedKey)
A Property Factory
|
loadOrmUjo, lock, of_nextRawSequence, add, add, add, alias, compareTo, copy, descending, descending, equals, equals, equalsName, forAll, forNone, forSql, forSql, forSqlUnchecked, getDefault, getDomainType, getFullName, getIndex, getName, getType, getValidator, getValue, hashCode, charAt, checkLock, checkValidity, init, isAscending, isComposite, isDefault, isDirect, isDomainOf, isPropertySeparatorDisabled, isTypeOf, length, 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, where, whereAll, whereEq, whereEq, whereEq, whereGe, whereGt, whereHasLength, whereIn, whereIn, whereIsEmpty, whereLe, whereLt, whereNeq, whereNone, whereNotIn, whereNotIn, whereNotNull, whereNull, writeDefaultclone, finalize, getClass, notify, notifyAll, wait, wait, waitcodePoints, charspublic Key getRelatedKey()
null if no related key was assigned.public static <UJO extends ExtendedOrmUjo,VALUE extends ExtendedOrmUjo> RelationToOne<UJO,VALUE> of(Class<VALUE> type, Key<VALUE,?> relatedKey)
public static <UJO extends ExtendedOrmUjo,VALUE extends ExtendedOrmUjo> RelationToOne<UJO,VALUE> newInstance(Class<VALUE> type, Key<VALUE,?> relatedKey)
of(java.lang.Class, org.ujorm.Key)Copyright 2013, Pavel Ponec