Class StringAttributeConstraint
java.lang.Object
co.yellowdog.platform.model.StringAttributeConstraint
- All Implemented Interfaces:
AttributeConstraint
@ValidatedBy(StringAttributeConstraintValidator.class)
public class StringAttributeConstraint
extends Object
implements AttributeConstraint
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder that can be used to build a new SetAttributeConstraint. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleangetAnyOf()inthashCode()voidvoidsetAttribute(String attribute) voidvoidsetPattern(String pattern) toString()
-
Method Details
-
builder
-
toBuilder
-
getAttribute
- Specified by:
getAttributein interfaceAttributeConstraint
-
getAnyOf
-
getNoneOf
-
getPattern
-
setAttribute
- Specified by:
setAttributein interfaceAttributeConstraint
-
setAnyOf
-
setNoneOf
-
setPattern
-
equals
-
canEqual
-
hashCode
-
toString
-