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 class
A builder that can be used to build a new SetAttributeConstraint. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
getAnyOf()
int
hashCode()
void
void
setAttribute
(String attribute) void
void
setPattern
(String pattern) toString()
-
Method Details
-
builder
-
toBuilder
-
getAttribute
- Specified by:
getAttribute
in interfaceAttributeConstraint
-
getAnyOf
-
getNoneOf
-
getPattern
-
setAttribute
- Specified by:
setAttribute
in interfaceAttributeConstraint
-
setAnyOf
-
setNoneOf
-
setPattern
-
equals
-
canEqual
-
hashCode
-
toString
-