Constructor and Description |
---|
SpreadsheetField(int index)
Used to create a spreadsheet field with specified index.
|
SpreadsheetField(int index,
FieldAttribute fieldAttribute)
Used to create a spreadsheet field with the specified index and
FieldAttribute enumeration. |
SpreadsheetField(int index,
String name,
String label)
Used to create a spreadsheet field with the specified index, name and label.
|
SpreadsheetField(int index,
String name,
String label,
FieldAttribute fieldAttribute)
Used to create a spreadsheet field with the specified index, name, label and
FieldAttribute enumeration. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
FieldAttribute |
getFieldAttribute()
Returns the specified
FieldAttribute for this spreadsheet field. |
int |
getIndex()
Returns the specified field index.
|
String |
getLabel()
Returns the specified field label.
|
String |
getName()
Returns the specified field name.
|
int |
hashCode() |
public SpreadsheetField(int index) throws DataExchangeException
DataExchangeException
public SpreadsheetField(int index, FieldAttribute fieldAttribute) throws DataExchangeException
FieldAttribute
enumeration. If the FieldAttribute
enumeration is not a NO_SOURCE_FIELD
, the index must be equal to or greater than zero. Otherwise, an exception will be thrown.DataExchangeException
public SpreadsheetField(int index, String name, String label) throws DataExchangeException
DataExchangeException
public SpreadsheetField(int index, String name, String label, FieldAttribute fieldAttribute) throws DataExchangeException
FieldAttribute
enumeration. If the FieldAttribute
enumeration is not a NO_SOURCE_FIELD
, the index must be equal to or greater than zero. Otherwise, an exception will be thrown.DataExchangeException
public String getName()
public String getLabel()
public int getIndex()
public final FieldAttribute getFieldAttribute()
FieldAttribute
for this spreadsheet field.