|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.datasource.TableSpec
Encapsulates a table spec as defined in ITabularDataSource.
| Constructor Summary | |
TableSpec()
Constructs with no properties. |
|
TableSpec(java.lang.String spec)
Constructor. |
|
| Method Summary | |
void |
addContextParams(XMASession session)
Adds the reserved parameters "_loc", "_man", "_env", "_av" which are extracted from the provided XMASession. |
java.util.Locale |
getLocale()
Requires that this contains the attribute _loc and returns the corresponding Locale object. |
java.lang.String |
getProperty(java.lang.String key)
Returns a property for a provided key or null if there is no property for that key. |
java.lang.String |
getType()
Returns the type which has been part of the specification string provided in the constructor. |
static boolean |
isContextKey(java.lang.String key)
Returns true if key is one of the reserved context keys that are added with addContextParams. |
boolean |
isValid()
Indicates if the spec String provided at construction time has been a valid one. |
java.util.Iterator |
iterator()
Returns an Iterator to iterate over the properties. |
void |
removeProperty(java.lang.String key)
Removes property with a given key from this or does nothing if there is no such property. |
void |
setLocale(java.util.Locale locale)
Sets the TableSec's Locale. |
void |
setProperty(java.lang.String key,
java.lang.String value)
Adds a property (key, value). |
java.lang.String |
toString()
Returns the table specification String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TableSpec(java.lang.String spec)
spec - a data source specification as defined in ITabularDataSource.public TableSpec()
setProperty(java.lang.String, java.lang.String).
| Method Detail |
public boolean isValid()
public java.lang.String toString()
public java.lang.String getType()
public java.lang.String getProperty(java.lang.String key)
public void setProperty(java.lang.String key,
java.lang.String value)
key - the key of the property.value - the value of the property.public void removeProperty(java.lang.String key)
public void addContextParams(XMASession session)
public static boolean isContextKey(java.lang.String key)
public java.util.Locale getLocale()
public void setLocale(java.util.Locale locale)
locale - public java.util.Iterator iterator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||