|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.validator.NuitonValidatorModel<O>
public class NuitonValidatorModel<O>
Represents the model of a NuitonValidator.
type : the type of object which can be validated by the validatorcontext : the context of validation, if no context is required then the context is null.
scopes : the scopes of validation (see NuitonValidatorScope)fields : the fields that can be validated by the validator
| Field Summary | |
|---|---|
protected String |
context
Context of validation (can be null, for no context). |
protected Map<NuitonValidatorScope,String[]> |
fields
Set of fields that can be validated for the type and context |
protected Set<NuitonValidatorScope> |
scopes
Set of scopes that can be validated for the type and context |
protected Class<O> |
type
Type of object to validate |
| Constructor Summary | |
|---|---|
NuitonValidatorModel(Class<O> type,
String context,
Set<NuitonValidatorScope> scopes,
Map<NuitonValidatorScope,String[]> fields)
|
|
| Method Summary | |
|---|---|
String |
getContext()
|
Map<NuitonValidatorScope,String[]> |
getFields()
|
Set<NuitonValidatorScope> |
getScopes()
|
Class<O> |
getType()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Class<O> type
protected String context
null, for no context).
protected Set<NuitonValidatorScope> scopes
protected Map<NuitonValidatorScope,String[]> fields
| Constructor Detail |
|---|
public NuitonValidatorModel(Class<O> type,
String context,
Set<NuitonValidatorScope> scopes,
Map<NuitonValidatorScope,String[]> fields)
| Method Detail |
|---|
public Class<O> getType()
public String getContext()
public Set<NuitonValidatorScope> getScopes()
public Map<NuitonValidatorScope,String[]> getFields()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||