from metajolie import MetaJolieJavaService
Cardinality:
void {
min[1,1]: int //
max[0,1]: int //
infinite[0,1]: int //
}
CheckNativeTypeRequest:
void {
type_name[1,1]: string // the type name to check it is native
}
CheckNativeTypeResponse:
void {
result[1,1]: bool //
}
CommunicationDependency:
void {
input_operation[1,1]: void {
name[1,1]: string // name of the operation
type[1,1]: string // RequestResponse or OneWay
} //
dependencies[0,1]: void {
port[0,1]: string // defined only if type is Notification or SolicitResponse
name[1,1]: string // name of the operation
type[1,1]: string // RequestResponse, OneWay, SolicitResponse or Notification
} //
}
DoubleRefinedType:
void {
ranges[1,1]: RangeDouble //
}
Fault:
void {
name[1,1]: string //
type[1,1]: NativeType
|TypeUndefined
|TypeLink
//
}
GetInputPortMetaDataResponse:
void {
input[0,1]: Port // the full description of each input port of the service definition
}
GetMetaDataRequest:
void {
filename[1,1]: string // the filename where the service definition is
}
GetMetaDataResponse:
void {
output[0,1]: Port // the definitions of all the output ports
input[0,1]: Port // the definitions of all the input ports
interfaces[0,1]: Interface // the definitions of all the interfaces
types[0,1]: TypeDefinition // the definitions of all the types
service[0,1]: Service // the definition of the service
embeddedServices[0,1]: void {
servicepath[1,1]: string // path where the service can be found
type[1,1]: string // type of the embedded service
portId[0,1]: string // target output port where the embedded service is bound
} // the definitions of all the embedded services
communication_dependencies[0,1]: CommunicationDependency //
}
GetNativeTypeFromStringRequest:
void {
type_name[1,1]: string //
}
GetNativeTypeStringListResponse:
void {
native_type[0,1]: string //
}
GetOutputPortMetaDataResponse:
void {
output[0,1]: Port // the full description of each output port of the service definition
}
IntRefinedType:
void {
ranges[1,1]: RangeInt //
}
Interface:
void {
types[0,1]: TypeDefinition //
operations[0,1]: Operation //
documentation[0,1]: string //
name[1,1]: string //
}
LongRefinedType:
void {
ranges[1,1]: RangeLong //
}
MessageTypeCastRequest:
void {
types[1,1]: void {
types[0,1]: TypeDefinition // list of all the required types
messageTypeName[1,1]: string // starting type to user for casting
} // the types to use for casting the message
message[1,1]: undefined // the message to be cast
}
MessageTypeCastResponse:
void {
message[1,1]: undefined // casted message
}
NativeType:
void {
string_type[1,1]: bool {
refined_type[0,1]: StringRefinedType //
} //
}
|void {
int_type[1,1]: bool {
refined_type[0,1]: IntRefinedType //
} //
}
|void {
double_type[1,1]: bool {
refined_type[0,1]: DoubleRefinedType //
} //
}
|void {
any_type[1,1]: bool //
}
|void {
void_type[1,1]: bool //
}
|void {
raw_type[1,1]: bool //
}
|void {
bool_type[1,1]: bool //
}
|void {
long_type[1,1]: bool {
refined_type[0,1]: LongRefinedType //
} //
}
NativeType:
NativeType
Operation:
void {
operation_name[1,1]: string //
output[0,1]: string //
input[1,1]: string //
documentation[0,1]: string //
fault[0,1]: Fault //
}
ParserExceptionType:
void {
line[1,1]: int //
sourceName[1,1]: string //
message[1,1]: string //
}
Port:
void {
protocol[1,1]: string //
interfaces[0,1]: Interface //
name[1,1]: string //
location[1,1]: any //
}
RangeDouble:
void {
min[1,1]: double //
max[0,1]: double //
}
|void {
min[1,1]: double //
infinite[1,1]: bool //
}
RangeInt:
void {
min[1,1]: int //
max[0,1]: int //
}
|void {
min[1,1]: int //
infinite[1,1]: bool //
}
RangeLong:
void {
min[1,1]: long //
max[0,1]: long //
}
|void {
min[1,1]: long //
infinite[1,1]: bool //
}
SemanticExceptionType:
void {
error[0,1]: void {
line[1,1]: int //
sourceName[1,1]: string //
message[1,1]: string //
} //
}
Service:
void {
output[0,1]: string //
input[0,1]: string //
name[1,1]: string //
}
StringRefinedType:
void {
length[1,1]: RangeInt //
}
|void {
enum[1,1]: string //
}
|void {
regex[1,1]: string //
}
SubType:
void {
documentation[0,1]: string //
name[1,1]: string //
type[1,1]: Type //
cardinality[1,1]: Cardinality //
}
Type:
TypeInLine
|TypeLink
|TypeChoice
|TypeUndefined
TypeChoice:
void {
choice[1,1]: void {
left_type[1,1]: TypeInLine
|TypeLink
//
right_type[1,1]: Type //
} //
}
TypeDefinition:
void {
documentation[0,1]: string //
name[1,1]: string //
type[1,1]: Type //
}
TypeInLine:
void {
root_type[1,1]: NativeType //
sub_type[0,1]: SubType //
}
TypeLink:
void {
link_name[1,1]: string //
}
TypeUndefined:
void {
undefined[1,1]: bool //
}