OpenLink Software Server 4.5 Instrukcja Użytkownika Strona 24

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 28
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 23
1 2 ... 19 20 21 22 23 24 25 26 27 28

Komentarze do niniejszej Instrukcji

Brak uwag