Class CMAConstraint.FieldKeyPath

  • Enclosing class:
    CMAConstraint

    public static class CMAConstraint.FieldKeyPath
    extends java.lang.Object
    Define a path to a field.
    • Constructor Detail

      • FieldKeyPath

        public FieldKeyPath()
    • Method Detail

      • getDoc

        public java.lang.String getDoc()
        Returns:
        the doc part of the path.
      • setDoc

        public CMAConstraint.FieldKeyPath setDoc​(java.lang.String doc)
        Set the path.
        Parameters:
        doc - the path to the document, like "fields.name.nopenotok".
        Returns:
        this instance for chaining.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Returns:
        a human readable string, representing the object.