org.gcube.data.analysis.tabulardata.model.datatype
Class Text

java.lang.Object
  extended by org.gcube.data.analysis.tabulardata.model.datatype.Text
All Implemented Interfaces:
Serializable, DataType

public class Text
extends Object
implements DataType

See Also:
Serialized Form

Constructor Summary
Text()
          Creates a Text data type with a maximum lenght of 256 characters
Text(int lenght)
          Creates a Text data type with a given maximum lenght
 
Method Summary
 boolean equals(Object obj)
           
 DataTypeEnum getDataType()
           
 int getLenght()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Text

public Text()
Creates a Text data type with a maximum lenght of 256 characters


Text

public Text(int lenght)
Creates a Text data type with a given maximum lenght

Parameters:
lenght - the number of allowed maximum characters
Method Detail

getLenght

public int getLenght()

getDataType

public DataTypeEnum getDataType()
Specified by:
getDataType in interface DataType

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.