org.eclipse.higgins.icard
Interface ITemplateValue

All Superinterfaces:
ITemplateElement

public interface ITemplateValue
extends ITemplateElement

Represents user's input data


Method Summary
 IUIDescriptor getUIDescriptor()
          Gets an UI descriptor which provides an information how to display this template value.
 String getValue()
          The string representing the data.
 boolean isValueRequired()
          Indicates that not-empty value is required
 void setIsValueRequired(boolean isValueRequired)
           
 void setUIDescriptor(IUIDescriptor descriptor)
          Sets an UI descriptor for this template value.
 void setValue(String value)
           
 
Methods inherited from interface org.eclipse.higgins.icard.ITemplateElement
getDescription, getDisplayName, getID, setDescription, setDisplayName, setID
 

Method Detail

getValue

String getValue()
The string representing the data. Can contain default value


setValue

void setValue(String value)
Parameters:
value -

isValueRequired

boolean isValueRequired()
Indicates that not-empty value is required


setIsValueRequired

void setIsValueRequired(boolean isValueRequired)
Parameters:
isValueRequired - true - not-empty value is required false - value is not required

getUIDescriptor

IUIDescriptor getUIDescriptor()
Gets an UI descriptor which provides an information how to display this template value.


setUIDescriptor

void setUIDescriptor(IUIDescriptor descriptor)
Sets an UI descriptor for this template value.