Class ConstantField
- java.lang.Object
-
- org.apache.hop.pipeline.transforms.constant.ConstantField
-
public class ConstantField extends Object
-
-
Constructor Summary
Constructors Constructor Description ConstantField()ConstantField(String fieldName, String fieldType, boolean setEmptyString)ConstantField(String fieldName, String fieldType, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetCurrency()StringgetDecimal()StringgetFieldFormat()intgetFieldLength()StringgetFieldName()intgetFieldPrecision()StringgetFieldType()StringgetGroup()StringgetValue()inthashCode()booleanisEmptyString()voidsetCurrency(String currency)voidsetDecimal(String decimal)voidsetEmptyString(boolean setEmptyString)voidsetFieldFormat(String fieldFormat)voidsetFieldLength(int fieldLength)voidsetFieldName(String fieldName)voidsetFieldPrecision(int fieldPrecision)voidsetFieldType(String fieldType)voidsetGroup(String group)voidsetValue(String value)
-
-
-
Method Detail
-
getCurrency
public String getCurrency()
- Returns:
- Returns the currency.
-
setCurrency
public void setCurrency(String currency)
- Parameters:
currency- The currency to set.
-
getDecimal
public String getDecimal()
- Returns:
- Returns the decimal.
-
setDecimal
public void setDecimal(String decimal)
- Parameters:
decimal- The decimal to set.
-
getFieldFormat
public String getFieldFormat()
- Returns:
- Returns the fieldFormat.
-
setFieldFormat
public void setFieldFormat(String fieldFormat)
- Parameters:
fieldFormat- The fieldFormat to set.
-
getFieldLength
public int getFieldLength()
- Returns:
- Returns the fieldLength.
-
setFieldLength
public void setFieldLength(int fieldLength)
- Parameters:
fieldLength- The fieldLength to set.
-
getFieldName
public String getFieldName()
- Returns:
- Returns the fieldName.
-
setFieldName
public void setFieldName(String fieldName)
- Parameters:
fieldName- The fieldName to set.
-
getFieldPrecision
public int getFieldPrecision()
- Returns:
- Returns the fieldPrecision.
-
setFieldPrecision
public void setFieldPrecision(int fieldPrecision)
- Parameters:
fieldPrecision- The fieldPrecision to set.
-
getFieldType
public String getFieldType()
- Returns:
- Returns the fieldType.
-
setFieldType
public void setFieldType(String fieldType)
- Parameters:
fieldType- The fieldType to set.
-
isEmptyString
public boolean isEmptyString()
- Returns:
- the setEmptyString
-
setEmptyString
public void setEmptyString(boolean setEmptyString)
- Parameters:
setEmptyString- the setEmptyString to set
-
getGroup
public String getGroup()
- Returns:
- Returns the group.
-
setGroup
public void setGroup(String group)
- Parameters:
group- The group to set.
-
getValue
public String getValue()
- Returns:
- Returns the value.
-
setValue
public void setValue(String value)
- Parameters:
value- The value to set.
-
-