|
ReportMill 10 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.reportmill.datasource.RMResource
public class RMResource
An inner class to represent a datasource resource.
Constructor Summary | |
---|---|
RMResource(RMDataSource aDataSource,
java.lang.String aName,
java.lang.Object theBytes,
java.lang.String aQueryName)
Creates a new resource. |
Method Summary | |
---|---|
byte[] |
getBytes()
Returns the resource bytes. |
RMDataSource |
getDataSource()
Returns the originating datasource. |
java.lang.String |
getName()
Returns the resource name. |
java.lang.String |
getQueryName()
Returns the query name associated with the resource. |
boolean |
isDirty()
Returns whether this resource has changes that need saving. |
java.lang.String |
remove()
Removes this resource from the datasource. |
java.lang.String |
save()
Saves this resource to the datasource. |
void |
setBytes(byte[] bytes)
Sets the resource bytes. |
void |
setDirty(boolean aValue)
Sets wether thisr esource has changes that need saving. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RMResource(RMDataSource aDataSource, java.lang.String aName, java.lang.Object theBytes, java.lang.String aQueryName)
Method Detail |
---|
public RMDataSource getDataSource()
public java.lang.String getName()
public byte[] getBytes()
public void setBytes(byte[] bytes)
public java.lang.String getQueryName()
public boolean isDirty()
public void setDirty(boolean aValue)
public java.lang.String save()
public java.lang.String remove()
|
ReportMill 10 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |