public class ColumnMetaData extends Object implements Serializable
Table.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
displayAll
A flag used to indicate that all the values in a collection are to be
displayed.
|
protected String |
fieldName
An optional name that represents a field in
type whose value
will be displayed. |
protected String |
name
The name of the column.
|
protected Class |
type
The class of the object displayed in the column.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ColumnMetaData() |
|
ColumnMetaData(String name,
Class type)
Create a new instance using the specified mandatory fields.
|
|
ColumnMetaData(String name,
Class type,
String fieldName)
Create a new instance using the specified fields.
|
|
ColumnMetaData(String name,
Class type,
String fieldName,
boolean displayAll)
Create a new instance using the specified fields.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFieldName()
Return the value of
fieldName. |
String |
getName()
Return the value of
name. |
Class |
getType()
Return the value of
type. |
boolean |
isDisplayAll()
Return the status indicator for dealing with collection data.
|
void |
setDisplayAll(boolean displayAll)
Set the status indicator for displaying values in a collection.
|
protected String name
protected Class type
protected String fieldName
protected boolean displayAll
protected ColumnMetaData()
public ColumnMetaData(String name, Class type)
public ColumnMetaData(String name, Class type, String fieldName)
public ColumnMetaData(String name, Class type, String fieldName, boolean displayAll)
name - The name value to use.type - The type value to use.fieldName - The fieldName value to use.displayAll - The displayAll to use.public String getFieldName()
fieldName.fieldName.public boolean isDisplayAll()
displayAllpublic void setDisplayAll(boolean displayAll)
displayAll - The value for the status indicator.