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 void
addValue(Value value)
boolean
equals(Object obj)
Optional<String>
getMatches()
Optional<String>
getName()
String
getResult()
String
getType()
List<Value>
getValues()
int
hashCode()
boolean
removeValue(Value value)
void
setMatches(String matches)
void
setName(String name)
void
setResult(String result)
void
setType(String type)
void
setValue(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)
-
-