org.deduced.validation.model
Interface StringValidationModel

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

public interface StringValidationModel
extends NullableValidationModel

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


Field Summary
static PropertyInstanceHolder INVALID_REGULAR_EXPRESSION_INSTANCE
          Variable used to hold the PropertyInstance for : invalid regular expression
static PropertyInstanceHolder IS_MULTIPLE_LINES_ALLOWED_INSTANCE
          Variable used to hold the PropertyInstance for : is multiple lines allowed
static PropertyInstanceHolder MAXIMUM_LENGTH_INSTANCE
          Variable used to hold the PropertyInstance for : maximum length
static PropertyInstanceHolder MINIMUM_LENGTH_INSTANCE
          Variable used to hold the PropertyInstance for : minimum length
static PropertyCollectionTypeHolder STRING_VALIDATION_MODEL_TYPE
          Variable used to hold the PropertyCollectionType for : string validation model
static PropertyInstanceHolder VALID_REGULAR_EXPRESSION_INSTANCE
          Variable used to hold the PropertyInstance for : valid regular expression
 
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.String getInvalidRegularExpression()
          Get the value of the instance : invalid regular expression
 java.lang.Integer getMaximumLength()
          Get the value of the instance : maximum length
 java.lang.Integer getMinimumLength()
          Get the value of the instance : minimum length
 java.lang.String getValidRegularExpression()
          Get the value of the instance : valid regular expression
 boolean isMultipleLinesAllowed()
          Get the value of the instance : is multiple lines allowed
 java.lang.String setInvalidRegularExpression(java.lang.String newValue)
          Set the value of the instance : invalid regular expression
 boolean setIsMultipleLinesAllowed(boolean newValue)
          Set the value of the instance : is multiple lines allowed
 java.lang.Integer setMaximumLength(java.lang.Integer newValue)
          Set the value of the instance : maximum length
 java.lang.Integer setMinimumLength(java.lang.Integer newValue)
          Set the value of the instance : minimum length
 java.lang.String setValidRegularExpression(java.lang.String newValue)
          Set the value of the instance : valid regular expression
 
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

STRING_VALIDATION_MODEL_TYPE

static final PropertyCollectionTypeHolder STRING_VALIDATION_MODEL_TYPE
Variable used to hold the PropertyCollectionType for : string validation model


MINIMUM_LENGTH_INSTANCE

static final PropertyInstanceHolder MINIMUM_LENGTH_INSTANCE
Variable used to hold the PropertyInstance for : minimum length


MAXIMUM_LENGTH_INSTANCE

static final PropertyInstanceHolder MAXIMUM_LENGTH_INSTANCE
Variable used to hold the PropertyInstance for : maximum length


VALID_REGULAR_EXPRESSION_INSTANCE

static final PropertyInstanceHolder VALID_REGULAR_EXPRESSION_INSTANCE
Variable used to hold the PropertyInstance for : valid regular expression


INVALID_REGULAR_EXPRESSION_INSTANCE

static final PropertyInstanceHolder INVALID_REGULAR_EXPRESSION_INSTANCE
Variable used to hold the PropertyInstance for : invalid regular expression


IS_MULTIPLE_LINES_ALLOWED_INSTANCE

static final PropertyInstanceHolder IS_MULTIPLE_LINES_ALLOWED_INSTANCE
Variable used to hold the PropertyInstance for : is multiple lines allowed

Method Detail

getMinimumLength

java.lang.Integer getMinimumLength()
Get the value of the instance : minimum length

Returns:
minimum length

setMinimumLength

java.lang.Integer setMinimumLength(java.lang.Integer newValue)
Set the value of the instance : minimum length

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

getMaximumLength

java.lang.Integer getMaximumLength()
Get the value of the instance : maximum length

Returns:
maximum length

setMaximumLength

java.lang.Integer setMaximumLength(java.lang.Integer newValue)
Set the value of the instance : maximum length

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

getValidRegularExpression

java.lang.String getValidRegularExpression()
Get the value of the instance : valid regular expression

Returns:
valid regular expression

setValidRegularExpression

java.lang.String setValidRegularExpression(java.lang.String newValue)
Set the value of the instance : valid regular expression

Parameters:
newValue - new valid regular expression
Returns:
valid regular expression value after the change

getInvalidRegularExpression

java.lang.String getInvalidRegularExpression()
Get the value of the instance : invalid regular expression

Returns:
invalid regular expression

setInvalidRegularExpression

java.lang.String setInvalidRegularExpression(java.lang.String newValue)
Set the value of the instance : invalid regular expression

Parameters:
newValue - new invalid regular expression
Returns:
invalid regular expression value after the change

isMultipleLinesAllowed

boolean isMultipleLinesAllowed()
Get the value of the instance : is multiple lines allowed

Returns:
is multiple lines allowed

setIsMultipleLinesAllowed

boolean setIsMultipleLinesAllowed(boolean newValue)
Set the value of the instance : is multiple lines allowed

Parameters:
newValue - new is multiple lines allowed
Returns:
is multiple lines allowed value after the change