Table of Contents Previous Next
Logo
Slice Metadata Directives : B.3 Metadata Directives for Java
Copyright © 2003-2010 ZeroC, Inc.

B.3 Metadata Directives for Java

 

java:package

This global directive instructs the code generator to place the generated classes into a specific package. (See Section 10.16.1.)

java:getset

This directive applies to data members and structures, classes, and exceptions. It adds accessor and modifier methods (JavaBean methods) for data members. (See Section 10.16.3.)

java:serializable

This directive allows you to use Ice to transmit serializable Java classes as native objects, without having to define corresponding Slice definitions for these classes. See Section 10.15 for more detail.

java:type

This directive allows to use custom types for sequences and dictionaries. (See Section 10.16.2.)

Table of Contents Previous Next
Logo