org.deduced.validation.model
Interface NumberValidationModel

All Superinterfaces:
java.lang.Cloneable, LinkedValidationModel, NullableValidationModel, PropertyCollection<java.lang.Object,java.lang.Object>, ValidationModel
All Known Implementing Classes:
NumberValidationModelImplementation

public interface NumberValidationModel
extends NullableValidationModel

Interface used to represent the type : number validation model Class generated by org.deduced.generator.VelocityGenerator Using template : org/deduced/generator/java/JavaInterface.vm


Field Summary
static PropertyInstanceHolder MAXIMUM_VALUE_INSTANCE
          Variable used to hold the PropertyInstance for : maximum value
static PropertyInstanceHolder MINIMUM_VALUE_INSTANCE
          Variable used to hold the PropertyInstance for : minimum value
static PropertyCollectionTypeHolder NUMBER_VALIDATION_MODEL_TYPE
          Variable used to hold the PropertyCollectionType for : number validation model
 
Fields inherited from interface org.deduced.validation.model.NullableValidationModel
IS_NULL_VALID_INSTANCE, NULLABLE_VALIDATION_MODEL_TYPE
 
Fields inherited from interface org.deduced.validation.model.LinkedValidationModel
DEFAULT_VALIDATOR_TYPE_INSTANCE, LINKED_VALIDATION_MODEL_TYPE
 
Fields inherited from interface org.deduced.ValidationModel
VALIDATION_MODEL_TYPE
 
Fields inherited from interface org.deduced.PropertyCollection
PROPERTY_COLLECTION_TYPE
 
Method Summary
 java.lang.Double getMaximumValue()
          Get the value of the instance : maximum value
 java.lang.Double getMinimumValue()
          Get the value of the instance : minimum value
 java.lang.Double setMaximumValue(java.lang.Double newValue)
          Set the value of the instance : maximum value
 java.lang.Double setMinimumValue(java.lang.Double newValue)
          Set the value of the instance : minimum value
 
Methods inherited from interface org.deduced.validation.model.NullableValidationModel
isNullValid, setIsNullValid
 
Methods inherited from interface org.deduced.validation.model.LinkedValidationModel
getDefaultValidatorType, setDefaultValidatorType
 
Methods inherited from interface org.deduced.PropertyCollection
activate, addListener, addProperty, areKeysAssignedAutomatically, asKeySet, asPropertyList, asPropertyMap, asValueList, asValueMap, clear, clone, containsInstance, containsKey, containsValue, delete, getFixedInstance, getProperty, getPropertyValue, id, instanceKey, invokeAction, isActivated, isEmpty, isListenerRegistered, iterator, iteratorByValue, keyOnParent, parent, removeListener, removeProperty, removePropertyInstance, removePropertyValue, setFixedInstance, setParent, setProperty, size, type, valueKey
 

Field Detail

NUMBER_VALIDATION_MODEL_TYPE

static final PropertyCollectionTypeHolder NUMBER_VALIDATION_MODEL_TYPE
Variable used to hold the PropertyCollectionType for : number validation model


MINIMUM_VALUE_INSTANCE

static final PropertyInstanceHolder MINIMUM_VALUE_INSTANCE
Variable used to hold the PropertyInstance for : minimum value


MAXIMUM_VALUE_INSTANCE

static final PropertyInstanceHolder MAXIMUM_VALUE_INSTANCE
Variable used to hold the PropertyInstance for : maximum value

Method Detail

getMinimumValue

java.lang.Double getMinimumValue()
Get the value of the instance : minimum value

Returns:
minimum value

setMinimumValue

java.lang.Double setMinimumValue(java.lang.Double newValue)
Set the value of the instance : minimum value

Parameters:
newValue - new minimum value
Returns:
minimum value value after the change

getMaximumValue

java.lang.Double getMaximumValue()
Get the value of the instance : maximum value

Returns:
maximum value

setMaximumValue

java.lang.Double setMaximumValue(java.lang.Double newValue)
Set the value of the instance : maximum value

Parameters:
newValue - new maximum value
Returns:
maximum value value after the change