Package com.exedio.cope.pattern
Class PriceField
java.lang.Object
com.exedio.cope.Feature
com.exedio.cope.Pattern
com.exedio.cope.pattern.PriceField
- All Implemented Interfaces:
Copyable
,PriceFunction
,Settable<Price>
,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy
(CopyMapper mapper) equal
(PriceField right) SetValue<?>[]
Returns the exceptions possibly thrown, when setting a value for this settable.Class<?>
getInt()
greater
(PriceField right) greaterOrEqual
(Price value) greaterOrEqual
(PriceField right) boolean
isFinal()
Returns true, if a value for the settable can be specified on the creation of an item only, thus cannot be modified later.boolean
Returns true, if a value for the settable should be specified on the creation of an item.boolean
isNull()
less
(PriceField right) lessOrEqual
(Price value) lessOrEqual
(PriceField right) min
(int minimum) Deprecated.minZero()
notEqual
(PriceField right) optional()
void
toFinal()
Methods inherited from class com.exedio.cope.Pattern
addSource, addSource, addSource, addSource, addSourceFeature, addSourceFeature, addSourceFeature, annotationField, equals, getGeneratedTypes, getSourceFeatures, getSourceFeaturesGather, getSourceFields, getSources, getSourceTypes, getType, hashCode, initialize, newSourceType, newSourceType, newSourceType, newSourceType, newSourceType, newSourceType, newType, newType, onMount, registerSource
Methods inherited from class com.exedio.cope.Feature
afterModelCreated, getAbstractType, getAnnotation, getID, getLocalizationKeys, getName, getPattern, isAnnotationPresent, isSourceAlready, mount, readResolve, requireMounted, toString, toString, writeReplace
-
Constructor Details
-
PriceField
public PriceField()
-
-
Method Details
-
copy
-
toFinal
-
optional
-
defaultTo
-
range
-
min
-
minZero
-
max
-
getInt
-
isInitial
public boolean isInitial()Description copied from interface:Settable
Returns true, if a value for the settable should be specified on the creation of an item. -
isFinal
public boolean isFinal()Description copied from interface:Settable
Returns true, if a value for the settable can be specified on the creation of an item only, thus cannot be modified later. -
isMandatory
public boolean isMandatory()- Specified by:
isMandatory
in interfaceSettable<Price>
-
getInitialType
- Specified by:
getInitialType
in interfaceSettable<Price>
-
getDefaultConstant
-
getMinimum
-
getMaximum
-
getInitialExceptions
Description copied from interface:Settable
Returns the exceptions possibly thrown, when setting a value for this settable.- Specified by:
getInitialExceptions
in interfaceSettable<Price>
-
get
-
set
-
execute
-
bind
-
isNull
- Specified by:
isNull
in interfacePriceFunction
-
isNotNull
- Specified by:
isNotNull
in interfacePriceFunction
-
equal
- Specified by:
equal
in interfacePriceFunction
-
notEqual
- Specified by:
notEqual
in interfacePriceFunction
-
less
- Specified by:
less
in interfacePriceFunction
-
lessOrEqual
- Specified by:
lessOrEqual
in interfacePriceFunction
-
greater
- Specified by:
greater
in interfacePriceFunction
-
greaterOrEqual
- Specified by:
greaterOrEqual
in interfacePriceFunction
-
between
- Specified by:
between
in interfacePriceFunction
-
equal
-
notEqual
-
less
-
lessOrEqual
-
greater
-
greaterOrEqual
-
min
Deprecated.Usemin(Price)
instead.
-
min(Price)
instead.