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

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


setValue

public void setValue(String value)
Parameters:
value -

isValueRequired

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


setIsValueRequired

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

getUIDescriptor

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


setUIDescriptor

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