Class PredicateFieldValue

  • All Implemented Interfaces:
    java.lang.Cloneable, java.lang.Comparable<FieldValue>

    public class PredicateFieldValue
    extends FieldValue
    Simon Thoresen Hult
    • Constructor Detail

      • PredicateFieldValue

        public PredicateFieldValue()
      • PredicateFieldValue

        public PredicateFieldValue​( predicate)
      • PredicateFieldValue

        public PredicateFieldValue​(java.lang.String predicateString)
    • Method Detail

      • getPredicate

        public getPredicate()
      • setPredicate

        public PredicateFieldValue setPredicate​( predicate)
      • assign

        public void assign​(java.lang.Object o)
        Description copied from class: FieldValue
        Assign this non-fieldvalue value to this field value. This is used to be able to assign ints to Integer field values and List to Array field values and such.

        Override to accept the specific types that should be legal.

        Specified by:
        assign in class FieldValue
      • getWrappedValue

        public java.lang.Object getWrappedValue()
        Description copied from class: FieldValue
        Used to retrieve wrapped type for simple types, such that you can use get methods to retrieve ints and floats directly instead of Int/Float field values. Complex types that can't be specified by simple java types just return themself.
        getWrappedValue in class FieldValue
      • hashCode

        public int hashCode()
        hashCode in class
      • equals

        public boolean equals​(java.lang.Object obj)
        equals in class
      • toString

        public java.lang.String toString()
        toString in class