public static final class Constraints.Shape extends Object implements Constraints.Describable, Serializable
| Modifier and Type | Method and Description |
|---|---|
String |
comment() |
List<Constraints.InversePropertyConstraint> |
inversePropertyConstraints() |
String |
label() |
List<Constraints.PropertyConstraint> |
propertyConstraints() |
String |
toString() |
Constraints.Shape |
withComment(String comment) |
Constraints.Shape |
withLabel(String label) |
Constraints.Shape |
withPropertyConstraint(Constraints.InversePropertyConstraint constraint) |
Constraints.Shape |
withPropertyConstraint(Constraints.PropertyConstraint constraint) |
public Constraints.Shape withLabel(String label)
public String label()
label in interface Constraints.Describablepublic Constraints.Shape withComment(String comment)
public String comment()
comment in interface Constraints.Describablepublic Constraints.Shape withPropertyConstraint(Constraints.PropertyConstraint constraint)
public Constraints.Shape withPropertyConstraint(Constraints.InversePropertyConstraint constraint)
public List<Constraints.PropertyConstraint> propertyConstraints()
public List<Constraints.InversePropertyConstraint> inversePropertyConstraints()
Copyright (C) 2014-2016, Center for Open Middleware