Class Value
- java.lang.Object
-
- org.opennms.netmgt.config.translator.Value
-
- All Implemented Interfaces:
Serializable
public class Value extends Object implements Serializable
An element representing a value to be used in a translation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Value()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddValue(Value value)booleanequals(Object obj)Optional<String>getMatches()Optional<String>getName()StringgetResult()StringgetType()List<Value>getValues()inthashCode()booleanremoveValue(Value value)voidsetMatches(String matches)voidsetName(String name)voidsetResult(String result)voidsetType(String type)voidsetValue(List<Value> values)
-
-
-
Method Detail
-
addValue
public void addValue(Value value)
-
getResult
public String getResult()
-
getType
public String getType()
-
removeValue
public boolean removeValue(Value value)
-
setMatches
public void setMatches(String matches)
-
setName
public void setName(String name)
-
setResult
public void setResult(String result)
-
setType
public void setType(String type)
-
-