public class OdsxTableHelper
extends java.lang.Object
| Constructor and Description |
|---|
OdsxTableHelper() |
| Modifier and Type | Method and Description |
|---|---|
static OdsxTableModelInterface |
createApplicationElementTable(ApplicationElement ae,
boolean withRel)
Selected the table contents from an application element.
|
static OdsxTableModelInterface |
createInstanceElementChildTable(InstanceElement ieObj,
ApplicationElement relatedAe,
boolean withRel)
Selected the table contents from an instance element child.
|
static OdsxTableModelInterface |
createTable(InstanceElement relIE,
ApplicationElement ae,
boolean withRel)
Selected the table contents from an application element or the relation of the instance element.
|
static ElemResultSet |
createTable2(InstanceElement relIE,
ApplicationElement ae,
boolean withRel)
Selected the table contents from an application element or the relation of the instance element.
|
static ResultSetExt |
createTableResultSetExt(ApplicationStructure asObj,
ApplicationElement ae)
Selected the table contents from an application element or the relation of the instance element.
|
static ResultSetExt |
createTableResultSetExt(ApplicationStructure asObj,
InstanceElement ie)
Selected the table contents from an instances element or the relation of the instance element.
|
static int[] |
reduceRelationInset(int[] arr)
Make a integer array uniq for an inset selection
|
static T_LONGLONG[] |
reduceRelationInset(com.highqsoft.odsx.OdsxTableHelper.RelOrder[] arr)
Make a integer array uniq for an inset selection
|
public static OdsxTableModelInterface createTable(InstanceElement relIE, ApplicationElement ae, boolean withRel) throws AoException
relIE - The related InstanceElement. If null the result is the table with all InstanceElements belong to the ApplicationElement.ae - the application element.withRel - if true the relation will be selected additionallyAoExceptionpublic static OdsxTableModelInterface createApplicationElementTable(ApplicationElement ae, boolean withRel) throws AoException
ae - the application element.withRel - if true the relation will be selected additionallyAoExceptionpublic static OdsxTableModelInterface createInstanceElementChildTable(InstanceElement ieObj, ApplicationElement relatedAe, boolean withRel) throws AoException
ieObj - the instance element.relatedAe - the related application element.withRel - if true the relation will be selected additionallyAoExceptionpublic static T_LONGLONG[] reduceRelationInset(com.highqsoft.odsx.OdsxTableHelper.RelOrder[] arr)
arr - array to be uniqpublic static int[] reduceRelationInset(int[] arr)
arr - array to be uniqpublic static ElemResultSet createTable2(InstanceElement relIE, ApplicationElement ae, boolean withRel) throws AoException
relIE - The related InstanceElement. If null the result is the table with all InstanceElements belong to the ApplicationElement.ae - the application element.withRel - if true the relation will be selected additionallyAoExceptionpublic static ResultSetExt createTableResultSetExt(ApplicationStructure asObj, ApplicationElement ae) throws AoException
relIE - The related InstanceElement. If null the result is the table with all InstanceElements belong to the ApplicationElement.ae - the application element.withRel - if true the relation will be selected additionallyAoExceptionpublic static ResultSetExt createTableResultSetExt(ApplicationStructure asObj, InstanceElement ie) throws AoException
asObj - the Application Structureie - the Instance elementAoException