public class TemplateObject extends Object
Constructor and Description |
---|
TemplateObject() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyReference(String reference)
Adds a templateObject property reference (used to customize templateObjects).
|
protected Logger |
getLogger()
Gets the namespace logger (the logger under which output for this
template object should be written).
|
String |
getName()
Gets the current name of this TemplateObject.
|
String |
getNamespace()
Gets the namespace to which this template object belongs.
|
Object |
getObject()
Returns the actuall object instance described by this
template object.
|
URL |
getResource()
The resource in which the templateObject was found.
|
void |
setClassName(String className)
Sets the class of the transformation object.
|
void |
setName(String name)
Sets the name of the template object (this name will be what the template class is stored under in the template)
|
void |
setNamespace(String namespace)
Sets the namespace to which this template object belongs.
|
protected void |
setProperties(Object templateObject)
Sets all the nested properties on the templateObject object.
|
void |
setResource(URL resource)
Sets the resource in which the templateObject was defined.
|
String |
toString() |
public TemplateObject()
public Object getObject()
protected void setProperties(Object templateObject)
templateObject
- the template object on which to populate properties.public void setName(String name)
name
- the name of the template object.public void setClassName(String className)
className
- the name of the template object class.public void addPropertyReference(String reference)
reference
- the name of the property reference.public URL getResource()
public void setResource(URL resource)
resource
- the resource on which this template object was defined.public String getNamespace()
public void setNamespace(String namespace)
namespace
- The namespace to set.protected Logger getLogger()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2003–2014 AndroMDA.org. All rights reserved.