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