Sybase 7.5 manual 247, Specification, Example

Models: 7.5

1 288
Download 288 pages 28.98 Kb
Page 257
Image 257

Chapter 8 Using Object Languages

The following table lists all the objects that can be customized, with an example for each object specification.

Object

Class

Interface

Attribute

Operation

Parameter

Specification

Definition: generated code for a class

Definition: generated code for an interface

Definition: generated code for an attribute

Reference: generated code for a referenced attribute (migrated by a navigable association)

ListItem: definition inside a list of attributes

Definition: generated code for an operation

Declaration: declaration or prototype of the operation

Definition: generated code for a parameter

Example

<!ELEMENT %CSFRNAME% EMPTY> <!ATTRLIST %CSFRNAME %ATTRDEFINITIONS%

>

Public interface %CSFRNAME% {

%ATTRDEFINITIONS%

%OPERDECLARATIONS%

}

%ATTRNAME% (CDATA)

%ATTRNAME% %IDREF%

%ATTRNAME%

%OPERDTTP% %OPERNAME% { %OPERBODY%

}

%OPERDTTP% %OPERNAME%;

%PARMDTTP% %PARMNAME%

247

Page 257
Image 257
Sybase 7.5 manual 247, Specification, Example