You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Michael Yoder (JIRA)" <tu...@ws.apache.org> on 2007/08/24 23:49:30 UTC

[jira] Updated: (TUSCANY-1368) C++ SDO portability: class interface Type off-spec enum values

     [ https://issues.apache.org/jira/browse/TUSCANY-1368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Yoder updated TUSCANY-1368:
-----------------------------------

    Attachment: TUSCANY-1368.txt

This patch updates the Type.h interface to be spec compliant. Enum values and public members not in the spec are removed from the interface. Also related/ripple 2.1 spec changes:
- commonj.sdo#Int type added to factory (maps to enum Types::IntType)
- commonj.sdo#BigInteger type rennamed commonj.sdo#Integer (maps to enum Types::BigInteger)
- commonj.sdo#BigDecimal type renamed commonj.sdo#Decimal (maps to enum Types::BigDecimal)
- set/getInteger accessors renamed to set/getInt (map to commonj.sdo#Int and xsd:int)



> C++ SDO portability: class interface Type off-spec enum values
> --------------------------------------------------------------
>
>                 Key: TUSCANY-1368
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1368
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: C++ SDO, C++ Specification
>    Affects Versions: Cpp-M3
>            Reporter: Michael Yoder
>             Fix For: Cpp-Next
>
>         Attachments: TUSCANY-1368.txt
>
>
> C++ SDO specification class interface Type has enum values ("OpenDataObjectType", "num_type")which are not in the specification, and are being used externally by SCA. It would seem that for SDO portability these should be taken internal to SDO or submitted to the spec committee.
> -----Original Message-----
> From: Pete Robbins [mailto:robbinspg@googlemail.com] 
> Sent: Thursday, June 21, 2007 9:21 AM
> To: tuscany-dev@ws.apache.org
> Subject: Re: SDO spec compliance/portability: Type enums
> the num_type is just a convenient way to know the extent of an enum and is common practice. I guess the OpenDataObjectType must be a Tuscany specific extension to handle open types. I'd need to do some research to determine if this is missing from the spec or can be removed.
> Please raise a Jira for the renaming of IntegerType.
> It may be useful to raise Jiras for all these issues so we can track them.
> Cheers,
> On 21/06/07, Michael Yoder <yo...@roguewave.com> wrote:
> >
> > Hi,
> >
> > The Tuscany SDO C++ class Type::Types enum has these values which do 
> > not appear in the C++ 2.1 specification:
> >
> > - OpenDataObjectType
> > - num_type
> >
> > Would it be appropriate to file a bug to remove the additional values?
> > Or alternatively a bug for them to be
> > submitted to the spec committee?
> >
> > In addition the 2.1 spec renamed the enum value "IntegerType" to 
> > "IntType".
> >
> > Would it be appropriate to file a bug to have this value renamed?
> >
> > Thanks,
> >
> > Michael Yoder
> > Software Developer
> > Rogue Wave Software
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
> >
> --
> Pete

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org