Class FileRulesCSV
- java.lang.Object
-
- fr.gouv.vitam.functional.administration.common.FileRulesCSV
-
public class FileRulesCSV extends java.lang.Object
POJO java use for import CSV Rules file.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TAG_RULE_DESCRIPTION
static java.lang.String
TAG_RULE_DURATION
static java.lang.String
TAG_RULE_ID
static java.lang.String
TAG_RULE_MEASUREMENT
static java.lang.String
TAG_RULE_TYPE
static java.lang.String
TAG_RULE_VALUE
-
Constructor Summary
Constructors Constructor Description FileRulesCSV()
FileRulesCSV(java.lang.String ruleId, java.lang.String ruleType, java.lang.String ruleValue, java.lang.String ruleDescription, java.lang.String ruleDuration, java.lang.String ruleMeasurement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getRuleDescription()
java.lang.String
getRuleDuration()
java.lang.String
getRuleId()
java.lang.String
getRuleMeasurement()
java.lang.String
getRuleType()
java.lang.String
getRuleValue()
int
hashCode()
boolean
hasSameRuleId(FileRulesCSV rule)
void
setRuleDescription(java.lang.String ruleDescription)
void
setRuleDuration(java.lang.String ruleDuration)
void
setRuleId(java.lang.String ruleId)
void
setRuleMeasurement(java.lang.String ruleMeasurement)
void
setRuleType(java.lang.String ruleType)
void
setRuleValue(java.lang.String ruleValue)
java.lang.String
toString()
-
-
-
Field Detail
-
TAG_RULE_ID
public static final java.lang.String TAG_RULE_ID
- See Also:
- Constant Field Values
-
TAG_RULE_TYPE
public static final java.lang.String TAG_RULE_TYPE
- See Also:
- Constant Field Values
-
TAG_RULE_VALUE
public static final java.lang.String TAG_RULE_VALUE
- See Also:
- Constant Field Values
-
TAG_RULE_DESCRIPTION
public static final java.lang.String TAG_RULE_DESCRIPTION
- See Also:
- Constant Field Values
-
TAG_RULE_DURATION
public static final java.lang.String TAG_RULE_DURATION
- See Also:
- Constant Field Values
-
TAG_RULE_MEASUREMENT
public static final java.lang.String TAG_RULE_MEASUREMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRuleType
public java.lang.String getRuleType()
-
setRuleType
public void setRuleType(java.lang.String ruleType)
-
getRuleValue
public java.lang.String getRuleValue()
-
setRuleValue
public void setRuleValue(java.lang.String ruleValue)
-
getRuleDescription
public java.lang.String getRuleDescription()
-
setRuleDescription
public void setRuleDescription(java.lang.String ruleDescription)
-
getRuleDuration
public java.lang.String getRuleDuration()
-
setRuleDuration
public void setRuleDuration(java.lang.String ruleDuration)
-
getRuleMeasurement
public java.lang.String getRuleMeasurement()
-
setRuleMeasurement
public void setRuleMeasurement(java.lang.String ruleMeasurement)
-
getRuleId
public java.lang.String getRuleId()
-
setRuleId
public void setRuleId(java.lang.String ruleId)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hasSameRuleId
public boolean hasSameRuleId(FileRulesCSV rule)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-