public abstract class AbstractTemplateDescription extends BeanObjectDescription implements TemplateDescription
TemplateDescription
interface.Modifier and Type | Method and Description |
---|---|
Template |
createTemplate()
Creates a template.
|
boolean |
equals(Object o)
Indicated whether an other object is equal to this one.
|
String |
getName()
Returns the name.
|
int |
hashCode()
Computes an hashcode for this factory.
|
void |
setName(String name)
Sets the name.
|
createObject, setParameterFromObject
clone, configure, convertPrimitiveClass, getConfig, getInstance, getObjectClass, getParameter, getParameterDefinition, getParameterNames, getUnconfiguredInstance, setParameter, setParameterDefinition
getClass, notify, notifyAll, toString, wait, wait, wait
configure, createObject, getInstance, getObjectClass, getParameter, getParameterDefinition, getParameterNames, getUnconfiguredInstance, setParameter, setParameterFromObject
public String getName()
getName
in interface TemplateDescription
public void setName(String name)
setName
in interface TemplateDescription
name
- the name (null
not allowed).public Template createTemplate()
createTemplate
in interface TemplateDescription
public boolean equals(Object o)
equals
in interface ObjectDescription
equals
in class AbstractObjectDescription
o
- the other object.Object.equals(java.lang.Object)
public int hashCode()
hashCode
in interface ObjectDescription
hashCode
in class AbstractObjectDescription
Object.hashCode()