public abstract class RMDataSource
extends java.lang.Object
Constructor and Description |
---|
RMDataSource() |
Modifier and Type | Method and Description |
---|---|
boolean |
getCustomSchema()
Returns a schema that may differ from the one stored in an XML file.
|
abstract java.util.Map |
getDataset()
Returns a sample dataset of objects associated with the datasource.
|
javi.data.Entity |
getEntity(java.lang.String aKeyPath)
Returns the entity at the given key path.
|
java.lang.String |
getName()
Returns the name for this data source.
|
abstract javi.data.Schema |
getSchema()
Returns the schema of represented datasource as a hierarchy of RMEntity and RMProperty objects.
|
void |
refresh()
Invalidates any cached data.
|
void |
setCustomSchema(boolean customSchema)
Sets a schema that may differ from the one stored in an XML file.
|
void |
setName(java.lang.String aName)
Sets the name for this data source.
|
public java.lang.String getName()
public void setName(java.lang.String aName)
public abstract javi.data.Schema getSchema()
public boolean getCustomSchema()
public void setCustomSchema(boolean customSchema)
public abstract java.util.Map getDataset()
public javi.data.Entity getEntity(java.lang.String aKeyPath)
public void refresh()