@Deprecated public class NuitonValidatorModel<O> extends Object implements Serializable
NuitonValidator.
This model describing properties of a validator :
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| Modifier and Type | Field and Description |
|---|---|
protected String |
context
Deprecated.
Context of validation (can be
null, for no context). |
protected Map<NuitonValidatorScope,String[]> |
fields
Deprecated.
Set of fields that can be validated for the type and context
|
protected Set<NuitonValidatorScope> |
scopes
Deprecated.
Set of scopes that can be validated for the type and context
|
protected Class<O> |
type
Deprecated.
Type of object to validate
|
| Constructor and Description |
|---|
NuitonValidatorModel(Class<O> type,
String context,
Set<NuitonValidatorScope> scopes,
Map<NuitonValidatorScope,String[]> fields)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContext()
Deprecated.
|
Map<NuitonValidatorScope,String[]> |
getFields()
Deprecated.
|
Set<NuitonValidatorScope> |
getScopes()
Deprecated.
|
Class<O> |
getType()
Deprecated.
|
protected String context
null, for no context).protected Set<NuitonValidatorScope> scopes
protected Map<NuitonValidatorScope,String[]> fields
public NuitonValidatorModel(Class<O> type, String context, Set<NuitonValidatorScope> scopes, Map<NuitonValidatorScope,String[]> fields)
public String getContext()
public Set<NuitonValidatorScope> getScopes()
public Map<NuitonValidatorScope,String[]> getFields()
Copyright © 2011-2013 CodeLutin. All Rights Reserved.