wt.enterprise
Interface Templateable

All Superinterfaces:
NetFactor, ObjectMappable, Persistable, Serializable
All Known Implementing Classes:
WTDocument

public interface Templateable
extends Persistable

An object that implements the Templateable interface has the potential of being a template. For ex:- WTPart or a WTDocument class could implement the Templateable interface and its object could either be a Normal Part/Document or a PartTemplate/ DocumentTemplate

Supported API: false

Extendable: false


Field Summary
static String TEMPLATE
          Label for the attribute.
static String TEMPLATED
          Label for the attribute; a boolean attribute indicating whether template or not( derived attribute)

Supported API: false
 
Fields inherited from interface wt.fc.Persistable
IDENTITY, PERSIST_INFO, TYPE
 
Method Summary
 TemplateInfo getTemplate()
          Gets the object for the association that plays role: TEMPLATE.
 boolean isTemplated()
          Gets the value of the attribute: TEMPLATED.
 void setTemplate(TemplateInfo a_Template)
          Sets the object for the association that plays role: TEMPLATE.
 
Methods inherited from interface wt.fc.Persistable
checkAttributes, getIdentity, getPersistInfo, getType, setPersistInfo
 
Methods inherited from interface wt.fc.ObjectMappable
readExternal, writeExternal
 
Methods inherited from interface wt.fc.NetFactor
getClassInfo, getConceptualClassname
 

Field Detail

TEMPLATED

public static final String TEMPLATED
Label for the attribute; a boolean attribute indicating whether template or not( derived attribute)

Supported API: false

See Also:
Constant Field Values

TEMPLATE

public static final String TEMPLATE
Label for the attribute.

Supported API: false

See Also:
Constant Field Values
Method Detail

isTemplated

public boolean isTemplated()
Gets the value of the attribute: TEMPLATED. a boolean attribute indicating whether template or not( derived attribute)

Supported API: false

Returns:
boolean

getTemplate

public TemplateInfo getTemplate()
Gets the object for the association that plays role: TEMPLATE.

Supported API: false

Returns:
TemplateInfo

setTemplate

public void setTemplate(TemplateInfo a_Template)
                 throws WTPropertyVetoException
Sets the object for the association that plays role: TEMPLATE.

Supported API: false

Parameters:
a_Template -
Throws:
WTPropertyVetoException