public class EnumSchema extends Schema
| Modifier and Type | Class and Description |
|---|---|
static class |
EnumSchema.Builder
Builder class for
EnumSchema. |
| Constructor and Description |
|---|
EnumSchema(EnumSchema.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
static EnumSchema.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) |
Set<Object> |
getPossibleValues() |
int |
hashCode() |
void |
validate(Object subject)
Performs the schema validation.
|
definesProperty, describeTo, getDescription, getId, getTitle, toStringpublic EnumSchema(EnumSchema.Builder builder)
public static EnumSchema.Builder builder()
public void validate(Object subject)
SchemaCopyright © 2017 Everit Kft.. All rights reserved.