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, wait
getType, validate
public 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 ConfigModel
public String getProvider()
ConfigModel
getProvider
in interface ConfigModel
public String getDescription()
ConfigModel
getDescription
in interface ConfigModel
public boolean isRequired()
ConfigModel
isRequired
in interface ConfigModel
public int compareTo(ConfigModel configModel)
compareTo
in interface Comparable<ConfigModel>
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.