public abstract class AbstractModel extends Object implements ConfigModel, Comparable<ConfigModel>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractModel(String name,
boolean required,
String description,
String provider) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ConfigModel configModel) |
boolean |
equals(Object o) |
String |
getDescription()
Get an description of the item, using the default locale.
|
String |
getName()
Get the item's name, it should minimally describe the validation.
|
String |
getProvider()
Get the provider of this validation.
|
int |
hashCode() |
boolean |
isRequired()
Check if this validation is a required one.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetType, validatepublic String getName()
ConfigModel
Sections: a.b.c
Params: a.b.c.paramName
Filter: a.b.c.FilterImplClass
Dependency: mydepClassname
CombinationPolicy: a.b.c.MyCombinationPolicyClass
getName in interface ConfigModelpublic String getProvider()
ConfigModelgetProvider in interface ConfigModelpublic String getDescription()
ConfigModelgetDescription in interface ConfigModelpublic boolean isRequired()
ConfigModelisRequired in interface ConfigModelpublic int compareTo(ConfigModel configModel)
compareTo in interface Comparable<ConfigModel>Copyright © 2014–2016 Apache Software Foundation. All rights reserved.