Class Value

  • All Implemented Interfaces:
    java.io.Serializable

    public class Value
    extends java.lang.Object
    implements java.io.Serializable
    An element representing a value to be used in a translation.
    See Also:
    Serialized Form
    • Constructor Detail

      • Value

        public Value()
    • Method Detail

      • addValue

        public void addValue​(Value value)
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • getMatches

        public java.util.Optional<java.lang.String> getMatches()
      • getName

        public java.util.Optional<java.lang.String> getName()
      • getResult

        public java.lang.String getResult()
      • getType

        public java.lang.String getType()
      • getValues

        public java.util.List<Value> getValues()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • removeValue

        public boolean removeValue​(Value value)
      • setMatches

        public void setMatches​(java.lang.String matches)
      • setName

        public void setName​(java.lang.String name)
      • setResult

        public void setResult​(java.lang.String result)
      • setType

        public void setType​(java.lang.String type)
      • setValue

        public void setValue​(java.util.List<Value> values)