|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.dataset.adapter.MetaDataProviderAdapter
public class MetaDataProviderAdapter
Constructor Summary | |
---|---|
MetaDataProviderAdapter(DataTable table)
Creates a new instance of MetaDataProviderAdapter |
Method Summary | |
---|---|
int |
getFieldCount()
|
java.lang.String[] |
getFieldNames()
Note: if the type for id is changed to Object type this will have to change to returning Object[]. |
MetaData[] |
getMetaData()
convenience to return all MetaData. |
MetaData |
getMetaData(java.lang.String dataID)
Note: String will likely be converted to type Object for the ID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MetaDataProviderAdapter(DataTable table)
Method Detail |
---|
public int getFieldCount()
getFieldCount
in interface MetaDataProvider
public final java.lang.String[] getFieldNames()
MetaDataProvider
getFieldNames
in interface MetaDataProvider
public final MetaData[] getMetaData()
MetaDataProvider
getMetaData
in interface MetaDataProvider
public MetaData getMetaData(java.lang.String dataID)
MetaDataProvider
getMetaData
in interface MetaDataProvider
dataID
- String containing the id of the data object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |