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) booleanisFinal()Returns true, if a value for the settable can be specified on the creation of an item only, thus cannot be modified later.booleanReturns true, if a value for the settable should be specified on the creation of an item.booleanisNull()less(PriceField right) lessOrEqual(Price value) lessOrEqual(PriceField right) min(int minimum) Deprecated.minZero()notEqual(PriceField right) optional()voidtoFinal()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, registerSourceMethods 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:SettableReturns true, if a value for the settable should be specified on the creation of an item. -
isFinal
public boolean isFinal()Description copied from interface:SettableReturns 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:
isMandatoryin interfaceSettable<Price>
-
getInitialType
- Specified by:
getInitialTypein interfaceSettable<Price>
-
getDefaultConstant
-
getMinimum
-
getMaximum
-
getInitialExceptions
Description copied from interface:SettableReturns the exceptions possibly thrown, when setting a value for this settable.- Specified by:
getInitialExceptionsin interfaceSettable<Price>
-
get
-
set
-
execute
-
bind
-
isNull
- Specified by:
isNullin interfacePriceFunction
-
isNotNull
- Specified by:
isNotNullin interfacePriceFunction
-
equal
- Specified by:
equalin interfacePriceFunction
-
notEqual
- Specified by:
notEqualin interfacePriceFunction
-
less
- Specified by:
lessin interfacePriceFunction
-
lessOrEqual
- Specified by:
lessOrEqualin interfacePriceFunction
-
greater
- Specified by:
greaterin interfacePriceFunction
-
greaterOrEqual
- Specified by:
greaterOrEqualin interfacePriceFunction
-
between
- Specified by:
betweenin interfacePriceFunction
-
equal
-
notEqual
-
less
-
lessOrEqual
-
greater
-
greaterOrEqual
-
min
Deprecated.Usemin(Price)instead.
-
min(Price)instead.