Class CMAConstraint.Equals

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<java.lang.Object>, java.util.Collection<java.lang.Object>, java.util.List<java.lang.Object>, java.util.RandomAccess
    Enclosing class:
    CMAConstraint

    public static class CMAConstraint.Equals
    extends java.util.ArrayList<java.lang.Object>
    Create an equals deciding whether the path to a field constraints a given value.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Constructor Summary

      Constructors 
      Constructor Description
      Equals()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CMAConstraint.FieldKeyPath getPath()  
      java.lang.String getValue()  
      CMAConstraint.Equals setPath​(CMAConstraint.FieldKeyPath fieldKeyPath)
      Update the fieldKeyPath component.
      CMAConstraint.Equals setValue​(java.lang.String value)
      Update the value to be used in comparison.
      java.lang.String toString()  
      • Methods inherited from class java.util.ArrayList

        add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
      • Methods inherited from class java.util.AbstractCollection

        containsAll
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, stream, toArray
      • Methods inherited from interface java.util.List

        containsAll
    • Constructor Detail

      • Equals

        public Equals()
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Returns:
        the value to be used for comparison.
      • setValue

        public CMAConstraint.Equals setValue​(java.lang.String value)
        Update the value to be used in comparison.
        Parameters:
        value - the value.
        Returns:
        this instance for chaining.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.util.AbstractCollection<java.lang.Object>
        Returns:
        Human readable representation of this instance.