|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.echo.table.ColumnMetaData
public class ColumnMetaData
A data object used to hold the name and class of a column displayed
in the Table.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
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. |
| Constructor Summary | |
|---|---|
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. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String name
protected Class type
protected String fieldName
type whose value
will be displayed. Specify this if type represents a complex
(user defined, collection, etc.) object that will normally be ignored
by automatic binding processes.
protected boolean displayAll
| Constructor Detail |
|---|
protected ColumnMetaData()
public ColumnMetaData(String name,
Class type)
name - The name value to use.type - The type value to use.
public ColumnMetaData(String name,
Class type,
String fieldName)
name - The name value to use.type - The type value to use.fieldName - The fieldName value to use.
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.| Method Detail |
|---|
public String getName()
name.
name.public Class getType()
type.
type.public String getFieldName()
fieldName.
fieldName.public boolean isDisplayAll()
displayAllpublic void setDisplayAll(boolean displayAll)
displayAll - The value for the status indicator.
|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||