|
exedio cope | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.exedio.cope.Feature
com.exedio.cope.Field<E>
com.exedio.cope.FunctionField<E>
com.exedio.cope.ItemField<E>
public final class ItemField<E extends Item>
| Nested Class Summary | |
|---|---|
static class |
ItemField.DeletePolicy
|
| Method Summary | ||
|---|---|---|
void |
appendSelect(com.exedio.cope.Statement bf,
Join join,
com.exedio.cope.Holder<com.exedio.cope.Column> columnHolder,
com.exedio.cope.Holder<Type> typeHolder)
Deprecated. For internal use within COPE only. |
|
void |
appendType(com.exedio.cope.Statement bf,
Join join)
Deprecated. For internal use within COPE only. |
|
|
as(Class<X> clazz)
|
|
BindItemFunction<E> |
bind(Join join)
|
|
|
cast(Class<X> clazz)
Deprecated. Use as(Class) instead |
|
int |
checkTypeColumn()
|
|
ItemField<E> |
copy()
|
|
CompareFunctionCondition |
equalTarget()
|
|
CompareFunctionCondition |
equalTarget(Join targetJoin)
|
|
ItemField.DeletePolicy |
getDeletePolicy()
Returns the delete policy of this field. |
|
String |
getTypeColumnName()
Deprecated. Use SchemaInfo.getTypeColumnName(ItemField) instead |
|
Type<E> |
getValueType()
Returns the type of items, this field accepts instances of. |
|
InstanceOfCondition<E> |
instanceOf(Type[] types)
|
|
InstanceOfCondition<E> |
instanceOf(Type<? extends E> type1)
|
|
InstanceOfCondition<E> |
instanceOf(Type<? extends E> type1,
Type<? extends E> type2)
|
|
InstanceOfCondition<E> |
instanceOf(Type<? extends E> type1,
Type<? extends E> type2,
Type<? extends E> type3)
|
|
InstanceOfCondition<E> |
instanceOf(Type<? extends E> type1,
Type<? extends E> type2,
Type<? extends E> type3,
Type<E> type4)
|
|
boolean |
needsCheckTypeColumn()
|
|
ItemField<E> |
nonUnique()
|
|
InstanceOfCondition<E> |
notInstanceOf(Type[] types)
|
|
InstanceOfCondition<E> |
notInstanceOf(Type<? extends E> type1)
|
|
InstanceOfCondition<E> |
notInstanceOf(Type<? extends E> type1,
Type<? extends E> type2)
|
|
InstanceOfCondition<E> |
notInstanceOf(Type<? extends E> type1,
Type<? extends E> type2,
Type<? extends E> type3)
|
|
InstanceOfCondition<E> |
notInstanceOf(Type<? extends E> type1,
Type<? extends E> type2,
Type<? extends E> type3,
Type<E> type4)
|
|
ItemField<E> |
optional()
Returns a new Field, that differs from this Field by being optional. |
|
ItemField<E> |
toFinal()
Returns a new Field, that differs from this Field by being final. |
|
InstanceOfCondition<E> |
typeIn(Type[] types)
Deprecated. |
|
InstanceOfCondition<E> |
typeIn(Type<? extends E> type1)
Deprecated. |
|
InstanceOfCondition<E> |
typeIn(Type<? extends E> type1,
Type<? extends E> type2)
Deprecated. |
|
InstanceOfCondition<E> |
typeIn(Type<? extends E> type1,
Type<? extends E> type2,
Type<? extends E> type3)
Deprecated. |
|
InstanceOfCondition<E> |
typeIn(Type<? extends E> type1,
Type<? extends E> type2,
Type<? extends E> type3,
Type<E> type4)
Deprecated. |
|
InstanceOfCondition<E> |
typeNotIn(Type[] types)
Deprecated. |
|
InstanceOfCondition<E> |
typeNotIn(Type<? extends E> type1)
Deprecated. |
|
InstanceOfCondition<E> |
typeNotIn(Type<? extends E> type1,
Type<? extends E> type2)
Deprecated. |
|
InstanceOfCondition<E> |
typeNotIn(Type<? extends E> type1,
Type<? extends E> type2,
Type<? extends E> type3)
Deprecated. |
|
InstanceOfCondition<E> |
typeNotIn(Type<? extends E> type1,
Type<? extends E> type2,
Type<? extends E> type3,
Type<E> type4)
Deprecated. |
|
ItemField<E> |
unique()
Returns a new FunctionField, that differs from this FunctionField by being unique. |
|
| Methods inherited from class com.exedio.cope.FunctionField |
|---|
append, appendParameter, between, check, copyFunctionField, equal, equal, equal, get, getDefaultConstant, getImplicitUniqueConstraint, getInitialExceptions, getInitialType, getUniqueConstraints, getWrappers, greater, greater, greaterOrEqual, greaterOrEqual, in, in, isInitial, isNotNull, isNull, less, less, lessOrEqual, lessOrEqual, max, min, notEqual, notEqual, searchUnique, searchUnique, set |
| Methods inherited from class com.exedio.cope.Field |
|---|
castCollection, check, execute, getColumnName, getPattern, getPatterns, getValueClass, isFinal, isMandatory, map, mapNull |
| Methods inherited from class com.exedio.cope.Feature |
|---|
getAnnotation, getID, getName, getType, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.exedio.cope.Function |
|---|
appendParameter, between, equal, equal, equal, get, getValueClass, greater, greater, greaterOrEqual, greaterOrEqual, in, in, isNotNull, isNull, less, less, lessOrEqual, lessOrEqual, max, min, notEqual, notEqual |
| Methods inherited from interface com.exedio.cope.Selectable |
|---|
append, check, getType, toString |
| Method Detail |
|---|
public ItemField<E> copy()
copy in class FunctionField<E extends Item>public ItemField<E> toFinal()
Field
toFinal in class Field<E extends Item>Field.isFinal()public ItemField<E> optional()
Field
optional in class Field<E extends Item>Field.isMandatory()public ItemField<E> unique()
FunctionField
unique in class FunctionField<E extends Item>FunctionField.getImplicitUniqueConstraint()public ItemField<E> nonUnique()
nonUnique in class FunctionField<E extends Item>public Type<E> getValueType()
getValueType in interface ItemFunction<E extends Item>public <X extends Item> ItemField<X> as(Class<X> clazz)
EnumField.as(Class),
Class.asSubclass(Class)public ItemField.DeletePolicy getDeletePolicy()
@Deprecated
public final void appendSelect(com.exedio.cope.Statement bf,
Join join,
com.exedio.cope.Holder<com.exedio.cope.Column> columnHolder,
com.exedio.cope.Holder<Type> typeHolder)
appendSelect in interface Selectable<E extends Item>appendSelect in class FunctionField<E extends Item>
@Deprecated
public void appendType(com.exedio.cope.Statement bf,
Join join)
appendType in interface ItemFunction<E extends Item>public boolean needsCheckTypeColumn()
needsCheckTypeColumn in interface ItemFunction<E extends Item>ItemFunction.checkTypeColumn()public int checkTypeColumn()
checkTypeColumn in interface ItemFunction<E extends Item>ItemFunction.needsCheckTypeColumn()public CompareFunctionCondition equalTarget()
equalTarget in interface ItemFunction<E extends Item>public CompareFunctionCondition equalTarget(Join targetJoin)
equalTarget in interface ItemFunction<E extends Item>public BindItemFunction<E> bind(Join join)
bind in interface Function<E extends Item>bind in interface ItemFunction<E extends Item>bind in class FunctionField<E extends Item>public InstanceOfCondition<E> instanceOf(Type<? extends E> type1)
instanceOf in interface ItemFunction<E extends Item>
public InstanceOfCondition<E> instanceOf(Type<? extends E> type1,
Type<? extends E> type2)
instanceOf in interface ItemFunction<E extends Item>
public InstanceOfCondition<E> instanceOf(Type<? extends E> type1,
Type<? extends E> type2,
Type<? extends E> type3)
instanceOf in interface ItemFunction<E extends Item>
public InstanceOfCondition<E> instanceOf(Type<? extends E> type1,
Type<? extends E> type2,
Type<? extends E> type3,
Type<E> type4)
instanceOf in interface ItemFunction<E extends Item>public InstanceOfCondition<E> instanceOf(Type[] types)
instanceOf in interface ItemFunction<E extends Item>public InstanceOfCondition<E> notInstanceOf(Type<? extends E> type1)
notInstanceOf in interface ItemFunction<E extends Item>
public InstanceOfCondition<E> notInstanceOf(Type<? extends E> type1,
Type<? extends E> type2)
notInstanceOf in interface ItemFunction<E extends Item>
public InstanceOfCondition<E> notInstanceOf(Type<? extends E> type1,
Type<? extends E> type2,
Type<? extends E> type3)
notInstanceOf in interface ItemFunction<E extends Item>
public InstanceOfCondition<E> notInstanceOf(Type<? extends E> type1,
Type<? extends E> type2,
Type<? extends E> type3,
Type<E> type4)
notInstanceOf in interface ItemFunction<E extends Item>public InstanceOfCondition<E> notInstanceOf(Type[] types)
notInstanceOf in interface ItemFunction<E extends Item>@Deprecated public <X extends Item> ItemField<X> cast(Class<X> clazz)
as(Class) instead
@Deprecated public String getTypeColumnName()
SchemaInfo.getTypeColumnName(ItemField) instead
@Deprecated public InstanceOfCondition<E> typeIn(Type<? extends E> type1)
typeIn in interface ItemFunction<E extends Item>
@Deprecated
public InstanceOfCondition<E> typeIn(Type<? extends E> type1,
Type<? extends E> type2)
typeIn in interface ItemFunction<E extends Item>
@Deprecated
public InstanceOfCondition<E> typeIn(Type<? extends E> type1,
Type<? extends E> type2,
Type<? extends E> type3)
typeIn in interface ItemFunction<E extends Item>
@Deprecated
public InstanceOfCondition<E> typeIn(Type<? extends E> type1,
Type<? extends E> type2,
Type<? extends E> type3,
Type<E> type4)
typeIn in interface ItemFunction<E extends Item>@Deprecated public InstanceOfCondition<E> typeIn(Type[] types)
typeIn in interface ItemFunction<E extends Item>@Deprecated public InstanceOfCondition<E> typeNotIn(Type<? extends E> type1)
typeNotIn in interface ItemFunction<E extends Item>
@Deprecated
public InstanceOfCondition<E> typeNotIn(Type<? extends E> type1,
Type<? extends E> type2)
typeNotIn in interface ItemFunction<E extends Item>
@Deprecated
public InstanceOfCondition<E> typeNotIn(Type<? extends E> type1,
Type<? extends E> type2,
Type<? extends E> type3)
typeNotIn in interface ItemFunction<E extends Item>
@Deprecated
public InstanceOfCondition<E> typeNotIn(Type<? extends E> type1,
Type<? extends E> type2,
Type<? extends E> type3,
Type<E> type4)
typeNotIn in interface ItemFunction<E extends Item>@Deprecated public InstanceOfCondition<E> typeNotIn(Type[] types)
typeNotIn in interface ItemFunction<E extends Item>
|
Cope with Object Persistence |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||