use of joynr.interlanguagetest.namedTypeCollection2.ExtendedExtendedBaseStruct in project joynr by bmwcarit.
the class IltConsumerGetterSetterTest method callSetAttributeExtendedExtendedBaseStruct.
@Test
public void callSetAttributeExtendedExtendedBaseStruct() {
LOG.info(name.getMethodName() + "");
try {
ExtendedExtendedBaseStruct extendedExtendedBaseStructArg = IltUtil.createExtendedExtendedBaseStruct();
testInterfaceProxy.setAttributeExtendedExtendedBaseStruct(extendedExtendedBaseStructArg);
} catch (Exception e) {
fail(name.getMethodName() + " - FAILED - caught unexpected exception: " + e.getMessage());
return;
}
LOG.info(name.getMethodName() + " - OK");
}
use of joynr.interlanguagetest.namedTypeCollection2.ExtendedExtendedBaseStruct in project joynr by bmwcarit.
the class IltUtil method createExtendedExtendedBaseStruct.
public static ExtendedExtendedBaseStruct createExtendedExtendedBaseStruct() {
ExtendedExtendedBaseStruct extendedExtendedBaseStruct = new ExtendedExtendedBaseStruct();
fillExtendedExtendedBaseStruct(extendedExtendedBaseStruct);
return extendedExtendedBaseStruct;
}
use of joynr.interlanguagetest.namedTypeCollection2.ExtendedExtendedBaseStruct in project joynr by bmwcarit.
the class IltProviderBean method methodToFireBroadcastWithMultipleStructParameters.
/*
* methodToFireBroadcastWithMultipleStructParameters
*/
@Override
public void methodToFireBroadcastWithMultipleStructParameters() {
logger.warn("**********************************************************************");
logger.warn("* IltProvider.methodToFireBroadcastWithMultipleStructParameters called");
logger.warn("**********************************************************************");
BaseStructWithoutElements baseStructWithoutElementsOut = IltUtil.createBaseStructWithoutElements();
ExtendedExtendedBaseStruct extendedExtendedBaseStructOut = IltUtil.createExtendedExtendedBaseStruct();
// TODO
// fireBroadcastWithMultipleStructParameters(baseStructWithoutElementsOut, extendedExtendedBaseStructOut);
}
use of joynr.interlanguagetest.namedTypeCollection2.ExtendedExtendedBaseStruct in project joynr by bmwcarit.
the class IltProviderBean method methodWithMultipleStructParameters.
/*
* methodWithMultipleStructParameters
*/
@Override
public MethodWithMultipleStructParametersReturned methodWithMultipleStructParameters(ExtendedStructOfPrimitives extendedStructOfPrimitivesArg, BaseStruct baseStructArg) {
logger.warn("*******************************************************");
logger.warn("* IltProvider.methodWithMultipleStructParameters called");
logger.warn("*******************************************************");
// check input parameter
if (!IltUtil.checkExtendedStructOfPrimitives(extendedStructOfPrimitivesArg)) {
throw new ProviderRuntimeException("methodWithMultipleStructParameters: invalid parameter extendedStructOfPrimitivesArg");
}
if (!IltUtil.checkBaseStruct(baseStructArg)) {
throw new ProviderRuntimeException("methodWithMultipleStructParameters: invalid parameter baseStructArg");
}
// set output values
BaseStructWithoutElements baseStructWithoutElementsOut = IltUtil.createBaseStructWithoutElements();
ExtendedExtendedBaseStruct extendedExtendedBaseStructOut = IltUtil.createExtendedExtendedBaseStruct();
return new MethodWithMultipleStructParametersReturned(baseStructWithoutElementsOut, extendedExtendedBaseStructOut);
}
use of joynr.interlanguagetest.namedTypeCollection2.ExtendedExtendedBaseStruct in project joynr by bmwcarit.
the class IltProvider method methodWithMultipleStructParameters.
/*
* methodWithMultipleStructParameters
*/
@Override
public Promise<MethodWithMultipleStructParametersDeferred> methodWithMultipleStructParameters(ExtendedStructOfPrimitives extendedStructOfPrimitivesArg, BaseStruct baseStructArg) {
MethodWithMultipleStructParametersDeferred deferred = new MethodWithMultipleStructParametersDeferred();
logger.warn("*******************************************************");
logger.warn("* IltProvider.methodWithMultipleStructParameters called");
logger.warn("*******************************************************");
// check input parameter
if (!IltUtil.checkExtendedStructOfPrimitives(extendedStructOfPrimitivesArg)) {
deferred.reject(new ProviderRuntimeException("methodWithMultipleStructParameters: invalid parameter extendedStructOfPrimitivesArg"));
return new Promise<MethodWithMultipleStructParametersDeferred>(deferred);
}
if (!IltUtil.checkBaseStruct(baseStructArg)) {
deferred.reject(new ProviderRuntimeException("methodWithMultipleStructParameters: invalid parameter baseStructArg"));
return new Promise<MethodWithMultipleStructParametersDeferred>(deferred);
}
// set output values
BaseStructWithoutElements baseStructWithoutElementsOut = IltUtil.createBaseStructWithoutElements();
ExtendedExtendedBaseStruct extendedExtendedBaseStructOut = IltUtil.createExtendedExtendedBaseStruct();
deferred.resolve(baseStructWithoutElementsOut, extendedExtendedBaseStructOut);
return new Promise<MethodWithMultipleStructParametersDeferred>(deferred);
}
Aggregations