org.eclipse.higgins.icard
Interface ITemplateContainer

All Superinterfaces:
ITemplateElement
All Known Subinterfaces:
ICardTemplate

public interface ITemplateContainer
extends ITemplateElement

Used to collect ITemplateElement elements into some logical group


Method Summary
 void addTemplateElement(ITemplateElement element)
          Add ITemplateElement to this container
 ITemplateElement getTemplateElementByID(String id)
           
 Iterator getTemplateElements()
           
 ITemplateValue getTemplateValueByID(String id)
           
 void removeTemplateElement(ITemplateElement element)
          Remove ITemplateElement from this container
 
Methods inherited from interface org.eclipse.higgins.icard.ITemplateElement
getDescription, getDisplayName, getID, setDescription, setDisplayName, setID
 

Method Detail

addTemplateElement

void addTemplateElement(ITemplateElement element)
Add ITemplateElement to this container

Parameters:
element -

removeTemplateElement

void removeTemplateElement(ITemplateElement element)
Remove ITemplateElement from this container

Parameters:
element -

getTemplateElements

Iterator getTemplateElements()
Returns:
Iterator of ITemplateElement which this container owns directly

getTemplateElementByID

ITemplateElement getTemplateElementByID(String id)
Parameters:
id - ID of required ITemplateElement
Returns:
ITemplateElement which this container owns directly

getTemplateValueByID

ITemplateValue getTemplateValueByID(String id)
Parameters:
id - ID of required ITemplateValue
Returns:
ITemplateValue which this container owns directly