[owl-s] Make a OWLType

Hid hidme at tiscali.it
Thu Oct 13 03:22:39 EDT 2005


Sorry for my poor description of what I need,
how can I make a OWLType starting to name of type like
string, decimal, integer, float ....
and eventually a URI user defined.

Thanks a lot
    Hid





----- Original Message -----
From: "Michael Grove" <mhgrove at hotmail.com>
To: <hidme at tiscali.it>
Sent: Wednesday, October 12, 2005 9:02 PM
Subject: RE: [owl-s] Make a OWLType


> I dont quite understand what you're trying to do.
>
> What java class is the class A?  If its not something in the OWL-S API,
you
> can't perform the cast.  If the class is a member of the OWL-S API object,
> then you can just use the castTo function like:
>
> OWLType aType = (OWLType)A.castTo(OWLType.class);
>
> Hope that helps.
>
> Michael
>
> ----Original Message Follows----
> From: "Hid" <hidme at tiscali.it>
> Reply-To: Hid <hidme at tiscali.it>
> To: "OWL-S ml" <owl-s at lists.mindswap.org>
> Subject: [owl-s] Make a OWLType
> Date: Tue, 11 Oct 2005 11:23:06 +0200
>
> Hi all,
>
> How Can I cast MyObject A which permit the follow
>
> A.isSubTypeOf( B.getParamType( ) )
>
>
> B is OWLType and A is an Object with String nameSpece, and String type
like
>
> MyObject( "http://www.w3.org/2001/XMLSchema#", "string")
>
>
> Thanks all
>      Hid
>
>
> _______________________________________________
> OWL-S mailing list
> OWL-S at lists.mindswap.org
> http://lists.mindswap.org/mailman/listinfo/owl-s
>
>



More information about the OWL-S mailing list