OpenLink Software Server 4.5 Uživatelský manuál Strana 24

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 28
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 23
1 2 ... 19 20 21 22 23 24 25 26 27 28

Komentáře k této Příručce

Žádné komentáře