com.exedio.cope
Class LongField
java.lang.Object
com.exedio.cope.Feature
com.exedio.cope.Field<E>
com.exedio.cope.FunctionField<E>
com.exedio.cope.NumberField<Long>
com.exedio.cope.LongField
- All Implemented Interfaces:
- Function<Long>, NumberFunction<Long>, Selectable<Long>, Settable<Long>
public final class LongField
- extends NumberField<Long>
| Methods inherited from class com.exedio.cope.FunctionField |
append, appendParameter, appendSelect, between, check, copyFunctionField, equal, equal, equal, get, getDefaultConstant, getImplicitUniqueConstraint, getInitialExceptions, 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 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 |
LongField
public LongField()
copy
public LongField copy()
- Specified by:
copy in class FunctionField<Long>
toFinal
public LongField toFinal()
- Description copied from class:
Field
- Returns a new Field,
that differs from this Field
by being final.
If this Field is already final,
the the result is equal to this Field.
- Specified by:
toFinal in class Field<Long>
- See Also:
Field.isFinal()
optional
public LongField optional()
- Description copied from class:
Field
- Returns a new Field,
that differs from this Field
by being optional.
If this Field is already optional,
the the result is equal to this Field.
- Specified by:
optional in class Field<Long>
- See Also:
Field.isMandatory()
unique
public LongField unique()
- Description copied from class:
FunctionField
- Returns a new FunctionField,
that differs from this FunctionField
by being unique.
If this FunctionField is already unique,
the the result is equal to this FunctionField.
- Specified by:
unique in class FunctionField<Long>
- See Also:
FunctionField.getImplicitUniqueConstraint()
nonUnique
public LongField nonUnique()
- Specified by:
nonUnique in class FunctionField<Long>
defaultTo
public LongField defaultTo(Long defaultConstant)
getInitialType
public Class getInitialType()
- Specified by:
getInitialType in interface Settable<Long>- Overrides:
getInitialType in class FunctionField<Long>
getMandatory
public final long getMandatory(Item item)
- Throws:
IllegalArgumentException - if this field is not mandatory.
set
public final void set(Item item,
long value)
throws UniqueViolationException,
FinalViolationException
- Throws:
UniqueViolationException
FinalViolationException
Copyright © 2004-2008 exedio Gesellschaft für Softwareentwicklung mbH. All rights reserved.
svn.12752 build.5319 20090312135114