|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cosylab.vdct.vdb.VDBTemplateInstance
public class VDBTemplateInstance
Field Summary | |
---|---|
protected java.lang.String |
name
|
protected java.util.Hashtable |
properties
|
protected java.util.Vector |
propertiesV
|
protected VDBTemplate |
template
|
protected Template |
visualTemplate
|
Constructor Summary | |
---|---|
VDBTemplateInstance(java.lang.String name,
VDBTemplate template)
Constructor. |
Method Summary | |
---|---|
void |
addProperty(java.lang.Object key,
java.lang.String value)
|
static java.lang.String |
applyPorts(java.lang.String value,
java.util.Map ports)
Make port substitutions on a string using port table. |
static java.lang.String |
applyProperties(java.lang.String s,
java.util.Map properties)
Make macro substitutions on a string using properties table. |
java.lang.String |
getComment()
Returns the comment. |
java.lang.Object |
getDsId()
|
java.lang.String |
getName()
Returns the name. |
java.util.Hashtable |
getProperties()
Returns the properties. |
java.util.Vector |
getPropertiesV()
Returns the properties. |
VDBTemplate |
getTemplate()
Returns the template. |
Template |
getVisualTemplate()
|
void |
removeProperty(java.lang.Object key)
|
void |
setComment(java.lang.String comment)
Sets the comment. |
void |
setName(java.lang.String newName)
Insert the method's description here. |
void |
setProperties(java.util.Hashtable properties,
java.util.Vector propertiesV)
Sets the properties. |
void |
setTemplate(VDBTemplate template)
Sets the template. |
void |
setVisualTemplate(Template visualTemplate)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String name
protected VDBTemplate template
protected Template visualTemplate
protected java.util.Vector propertiesV
protected java.util.Hashtable properties
Constructor Detail |
---|
public VDBTemplateInstance(java.lang.String name, VDBTemplate template)
Method Detail |
---|
public java.util.Hashtable getProperties()
public java.util.Vector getPropertiesV()
public void addProperty(java.lang.Object key, java.lang.String value)
public void removeProperty(java.lang.Object key)
public VDBTemplate getTemplate()
public void setProperties(java.util.Hashtable properties, java.util.Vector propertiesV)
properties
- The properties to setpublic static java.lang.String applyProperties(java.lang.String s, java.util.Map properties)
s
- The string to be appliedproperties
- The properties to use
public static java.lang.String applyPorts(java.lang.String value, java.util.Map ports)
s
- The string to be appliedports
- The ports to use
public java.lang.String getName()
getName
in interface Commentable
public void setName(java.lang.String newName)
newName
- java.lang.Stringpublic java.lang.String getComment()
getComment
in interface Commentable
public void setComment(java.lang.String comment)
setComment
in interface Commentable
comment
- The comment to setpublic void setTemplate(VDBTemplate template)
template
- The template to setpublic Template getVisualTemplate()
public void setVisualTemplate(Template visualTemplate)
public java.lang.Object getDsId()
getDsId
in interface Commentable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |