|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.orion.sdata.servlet.swtservice.GroupedKindSchema
public final class GroupedKindSchema
The GroupedKindSchema
class produces a schema for those resource
kinds that add virtual grouping to underlying flat JDBC table resource kinds.
The schema simply appends the appropriate type and structure entries of the subclass to the schema of the superclass
Constructor Summary | |
---|---|
GroupedKindSchema(SDataSchema superSchema,
java.lang.String subName,
java.lang.String... fields)
constructs an instance of the GroupedKindSchema class using the
schema of the superclass and the name and field names of the subclass |
Method Summary | |
---|---|
org.w3c.dom.Element |
getAsElement(org.w3c.dom.Document document)
returns a schema element that expresses the schema. |
java.lang.String |
getVersion()
a version that identifies the schema or null if there is none |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupedKindSchema(SDataSchema superSchema, java.lang.String subName, java.lang.String... fields)
GroupedKindSchema
class using the
schema of the superclass and the name and field names of the subclass
superSchema
- the schema of the superclass that actually holds the datasubName
- the name of the resource kind that forms the virtual headerfields
- a variable length list of field names. All fields are taken to
be read-only string fieldsMethod Detail |
---|
public org.w3c.dom.Element getAsElement(org.w3c.dom.Document document)
The schema returned is intended either to be made the content of a document or added to a link element etc.
getAsElement
in interface SDataSchema
document
- the element to which to add itselfpublic java.lang.String getVersion()
getVersion
in interface SDataSchema
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |