|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.ccd.ui.taglib.dataobjects.ResultMetaData
public class ResultMetaData
Represents the Metdadata associated with the Results
This class provides the information about result attributes
viz. name, type, visibility, sortable
This information represents the column data in the result set
Constructor Summary | |
---|---|
ResultMetaData()
Constructs an empty ResultMetaData |
|
ResultMetaData(java.lang.String name,
int type)
Constructs ResultMetaData with the specified name and sortable flag |
|
ResultMetaData(java.lang.String name,
int type,
boolean sortable,
boolean displayable)
Constructs ResultMetaData with the specified name and sortable flag |
Method Summary | |
---|---|
boolean |
getCurrentlySorted()
Gets the currentlySorted |
java.lang.String |
getDisplayName()
|
int |
getListBoxIndex()
|
java.lang.String |
getName()
Returns the name associated with the current element |
int |
getType()
Returns the type of the result element |
boolean |
isDisplayable()
Specifies visibility of this element |
boolean |
isMandatory()
|
boolean |
isSelected()
|
boolean |
isSortable()
Specifies sortability of the result set based on this element |
void |
setCurrentlySorted(boolean currentlySorted)
Sets the currentlySorted |
void |
setDisplayable(boolean aDisplayable)
Specifies visibility of this element |
void |
setDisplayName(java.lang.String string)
|
void |
setListBoxIndex(int i)
|
void |
setMandatory(boolean b)
|
void |
setName(java.lang.String aName)
Sets the name associated with the current element |
void |
setSortable(boolean sortable)
Specifies sortability of the result set based on this element |
void |
setType(int aType)
Sets the type of the result element |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResultMetaData()
public ResultMetaData(java.lang.String name, int type)
name
- , Name of the ELementtype
- of the elemementpublic ResultMetaData(java.lang.String name, int type, boolean sortable, boolean displayable)
name
- , Name of the ELementtype
- type of the elemementsortable
- displayable
- Method Detail |
---|
public java.lang.String getName()
getName
in interface ISelectListTag
public int getType()
ISearchElementTypesEnum
public void setType(int aType)
aType
- , Element Typepublic boolean isDisplayable()
public boolean isSortable()
public void setDisplayable(boolean aDisplayable)
aDisplayable
- true, If the element can be displayed public void setName(java.lang.String aName)
aName
- , the name of the result set elementpublic void setSortable(boolean sortable)
sortable
- true, If the result set can be sorted based on this public boolean getCurrentlySorted()
public void setCurrentlySorted(boolean currentlySorted)
currentlySorted
- The currentlySorted to setpublic boolean isSelected()
isSelected
in interface ISelectListTag
public java.lang.String getDisplayName()
getDisplayName
in interface ISelectListTag
public int getListBoxIndex()
getListBoxIndex
in interface ISelectListTag
public void setListBoxIndex(int i)
i
- public boolean isMandatory()
public void setMandatory(boolean b)
b
- public void setDisplayName(java.lang.String string)
string
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |