org.ujorm.implementation.orm
Class RelationToOne<UJO extends ExtendedOrmUjo,VALUE>
java.lang.Object
org.ujorm.extensions.Property<U,VALUE>
org.ujorm.implementation.orm.OrmProperty<UJO,VALUE>
org.ujorm.implementation.orm.RelationToOne<UJO,VALUE>
- All Implemented Interfaces:
- CharSequence, Comparable<Key>, CriterionProvider<UJO,VALUE>, Key<UJO,VALUE>, UjoProperty<UJO,VALUE>
public class RelationToOne<UJO extends ExtendedOrmUjo,VALUE>
- extends OrmProperty<UJO,VALUE>
Foreign key property
- Author:
- Pavel Ponec
| Methods inherited from class org.ujorm.extensions.Property |
_nextRawSequence, add, compareTo, copy, descending, descending, equals, equalsName, forAll, forNone, forSql, getDefault, getDomainType, getIndex, getName, getType, getValue, charAt, checkLock, checkValidity, init, isAscending, isDefault, isDirect, isTypeOf, length, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, setValue, setValueFromDefault, subSequence, toString, toStringFull, where, where, whereEq, whereEq, whereFilled, whereGe, whereGt, whereIn, whereIn, whereLe, whereLt, whereNeq, whereNotFilled, whereNotIn, whereNotIn, whereNotNull, whereNull, writeDefault |
RelationToOne
protected RelationToOne(String name,
Class type,
Key relatedKey)
getRelatedKey
public Key getRelatedKey()
- Return
null if no related key was assigned.
newInstance
public static <UJO extends ExtendedOrmUjo,VALUE extends ExtendedOrmUjo> RelationToOne<UJO,VALUE> newInstance(Class<VALUE> type,
Key<VALUE,?> relatedKey)
- A Property Factory
Copyright © 2012. All Rights Reserved.