pl.edu.agh.cast.data.template
Class TemplateGroup

java.lang.Object
  extended by pl.edu.agh.cast.data.template.TemplateGroup

public class TemplateGroup
extends Object

Contains named templates group. Used for grouping templates in tree viewer

Author:
AGH CAST Team

Constructor Summary
TemplateGroup(Collection<Template> templates, String name)
          The default constructor.
 
Method Summary
 String getName()
           
 Collection<Template> getTemplates()
           
 Template[] getTemplatesAsArray()
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TemplateGroup

public TemplateGroup(Collection<Template> templates,
                     String name)
The default constructor.

Parameters:
templates - templates belonging to current group
name - template name
Method Detail

getTemplates

public Collection<Template> getTemplates()

getName

public String getName()

getTemplatesAsArray

public Template[] getTemplatesAsArray()

toString

public String toString()

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.