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

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

public class TextType
extends DataType

See Also:
Serialized Form

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

Constructor Detail

TextType

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


TextType

public TextType(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()

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.