|
ReportMill 10 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.reportmill.datasource.RMSchema
public class RMSchema
This class describes the structure of a datasource by managing a list of RMEntity.
Constructor Summary | |
---|---|
RMSchema()
Creates a new empty schema. |
|
RMSchema(java.lang.String aName)
Creates a new schema with the given name. |
Method Summary | |
---|---|
void |
addEntity(RMEntity anEntity)
Adds an entity to the list. |
java.lang.Object |
clone()
Standard clone implementation. |
boolean |
equals(java.lang.Object anObj)
Standard equals implementation. |
java.lang.Object |
fromXML(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement)
XML unarchival. |
RMEntity |
getEntity(int anIndex)
Returns the specific entity at the given index. |
RMEntity |
getEntity(java.lang.String aName)
Returns the schema entity with the given name. |
int |
getEntityCount()
Returns the number of entities in this schema. |
RMEntity |
getRootEntity()
Returns the root entity. |
java.lang.String |
getRootEntityName()
Returns the schema's root entity name. |
void |
removeEntity(RMEntity anEntity)
Removes an entity from the list. |
void |
setRootEntityName(java.lang.String aName)
Sets the schema's root entity name. |
java.lang.String |
toString()
Returns schema name. |
com.reportmill.archiver.RXElement |
toXML(com.reportmill.archiver.RXArchiver anArchiver)
XML archival. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RMSchema()
public RMSchema(java.lang.String aName)
Method Detail |
---|
public int getEntityCount()
public RMEntity getEntity(int anIndex)
public void addEntity(RMEntity anEntity)
public void removeEntity(RMEntity anEntity)
public RMEntity getEntity(java.lang.String aName)
public java.lang.String getRootEntityName()
public void setRootEntityName(java.lang.String aName)
public RMEntity getRootEntity()
public boolean equals(java.lang.Object anObj)
equals
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public com.reportmill.archiver.RXElement toXML(com.reportmill.archiver.RXArchiver anArchiver)
public java.lang.Object fromXML(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement)
|
ReportMill 10 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |