net.sf.adatagenerator.api
Interface Group<T>
- All Superinterfaces:
- Comparable<NamedInstance>, NamedInstance
- All Known Subinterfaces:
- HierarchicalGroup<T>
- All Known Implementing Classes:
- DefaultGroup
public interface Group<T>
- extends NamedInstance
DEFAULT_INITIAL_ID
static final int DEFAULT_INITIAL_ID
- See Also:
- Constant Field Values
getId
int getId()
incrementId
int incrementId()
getName
String getName()
- Description copied from interface:
NamedInstance
- Implementing classes should return a name that will be comparable within
some context
- Specified by:
getName in interface NamedInstance
- Returns:
- a value that identifies an instance in some context. This
parameter may be null for an anonymous instance, but if it is
non-null, the value will be a trimmed String
setName
void setName(String name)
setParam
void setParam(String name,
String value)
getParam
String getParam(String name)
getParams
HashMap<String,String> getParams()
addRecord
void addRecord(T rec)
clearRecords
void clearRecords()
addAllRecords
void addAllRecords(List<T> recs)
getRecords
List<T> getRecords()
Copyright © 2011-2012. All Rights Reserved.