incubator-yoko-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Vescovi (JIRA)" <>
Subject [jira] Created: (YOKO-192) Add support for IDL interface attributes
Date Wed, 11 Oct 2006 11:33:24 GMT
Add support for IDL interface attributes

                 Key: YOKO-192
             Project: Yoko - CORBA Server
          Issue Type: New Feature
          Components: Idl2Wsdl
    Affects Versions: 1.0-incubating-M2
            Reporter: Matteo Vescovi

Getter and setter operations need to be generated for IDL interface attributes.
Getter operations need to be generated for IDL interface readonly attributes.


// IDL
interface MyAttrs {
attribute string strAttr;
readonly attribute long longAttr;

<?xml version="1.0"?>
<definitions name="anExample"
xmlns:wsdl="" >
<!-- Messages related to port: MyAttrs -->
<message name="MyAttrs._get_strAttrResponse" >
<part name="_return" type="xsd:string"/>
<message name="MyAttras._set_strAttr" />
<part name="value" type="xsd:string"/>
<message name="MyAttrs._get_longAttrResponse" >
<part name="_return" type="xsd:int"/>
<!-- port for MyAttrs -->
<portType name="MyAttrs" >
<operation name="_get_strAttr" >
<output message="tns:MyAttrs._get_strAttrResponse"/>
<operation name="_set_strAttr" >
<input message="tns:MyAttrs._set_strAttr"/>
<operation name="_get_longAttr" >
<output message="tns:MyAttrs._get_longAttrResponse"/>
    <binding name="MyAttrsCORBABinding" type="tns:MyAttrs">
        <corba:binding repositoryID="IDL:MyAttrs:1.0"/>
        <operation name="_get_strAttr">
            <corba:operation name="_get_strAttr">
                <corba:return idltype="corba:string" name="return"/>
            <input name="_get_strAttr"/>
            <output name="_get_strAttrResponse"/>
        <operation name="_set_strAttr">
            <corba:operation name="_set_strAttr">
                <corba:param idltype="corba:string" mode="in" name="_arg"/>
            <input name="_set_strAttr"/>
            <output name="_set_strAttrResponse"/>
        <operation name="_get_longAttr">
            <corba:operation name="_get_longAttr">
                <corba:return idltype="corba:long" name="return"/>
            <input name="_get_longAttr"/>
            <output name="_get_longAttrResponse"/>
    <service name="MyAttrsCORBAService">
        <port binding="tns:MyAttrsCORBABinding" name="MyAttrsCORBAPort">
            <corba:address location="IOR:"/>

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message