public class OdsxSelectHelper extends Fwk
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
OdsxSelectHelper.NameId
This class is used to return a name id value pair.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
version |
Constructor and Description |
---|
OdsxSelectHelper() |
Modifier and Type | Method and Description |
---|---|
static OdsxSelectHelper.NameId[] |
getChildren(InstanceElement ieObj,
ApplicationElement relAe,
java.lang.String pattern)
Get the children instances.
|
static OdsxSelectHelper.NameId[] |
getChildren(T_LONGLONG ieId,
ApplicationElement aeObj,
ApplicationElement relAe,
java.lang.String pattern)
Get the children instances.
|
static OdsxSelectHelper.NameId[] |
getChildren(T_LONGLONG iid,
ApplicationElement aeObj,
ApplicationElement relAe,
java.lang.String pattern,
boolean includeVersion)
Get the children of an instance.
|
static OdsxSelectHelper.NameId[] |
getInstanceIds(ApplicationElement aeObj,
java.lang.String pattern)
Get the instance ids belong to an application element.
|
static OdsxSelectHelper.NameId[] |
getInstanceIds(ApplicationElement aeObj,
java.lang.String pattern,
boolean includeVersion)
Get the instance ids belong to an application element.
|
static OdsxSelectHelper.NameId[] |
getNameIdFromElemResultSet(ElemResultSet elemRes,
boolean includeVersion)
Get from the ResultSet of the getInstance method the name(version) and the Id combination.
|
static OdsxSelectHelper.NameId[] |
getNameIdFromResultSetExt(ResultSetExt res,
java.lang.String versionName)
Get from the ResultSetExt of the getInstancesExt method the name(version) and the Id combination.
|
static OdsxSelectHelper.NameId[] |
getRelated(InstanceElement ieObj,
ApplicationRelation rel,
java.lang.String pattern)
Get the related instances.
|
static OdsxSelectHelper.NameId[] |
getRelated(T_LONGLONG ieId,
ApplicationElement aeObj,
ApplicationRelation rel,
java.lang.String pattern)
Get the related instances.
|
static OdsxSelectHelper.NameId[] |
getRelated(T_LONGLONG iid,
ApplicationElement aeObj,
ApplicationRelation rel,
java.lang.String pattern,
boolean includeVersion)
Get the related of an instance.
|
static OdsxSelectHelper.NameId[] |
getRelatedExt(T_LONGLONG iid,
ApplicationElement aeObj,
ApplicationRelation rel,
java.lang.String pattern,
boolean includeVersion)
Get the related elements of an instance.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
static void |
main(java.lang.String[] args)
Main module of this application.
|
getNiceVersion, release
public static final java.lang.String version
public java.lang.String getVersion()
FwkInterface
getVersion
in interface FwkInterface
getVersion
in class Fwk
public static OdsxSelectHelper.NameId[] getNameIdFromElemResultSet(ElemResultSet elemRes, boolean includeVersion)
elemRes
- The element from the elemResultSet, the first attribute is the name,
the second attribute is the Id, the third attribute is the version if required.includeVersion
- The version is part of the result set.public static OdsxSelectHelper.NameId[] getNameIdFromResultSetExt(ResultSetExt res, java.lang.String versionName)
elemRes
- The element from the elemResultSet, the first attribute is the name,
the second attribute is the Id, the third attribute is the version if required.versionName
- The version is part of the result set this is the name of the attribute else null.public static OdsxSelectHelper.NameId[] getInstanceIds(ApplicationElement aeObj, java.lang.String pattern) throws AoException
aeObj
- the application element.pattern
- the naming pattern of the instances.AoException
public static OdsxSelectHelper.NameId[] getInstanceIds(ApplicationElement aeObj, java.lang.String pattern, boolean includeVersion) throws AoException
aeObj
- the application element.pattern
- the naming pattern of the instances.includeVersion
- if true the versioh will be selected additionally.AoException
public static OdsxSelectHelper.NameId[] getChildren(T_LONGLONG ieId, ApplicationElement aeObj, ApplicationElement relAe, java.lang.String pattern) throws AoException
ieId
- the instance element id.aeObj
- the application element of the instance element.relAe
- The related application element.pattern
- the naming pattern of the instances.AoException
public static OdsxSelectHelper.NameId[] getChildren(InstanceElement ieObj, ApplicationElement relAe, java.lang.String pattern) throws AoException
ieObj
- the instance element.relAe
- The related application element.pattern
- the naming pattern of the instances.AoException
public static OdsxSelectHelper.NameId[] getChildren(T_LONGLONG iid, ApplicationElement aeObj, ApplicationElement relAe, java.lang.String pattern, boolean includeVersion) throws AoException
iid
- the id of the instance element.aeObj
- the application element of the instance element.relAe
- The related application element.pattern
- the naming pattern of the instances.includeVersion
- if true the version will be selected additionally.AoException
public static OdsxSelectHelper.NameId[] getRelated(T_LONGLONG ieId, ApplicationElement aeObj, ApplicationRelation rel, java.lang.String pattern) throws AoException
ieId
- the instance element id.aeObj
- the application element of the instance element.rel
- The application relation.pattern
- the naming pattern of the instances.AoException
public static OdsxSelectHelper.NameId[] getRelated(InstanceElement ieObj, ApplicationRelation rel, java.lang.String pattern) throws AoException
ieObj
- the instance element.rel
- The application relation.pattern
- the naming pattern of the instances.AoException
public static OdsxSelectHelper.NameId[] getRelatedExt(T_LONGLONG iid, ApplicationElement aeObj, ApplicationRelation rel, java.lang.String pattern, boolean includeVersion) throws AoException
iid
- the id of the instance element.aeObj
- the application element of the instance element.rel
- The application relation.pattern
- the naming pattern of the instances.includeVersion
- if true the versioh will be selected additionally.AoException
public static OdsxSelectHelper.NameId[] getRelated(T_LONGLONG iid, ApplicationElement aeObj, ApplicationRelation rel, java.lang.String pattern, boolean includeVersion) throws AoException
iid
- the id of the instance element.aeObj
- the application element of the instance element.rel
- The application relationt.pattern
- the naming pattern of the instances.includeVersion
- if true the versioh will be selected additionally.AoException
public static void main(java.lang.String[] args)