public class StringSchema extends Schema
String schema validator.| Modifier and Type | Class and Description | 
|---|---|
static class  | 
StringSchema.Builder
Builder class for  
StringSchema. | 
schemaLocation| Constructor and Description | 
|---|
StringSchema()  | 
StringSchema(StringSchema.Builder builder)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static StringSchema.Builder | 
builder()  | 
protected boolean | 
canEqual(Object other)
Since we add state in subclasses, but want those subclasses to be non final, this allows us to
 have equals methods that satisfy the equals contract. 
 | 
boolean | 
equals(Object o)  | 
FormatValidator | 
getFormatValidator()  | 
Integer | 
getMaxLength()  | 
Integer | 
getMinLength()  | 
Pattern | 
getPattern()  | 
int | 
hashCode()  | 
boolean | 
requireString()  | 
definesProperty, describeTo, failure, failure, getDefaultValue, getDescription, getId, getLocation, getSchemaLocation, getTitle, getUnprocessedProperties, hasDefaultValue, isNullable, isReadOnly, isWriteOnly, toString, validatepublic StringSchema()
public StringSchema(StringSchema.Builder builder)
builder - the builder object containing validation criteriapublic static StringSchema.Builder builder()
public Integer getMaxLength()
public Integer getMinLength()
public Pattern getPattern()
public FormatValidator getFormatValidator()
protected boolean canEqual(Object other)
Schemahttp://www.artima.com/lejava/articles/equality.html
public boolean requireString()
Copyright © 2019 Everit Kft.. All rights reserved.