Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| MaltParser 1.6
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.maltparser.core.io.dataformat
Class DataFormatEntry

    java.lang.Object
      org.maltparser.core.io.dataformat.DataFormatEntry

    public class DataFormatEntry

extends Object

DataFormatEntry is used for storing information about one column in a data format.

Since:
  1.0
Author:
  Johan Hall

Constructor Summary
`DataFormatEntry(String dataFormatEntryName, String category, String type, String defaultOutput)` Creates a data format entry

Method Summary
`boolean` | `equals(Object obj)`
`String` | `getCategory()` Returns the column category
`String` | `getDataFormatEntryName()` Returns the column name
`String` | `getDefaultOutput()` Returns the default output of an ignore column
`String` | `getType()` Return the column type
`int` | `hashCode()`
`void` | `setCategory(String category)` Sets the column category
`void` | `setDataFormatEntryName(String dataFormatEntryName)` Sets the column name
`void` | `setDefaultOutput(String defaultOutput)` Sets the default output of an ignore column
`void` | `setType(String type)` Sets the column type
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### DataFormatEntry

    public DataFormatEntry(String dataFormatEntryName,
                           String category,
                           String type,
                           String defaultOutput)

  Creates a data format entry

  Parameters:
    `dataFormatEntryName` - column name
    `category` - column category
    `type` - column type
    `defaultOutput` - default output for a ignore column

Method Detail

### getDataFormatEntryName

    public String getDataFormatEntryName()

  Returns the column name

  Returns:
    the column name

### setDataFormatEntryName

    public void setDataFormatEntryName(String dataFormatEntryName)

  Sets the column name

  Parameters:
    `dataFormatEntryName` - column name

### getCategory

    public String getCategory()

  Returns the column category

  Returns:
    the column category

### setCategory

    public void setCategory(String category)

  Sets the column category

  Parameters:
    `category` - the column category

### getType

    public String getType()

  Return the column type

  Returns:
    the column type

### setType

    public void setType(String type)

  Sets the column type

  Parameters:
    `type` - the column type

### getDefaultOutput

    public String getDefaultOutput()

  Returns the default output of an ignore column

  Returns:
    the default output of an ignore column

### setDefaultOutput

    public void setDefaultOutput(String defaultOutput)

  Sets the default output of an ignore column

  Parameters:
    `defaultOutput` - the default output of an ignore column

### equals

    public boolean equals(Object obj)

  Overrides:
    `equals` in class `Object`

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `Object`

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| MaltParser 1.6
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2007-2011 Johan Hall, Jens Nilsson and Joakim Nivre.