public class ApplicationRelationExampleAbstract extends AoSessionExampleAbstract
Modifier and Type | Field and Description |
---|---|
protected static ApplicationElement |
ae |
protected static AoSession |
aoSess |
protected static ApplicationStructure |
as |
ODS_DATE_FORMAT, options, plumCorba, serviceName, userAuthentication
Constructor and Description |
---|
ApplicationRelationExampleAbstract() |
Modifier and Type | Method and Description |
---|---|
protected static void |
close()
Close the connection to the ODS Server
|
protected static ApplicationElement |
getApplicationElement()
Get the application element, this examples use the element derived from AoTest.
|
protected static ApplicationElement |
getApplicationElement(java.lang.String aeName)
Get the element with a given name.
|
protected static ApplicationRelation |
getApplicationRelation()
Get the 'children' relation with the given name of the application element.
|
protected static ApplicationRelation |
getApplicationRelation(java.lang.String aeName,
java.lang.String brName)
Get the relation with the given base name of the application element with the given name.
|
protected static ApplicationStructure |
getApplicationStructure()
Get the application structure
|
protected static AoSession |
getSession()
Get the session.
|
connect
protected static AoSession aoSess
protected static ApplicationStructure as
protected static ApplicationElement ae
protected static ApplicationStructure getApplicationStructure() throws AoException
AoException
- any occurring ASAM ODS exception.protected static ApplicationElement getApplicationElement() throws AoException
AoException
- any occurring ASAM ODS exception.protected static ApplicationElement getApplicationElement(java.lang.String aeName) throws AoException
aeName
- the name of the elementAoException
- any occurring ASAM ODS exception.protected static ApplicationRelation getApplicationRelation(java.lang.String aeName, java.lang.String brName) throws AoException
aeName
- the name of the elementbrName
- the name of the base relationAoException
- any occurring ASAM ODS exception.protected static ApplicationRelation getApplicationRelation() throws AoException
AoException
- any occurring ASAM ODS exception.protected static void close() throws AoException
AoException
- any occurring ASAM ODS exception.protected static AoSession getSession() throws AoException
AoException
- any occurring ASAM ODS exception.