org.gcube.portlets.user.timeseries.charts.support.tablemodel
Class FieldDescr
java.lang.Object
org.gcube.portlets.user.timeseries.charts.support.tablemodel.FieldDescr
- All Implemented Interfaces:
- java.io.Serializable
public final class FieldDescr
- extends java.lang.Object
- implements java.io.Serializable
- Author:
- Daniele Strollo (ISTI-CNR)
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getAlias()
|
java.lang.String |
getRawName()
|
void |
setAlias(java.lang.String alias)
The alias name is the label used to identify the column. |
void |
setRawName(java.lang.String rawName)
The rawName identifies the name of column on the table. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldDescr
public FieldDescr(java.lang.String rawname)
throws InvalidParameterException
- Throws:
InvalidParameterException
FieldDescr
public FieldDescr(java.lang.String rawname,
FieldType type)
throws InvalidParameterException
- Throws:
InvalidParameterException
FieldDescr
public FieldDescr(java.lang.String alias,
java.lang.String rawname)
throws InvalidParameterException
- Throws:
InvalidParameterException
FieldDescr
public FieldDescr(java.lang.String alias,
java.lang.String rawname,
FieldType type)
throws InvalidParameterException
- Throws:
InvalidParameterException
setAlias
public void setAlias(java.lang.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(java.lang.String rawName)
throws InvalidParameterException
- The rawName identifies the name of column on the table.
It cannot be null.
- Parameters:
rawName
-
- Throws:
InvalidParameterException
getRawName
public java.lang.String getRawName()
getAlias
public java.lang.String getAlias()