|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujorm.extensions.Property<UJO,VALUE>
org.ujorm.implementation.orm.RelationToOne<UJO,VALUE>
public class RelationToOne<UJO extends ExtendedOrmUjo,VALUE>
Foreign key property
| Constructor Summary | |
|---|---|
protected |
RelationToOne(java.lang.String name,
java.lang.Class type,
org.ujorm.UjoProperty relatedKey)
|
| Method Summary | ||
|---|---|---|
org.ujorm.UjoProperty |
getRelatedKey()
Return null if no related key was assigned. |
|
static
|
newInstance(java.lang.Class<VALUE> type,
org.ujorm.UjoProperty<VALUE,?> relatedKey)
A Property Factory |
|
| Methods inherited from class org.ujorm.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 |
| Constructor Detail |
|---|
protected RelationToOne(java.lang.String name,
java.lang.Class type,
org.ujorm.UjoProperty relatedKey)
| Method Detail |
|---|
public org.ujorm.UjoProperty getRelatedKey()
public static <UJO extends ExtendedOrmUjo,VALUE extends ExtendedOrmUjo> RelationToOne<UJO,VALUE> newInstance(java.lang.Class<VALUE> type,
org.ujorm.UjoProperty<VALUE,?> relatedKey)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||