|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujorm.extensions.Property<U,VALUE>
org.ujorm.implementation.orm.OrmProperty<UJO,VALUE>
org.ujorm.implementation.orm.RelationToOne<UJO,VALUE>
public class RelationToOne<UJO extends ExtendedOrmUjo,VALUE>
Foreign key key
| Field Summary |
|---|
| Fields inherited from class org.ujorm.extensions.Property |
|---|
PROPERTY_SEPARATOR, UNDEFINED_INDEX |
| Constructor Summary | |
|---|---|
protected |
RelationToOne(String name,
Class type,
Key relatedKey)
|
| Method Summary | ||
|---|---|---|
Key |
getRelatedKey()
Return null if no related key was assigned. |
|
static
|
newInstance(Class<VALUE> type,
Key<VALUE,?> relatedKey)
Deprecated. Use the method of(java.lang.Class, org.ujorm.Key) |
|
static
|
of(Class<VALUE> type,
Key<VALUE,?> relatedKey)
A Property Factory |
|
| Methods inherited from class org.ujorm.implementation.orm.OrmProperty |
|---|
lock, of |
| Methods inherited from class org.ujorm.extensions.Property |
|---|
_nextRawSequence, add, add, add, alias, charAt, checkLock, checkValidity, compareTo, copy, descending, descending, equals, equalsName, forAll, forNone, forSql, forSql, forSqlUnchecked, getDefault, getDomainType, getFullName, getIndex, getName, getType, getValidator, getValue, init, isAscending, isComposite, isDefault, isDirect, 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, 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 |
|---|
protected RelationToOne(String name,
Class type,
Key relatedKey)
| Method Detail |
|---|
public 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||