|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.inf.template.GeneratedTemplateAttributes
This is a light class that can be used by clients to specify ContainerTemplate
attributes for SaveAsTemplate and ExportAsTemplate functionality.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private String |
containerClassName
|
private String |
description
|
private boolean |
enabled
|
private String |
locale
|
private String |
name
|
private static String |
RESOURCE
|
Constructor Summary | |
GeneratedTemplateAttributes(String name,
String containerClassName)
This method is used to pass creation parameneters for a new template. |
|
GeneratedTemplateAttributes(String name,
String containerClassName,
boolean enabled)
This method is used to pass creation parameneters for a new template. |
|
GeneratedTemplateAttributes(String name,
String containerClassName,
boolean enabled,
String description)
This method is used to pass creation parameneters for a new template. |
Method Summary | |
private void |
containerClassNameValidate(String a_ContainerClassName)
|
private void |
descriptionValidate(String a_Description)
|
String |
getContainerClassName()
Gets the value of the attribute: containerClassName. |
String |
getDescription()
Gets the value of the attribute: description. |
String |
getLocale()
Gets the value of the attribute: locale. |
String |
getName()
Gets the value of the attribute: name. |
WTContainerTemplate |
getTemplate()
Supported API: false |
boolean |
isEnabled()
Gets the value of the attribute: enabled. |
private void |
localeValidate(String a_Locale)
|
private void |
nameValidate(String a_Name)
|
void |
setContainerClassName(String a_ContainerClassName)
Sets the value of the attribute: containerClassName. |
void |
setDescription(String a_Description)
Sets the value of the attribute: description. |
void |
setEnabled(boolean a_Enabled)
Sets the value of the attribute: enabled. |
void |
setLocale(String a_Locale)
Sets the value of the attribute: locale. |
void |
setName(String a_Name)
Sets the value of the attribute: name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private String name
private String description
private boolean enabled
private String containerClassName
private String locale
Constructor Detail |
public GeneratedTemplateAttributes(String name, String containerClassName, boolean enabled, String description) throws WTException
name
- This may not be null, and must not be an empty string or an exception will be throwncontainerClassName
- enabled
- description
-
WTException
public GeneratedTemplateAttributes(String name, String containerClassName, boolean enabled) throws WTException
name
- This may not be null, and must not be an empty string or an exception will be throwncontainerClassName
- enabled
-
WTException
public GeneratedTemplateAttributes(String name, String containerClassName) throws WTException
name
- This may not be null, and must not be an empty string or an exception will be throwncontainerClassName
-
WTException
Method Detail |
public String getName()
public void setName(String a_Name) throws WTPropertyVetoException
a_Name
-
WTPropertyVetoException
private void nameValidate(String a_Name) throws WTPropertyVetoException
a_Name
-
WTPropertyVetoException
public String getDescription()
public void setDescription(String a_Description) throws WTPropertyVetoException
a_Description
-
WTPropertyVetoException
private void descriptionValidate(String a_Description) throws WTPropertyVetoException
a_Description
-
WTPropertyVetoException
public boolean isEnabled()
public void setEnabled(boolean a_Enabled)
a_Enabled
- public String getContainerClassName()
public void setContainerClassName(String a_ContainerClassName) throws WTPropertyVetoException
a_ContainerClassName
-
WTPropertyVetoException
private void containerClassNameValidate(String a_ContainerClassName) throws WTPropertyVetoException
a_ContainerClassName
-
WTPropertyVetoException
public String getLocale()
public void setLocale(String a_Locale) throws WTPropertyVetoException
a_Locale
-
WTPropertyVetoException
private void localeValidate(String a_Locale) throws WTPropertyVetoException
a_Locale
-
WTPropertyVetoException
public WTContainerTemplate getTemplate() throws WTException
getTemplate
in interface GeneratedTemplateInstanceAttributes
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |