public abstract class AbstractTemplateDescription extends BeanObjectDescription implements TemplateDescription
TemplateDescription
interface.Modifier | Constructor and Description |
---|---|
protected |
AbstractTemplateDescription(String name,
Class template,
boolean init)
Creates a new description.
|
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, ignoreParameter, isParameterIgnored, setParameterFromObject
clone, configure, convertPrimitiveClass, getConfig, getDefinedParameterNames, getInstance, getObjectClass, getParameter, getParameterDefinition, getParameterNames, getUnconfiguredInstance, setParameter, setParameterDefinition
finalize, 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()
Copyright © 2017 Hitachi Vantara. All rights reserved.