Package com.exedio.cope
Class DayField
- All Implemented Interfaces:
Copyable
,Function<Day>
,Selectable<Day>
,Settable<Day>
,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()
Deprecated.defaultToNow
(TimeZone zone) static Day
static Day
com.exedio.cope.SelectType<Day>
boolean
month()
Returns a new FunctionField that differs from this FunctionField by having nocopyFrom
fields set.optional()
Returns a new Field, that differs from this Field by being optional.toFinal()
Returns a new Field, that differs from this Field by being final.void
Deprecated.void
unique()
Returns a new FunctionField, that differs from this FunctionField by being unique.year()
Methods inherited from class com.exedio.cope.FunctionField
addCopyFrom, append, appendSelect, check, copy, copyFunctionField, get, get, getDefaultConstant, getImplicitCopyConstraint, getImplicitCopyConstraints, getImplicitUniqueConstraint, getInitialExceptions, getUniqueConstraints, hasDefault, isInitial, isRedundantByCopyConstraint, searchUnique, searchUnique, searchUniqueStrict, set
Methods inherited from class com.exedio.cope.Field
castCollection, check, execute, getColumnName, getInitialType, getPatterns, getValueClass, isFinal, isMandatory, mapNull
Methods inherited from class com.exedio.cope.Feature
afterModelCreated, getAbstractType, getAnnotation, getID, getLocalizationKeys, getName, getPattern, getType, isAnnotationPresent, isSourceAlready, mount, readResolve, requireMounted, toString, toString, writeReplace
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
any, between, bind, equal, equal, equal, greater, greater, greaterOrEqual, greaterOrEqual, in, in, isNotNull, isNull, less, less, lessOrEqual, lessOrEqual, max, min, notEqual, notEqual
Methods inherited from interface com.exedio.cope.Selectable
getType, getValueClass, toString
-
Constructor Details
-
DayField
public DayField()
-
-
Method Details
-
getDefaultMinimum
-
getDefaultMaximum
-
copy
- Specified by:
copy
in classFunctionField<Day>
-
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 classFunctionField<Day>
- See Also:
-
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 classFunctionField<Day>
- See Also:
-
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 classFunctionField<Day>
- See Also:
-
nonUnique
- Specified by:
nonUnique
in classFunctionField<Day>
-
copyFrom
- Specified by:
copyFrom
in classFunctionField<Day>
- See Also:
-
noCopyFrom
Description copied from class:FunctionField
Returns a new FunctionField that differs from this FunctionField by having nocopyFrom
fields set.- Specified by:
noCopyFrom
in classFunctionField<Day>
-
noDefault
- Specified by:
noDefault
in classFunctionField<Day>
-
defaultTo
- Specified by:
defaultTo
in classFunctionField<Day>
-
defaultToNow
-
isDefaultNow
public boolean isDefaultNow() -
getDefaultNowZimeZone
-
getMinimum
-
getMaximum
-
getValueType
-
touch
- Throws:
FinalViolationException
- if this field isfinal
.
-
year
-
month
-
weekOfYear
-
dayOfMonth
-
touch
Deprecated. -
defaultToNow
Deprecated.UsedefaultToNow(TimeZone)
instead.
-
defaultToNow(TimeZone)
instead.