OpenLink Software Server 4.5 User Manual Page 24

  • Download
  • Add to my manuals
  • Print
  • Page
    / 28
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 23
Virtuoso 4.5 Application and Integration Reviewers Guide
Copyright ©2006 OpenLink Software
24
}
Figure 32 – Defining the Create Type in Virtuoso for Java
create type "Point" language JAVA external name 'Point'
AS (
"x" double precision external name 'x' external type 'D',
"y" double precision external name 'y' external type 'D'
)
unrestricted
CONSTRUCTOR METHOD "Point" (
"p1" double precision external type 'D',
"p2" double precision external type 'D'),
METHOD "distance" ("p1" "Point" external type 'LPoint;')
returns double precision external type 'D'
external name 'distance',
;
More Information
For complete details on User Defined Types, see:
Virtuoso Documentation on User Defined Types
Virtuoso CLR Using C# objects to extent Virtuoso via UDTs Tutorial
Virtuoso Java Using Java objects to extent Virtuoso via UDTs Tutorial
Page view 23
1 2 ... 19 20 21 22 23 24 25 26 27 28

Comments to this Manuals

No comments