Package com.contentful.java.cma.model
Class CMAConstraint.FieldKeyPath
- java.lang.Object
-
- com.contentful.java.cma.model.CMAConstraint.FieldKeyPath
-
- Enclosing class:
- CMAConstraint
public static class CMAConstraint.FieldKeyPath extends java.lang.ObjectDefine a path to a field.
-
-
Constructor Summary
Constructors Constructor Description FieldKeyPath()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDoc()CMAConstraint.FieldKeyPathsetDoc(java.lang.String doc)Set the path.java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object- Returns:
- a human readable string, representing the object.
-
-