public abstract class Schema extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Schema.Builder<S extends Schema>
Abstract builder class for the builder classes of
Schema subclasses. |
| Modifier | Constructor and Description |
|---|---|
protected |
Schema(Schema.Builder<?> builder)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDescription() |
String |
getId() |
String |
getTitle() |
int |
hashCode() |
abstract void |
validate(Object subject)
Performs the schema validation.
|
protected Schema(Schema.Builder<?> builder)
builder - the builder containing the optional title, description and id attributes of the schemapublic abstract void validate(Object subject)
subject - the object to be validatedValidationException - if the subject is invalid against this schema.@Generated(value="eclipse") public boolean equals(Object obj)
public String getTitle()
public String getDescription()
public String getId()
Copyright © 2011–2016 Everit Kft.. All rights reserved.