org.gcube.portlets.user.timeseries.charts.support.tablemodel
Class FieldDescr

java.lang.Object
  extended by org.gcube.portlets.user.timeseries.charts.support.tablemodel.FieldDescr
All Implemented Interfaces:
Serializable

public final class FieldDescr
extends Object
implements Serializable

Author:
Daniele Strollo (ISTI-CNR)
See Also:
Serialized Form

Constructor Summary
FieldDescr(String rawname)
           
FieldDescr(String rawname, FieldType type)
           
FieldDescr(String alias, String rawname)
           
FieldDescr(String alias, String rawname, FieldType type)
           
 
Method Summary
 String getAlias()
           
 String getRawName()
           
 void setAlias(String alias)
          The alias name is the label used to identify the column.
 void setRawName(String rawName)
          The rawName identifies the name of column on the table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldDescr

public FieldDescr(String rawname)
           throws InvalidParameterException
Throws:
InvalidParameterException

FieldDescr

public FieldDescr(String rawname,
                  FieldType type)
           throws InvalidParameterException
Throws:
InvalidParameterException

FieldDescr

public FieldDescr(String alias,
                  String rawname)
           throws InvalidParameterException
Throws:
InvalidParameterException

FieldDescr

public FieldDescr(String alias,
                  String rawname,
                  FieldType type)
           throws InvalidParameterException
Throws:
InvalidParameterException
Method Detail

setAlias

public void setAlias(String alias)
The alias name is the label used to identify the column. It can be null and in this case the getAlias will return the rawName.

Parameters:
alias -
Throws:
InvalidParameterException

setRawName

public void setRawName(String rawName)
                throws InvalidParameterException
The rawName identifies the name of column on the table. It cannot be null.

Parameters:
rawName -
Throws:
InvalidParameterException

getRawName

public String getRawName()

getAlias

public String getAlias()


Copyright © 2013. All Rights Reserved.