org.pentaho.platform.dataaccess.datasource.wizard.models
Class ColumnInfo

java.lang.Object
  extended by org.pentaho.ui.xul.XulEventSourceAdapter
      extended by org.pentaho.platform.dataaccess.datasource.wizard.models.ColumnInfo
All Implemented Interfaces:
Serializable, org.pentaho.ui.xul.XulEventSource

public class ColumnInfo
extends org.pentaho.ui.xul.XulEventSourceAdapter
implements Serializable

See Also:
Serialized Form

Field Summary
static List<String> DATE_FORMATS
           
static String FIELD_TYPE_ATTRIBUTE
           
static String FIELD_TYPE_BOTH
           
static String FIELD_TYPE_DIMENSION
           
static String FIELD_TYPE_MEASURE
           
 
Constructor Summary
ColumnInfo()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAggregateType()
           
static List<org.pentaho.metadata.model.concept.types.DataType> getAvailableDataTypes()
           
 org.pentaho.metadata.model.concept.types.DataType getDataType()
           
 String getFieldType()
           
 String getFormat()
           
 List<String> getFormatStrings()
           
 boolean getFormatStringsDisabled()
           
 String getId()
           
 int getLength()
           
 int getPrecision()
           
 String[] getSamples()
           
 String getTitle()
           
 int hashCode()
           
 boolean isIgnore()
           
 boolean isInclude()
           
 boolean isIndex()
           
 void setAggregateType(String aggregateType)
           
 void setDataType(org.pentaho.metadata.model.concept.types.DataType dataType)
           
 void setFieldType(String fieldType)
           
 void setFormat(String format)
           
 void setId(String id)
           
 void setIgnore(boolean ignore)
           
 void setInclude(boolean include)
           
 void setIndex(boolean index)
           
 void setLength(int length)
           
 void setPrecision(int precision)
           
 void setSamples(String[] samples)
           
 void setTitle(String title)
           
 
Methods inherited from class org.pentaho.ui.xul.XulEventSourceAdapter
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATE_FORMATS

public static final List<String> DATE_FORMATS

FIELD_TYPE_BOTH

public static final String FIELD_TYPE_BOTH
See Also:
Constant Field Values

FIELD_TYPE_MEASURE

public static final String FIELD_TYPE_MEASURE
See Also:
Constant Field Values

FIELD_TYPE_ATTRIBUTE

public static final String FIELD_TYPE_ATTRIBUTE
See Also:
Constant Field Values

FIELD_TYPE_DIMENSION

public static final String FIELD_TYPE_DIMENSION
See Also:
Constant Field Values
Constructor Detail

ColumnInfo

public ColumnInfo()
Method Detail

getLength

public int getLength()

setLength

public void setLength(int length)

getPrecision

public int getPrecision()

setPrecision

public void setPrecision(int precision)

getFormat

public String getFormat()

setFormat

public void setFormat(String format)

isIndex

public boolean isIndex()

setIndex

public void setIndex(boolean index)

isIgnore

public boolean isIgnore()

setIgnore

public void setIgnore(boolean ignore)

isInclude

public boolean isInclude()

setInclude

public void setInclude(boolean include)

getFieldType

public String getFieldType()

setFieldType

public void setFieldType(String fieldType)

getId

public String getId()

setId

public void setId(String id)

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

getDataType

public org.pentaho.metadata.model.concept.types.DataType getDataType()

setDataType

public void setDataType(org.pentaho.metadata.model.concept.types.DataType dataType)

getAggregateType

public String getAggregateType()

setAggregateType

public void setAggregateType(String aggregateType)

getSamples

public String[] getSamples()

setSamples

public void setSamples(String[] samples)

getAvailableDataTypes

public static List<org.pentaho.metadata.model.concept.types.DataType> getAvailableDataTypes()

getFormatStringsDisabled

public boolean getFormatStringsDisabled()

getFormatStrings

public List<String> getFormatStrings()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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