public class InstanceElementExampleAbstract extends AoSessionExampleAbstract
Modifier and Type | Field and Description |
---|---|
protected static ApplicationElement |
ae |
protected static AoSession |
aoSess |
protected static InstanceElement |
ie |
ODS_DATE_FORMAT, options, plumCorba, serviceName, userAuthentication
Constructor and Description |
---|
InstanceElementExampleAbstract() |
Modifier and Type | Method and Description |
---|---|
protected static void |
close()
Close the connection to the ODS Server, destroy the iterator for the client.
|
protected static ApplicationElement |
getApplicationElement()
Get the application element derived from AoTest
|
protected static ApplicationElement |
getApplicationElementByBaseType(java.lang.String beType)
Get the application element defined by the base type.
|
protected static ApplicationElement |
getApplicationElementByName(java.lang.String aeName)
Get the application element defined by the name.
|
protected static InstanceElement |
getInstanceElement()
Get an instance, the instance is one of the instances from the element derived from AoTest.
|
protected static InstanceElement |
getInstanceElement(ApplicationElement ae)
Get an instance, the instance is one of the instances from the given element.
|
protected static InstanceElement |
getInstanceElement(java.lang.String beType)
Get an instance, the instance is one of the instances from the element derived from given base element.
|
protected static AoSession |
getSession()
Get the session.
|
connect
protected static AoSession aoSess
protected static InstanceElement ie
protected static ApplicationElement ae
protected static ApplicationElement getApplicationElementByName(java.lang.String aeName) throws AoException
aeName
- the name of the elementAoException
- any occurring ASAM ODS exception.protected static ApplicationElement getApplicationElementByBaseType(java.lang.String beType) throws AoException
beType
- the base type.AoException
- any occurring ASAM ODS exception.protected static ApplicationElement getApplicationElement() throws AoException
AoException
- any occurring ASAM ODS exception.protected static InstanceElement getInstanceElement(java.lang.String beType) throws AoException
beType
- the base type.AoException
- any occurring ASAM ODS exception.protected static InstanceElement getInstanceElement(ApplicationElement ae) throws AoException
ae
- the application element to load an instance from.AoException
- any occurring ASAM ODS exception.protected static InstanceElement getInstanceElement() throws AoException
AoException
- any occurring ASAM ODS exception.protected static AoSession getSession() throws AoException
AoException
- any occurring ASAM ODS exception.protected static void close() throws AoException
AoException
- any occurring ASAM ODS exception.