jdbreport.design.model
Class GroupKey

java.lang.Object
  extended by jdbreport.design.model.GroupKey
All Implemented Interfaces:
Cloneable

public class GroupKey
extends Object
implements Cloneable

Object for working with the group's keys

Version:
1.3 03.08.2009
Author:
Andrey Kholmanskih

Constructor Summary
GroupKey()
           
GroupKey(String name)
           
GroupKey(String name, String datasetID)
           
 
Method Summary
 Object clone()
           
 String getDatasetID()
          Returns the alias DataSet for the key.
 String getName()
          Returns the name of the key.
 int getType()
          Returns the type of the key.
 Object getValue()
          Returns value of the key.
 void setDatasetID(String datasetID)
          Sets alias DataSet for the key
 void setName(String name)
          Sets name of the key
 void setValue(Object value)
          Sets value of the key.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupKey

public GroupKey()

GroupKey

public GroupKey(String name)
Parameters:
name -

GroupKey

public GroupKey(String name,
                String datasetID)
Method Detail

getType

public int getType()
Returns the type of the key. It can accept the meanings TYPE_VAR or TYPE_FIELD

Returns:
the type.

getName

public String getName()
Returns the name of the key.

Returns:
the name.

setName

public void setName(String name)
Sets name of the key

Parameters:
name - The name to set.

setDatasetID

public void setDatasetID(String datasetID)
Sets alias DataSet for the key

Parameters:
datasetID - The datasetID to set.

getDatasetID

public String getDatasetID()
Returns the alias DataSet for the key.

Returns:
Returns the datasetID.

getValue

public Object getValue()
Returns value of the key.

Returns:
value of the key

setValue

public void setValue(Object value)
Sets value of the key.

Parameters:
value -

clone

public Object clone()
Overrides:
clone in class Object