Modifier and Type | Class and Description |
---|---|
static class |
Validation.DataTypeConverter |
Modifier and Type | Field and Description |
---|---|
static String |
XML_TAG |
static String |
XML_TAG_ALLOWED |
Constructor and Description |
---|
Validation() |
Validation(Node calcnode) |
Validation(Repository rep,
ObjectId id_step,
int i) |
Validation(String name) |
public static final String XML_TAG
public static final String XML_TAG_ALLOWED
public Validation()
public Validation(String name)
public Validation(Node calcnode) throws KettleXMLException
KettleXMLException
public Validation(Repository rep, ObjectId id_step, int i) throws KettleException
KettleException
public Validation clone()
public boolean equals(Validation validation)
public String getXML()
public void saveRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, ObjectId id_transformation, ObjectId id_step, int i) throws KettleException
KettleException
public String getFieldName()
public void setFieldName(String fieldName)
fieldName
- the field name to validatepublic String getMaximumLength()
public void setMaximumLength(String maximumLength)
maximumLength
- the maximumLength to setpublic String getMinimumLength()
public void setMinimumLength(String minimumLength)
minimumLength
- the minimumLength to setpublic boolean isNullAllowed()
public void setNullAllowed(boolean nullAllowed)
nullAllowed
- the nullAllowed to setpublic int getDataType()
public void setDataType(int dataType)
dataType
- the dataType to setpublic String getConversionMask()
public void setConversionMask(String conversionMask)
conversionMask
- the conversionMask to setpublic String getDecimalSymbol()
public void setDecimalSymbol(String decimalSymbol)
decimalSymbol
- the decimalSymbol to setpublic String getGroupingSymbol()
public void setGroupingSymbol(String groupingSymbol)
groupingSymbol
- the groupingSymbol to setpublic String getMinimumValue()
public void setMinimumValue(String minimumValue)
minimumValue
- the minimumValue to setpublic String getMaximumValue()
public void setMaximumValue(String maximumValue)
maximumValue
- the maximumValue to setpublic String[] getAllowedValues()
public void setAllowedValues(String[] allowedValues)
allowedValues
- the allowedValues to setpublic boolean isDataTypeVerified()
public void setDataTypeVerified(boolean dataTypeVerified)
dataTypeVerified
- the dataTypeVerified to setpublic String getErrorCode()
public void setErrorCode(String errorCode)
errorCode
- the errorCode to setpublic String getErrorDescription()
public void setErrorDescription(String errorDescription)
errorDescription
- the errorDescription to setpublic boolean isOnlyNumericAllowed()
public String getStartString()
public void setStartString(String startString)
startString
- the startString to setpublic String getStartStringNotAllowed()
public void setStartStringNotAllowed(String startStringNotAllowed)
startStringNotAllowed
- the startStringNotAllowed to setpublic String getEndString()
public void setEndString(String endString)
endString
- the endString to setpublic String getEndStringNotAllowed()
public void setEndStringNotAllowed(String endStringNotAllowed)
endStringNotAllowed
- the endStringNotAllowed to setpublic void setOnlyNumericAllowed(boolean onlyNumericAllowed)
onlyNumericAllowed
- the onlyNumericAllowed to setpublic String getRegularExpression()
public void setRegularExpression(String regularExpression)
regularExpression
- the regularExpression to setpublic String getName()
public void setName(String name)
name
- the new name for this validationpublic String getRegularExpressionNotAllowed()
public void setRegularExpressionNotAllowed(String regularExpressionNotAllowed)
regularExpressionNotAllowed
- the regularExpressionNotAllowed to setpublic static Validation findValidation(List<Validation> validations, String name)
validations
- The list to searchname
- the name to search forpublic boolean isOnlyNullAllowed()
public void setOnlyNullAllowed(boolean onlyNullAllowed)
onlyNullAllowed
- the onlyNullAllowed to setpublic boolean isSourcingValues()
public void setSourcingValues(boolean sourcingValues)
sourcingValues
- the sourcingValues to setpublic String getSourcingField()
public void setSourcingField(String sourcingField)
sourcingField
- the sourcingField to setpublic String getSourcingStepName()
public void setSourcingStepName(String sourcingStepName)
sourcingStepName
- the sourcingStepName to setpublic StepMeta getSourcingStep()
public void setSourcingStep(StepMeta sourcingStep)
sourcingStep
- the sourcingStep to setCopyright © 2018 Hitachi Vantara. All rights reserved.