Skip to main content

%Projection.Java

Class %Projection.Java Extends %Projection.AbstractProjection [ Abstract, System = 2 ]

This projection class generates the appropriate Java client code (using the Java Binding) for the associated class.
For more information refer to the %Projection.AbstractProjection class.

Parameters

DisableMulticompile

Parameter DisableMulticompile As BOOLEAN = 1;

If true then do not create this projection using the class compiler multicompile jobs but create it in the main process. Used to allow projections that do not function in the multicompile environment to disable this feature.

ROOTDIR;

Parameter ROOTDIR;

The root directory in which generated files are written.

NEWCOLLECTIONS

Parameter NEWCOLLECTIONS = 1;

When NEWCOLLECTIONS is set collection properties project as java.util.Map (for arrays) and Java.util.List (for lists). When NEWCOLLECTIONS is zero (the default) collection properties project as follows: ArrayOfDataTypes for array of a datatypoe ArrayOfObjects for array of an object ListOfDataTypes for list of a datatype ListOfObjects for list of an object This parameter will be overriden by JAVATYPE if that is specified for property.

PRIMITIVEDATATYPES

Parameter PRIMITIVEDATATYPES = 0;

When PRIMITIVEDATATYPES is set %Integer maps to int, %Float maps to double, %Boolean maps to boolean, and %BigInt maps to long

MAKE

Parameter MAKE = 1;

Only generate dependency or class if timestamp of last compilation is greater than timestamp of last generation

DOCUMATICHOST;

Parameter DOCUMATICHOST;

Choose DOCUMATIC Host

DOCUMATICPORT;

Parameter DOCUMATICPORT;

Choose DOCUMATIC Port

DOCUMATICNAMESPACE;

Parameter DOCUMATICNAMESPACE;

Choose DOCUMATIC Namespace

GENERATIONTYPE

Parameter GENERATIONTYPE = 1;

Generation Type 1 - legacy 2 - generate class as implementing interface

POJO

Parameter POJO [ Deprecated ] = 0;

Deprecated - POJO mode 0 - legacy 1 - POJO on

CHECKUPTODATE

Parameter CHECKUPTODATE = 1;

CHECKUPTODATE 0 - don't check if classes are up to date to project 1 - do check if classes are up to date, useful for deploying final application

JAVADOC

Parameter JAVADOC = 1;

JAVADOC 0 - do NOT generate javadoc 1 - generate javadoc (the default)

RECURSIVE

Parameter RECURSIVE = 1;

RECURSIVE 0 - do NOT generate dependencies 1 - generate dependencies, default

PROJECTBYREFMETHODSTOPOJO

Parameter PROJECTBYREFMETHODSTOPOJO [ Deprecated ] = 0;

Deprecated - PROJECTBYREFMETHODSTOPOJO 0 - generate error when you try to project classes that contain methods with ByRef arguments to pojo implementation 1 - project classes that contain methods with ByRef arguments to pojo implementation

PROJECTABSTRACTSTREAM

Parameter PROJECTABSTRACTSTREAM [ Deprecated ] = 0;

Deprecated - PROJECTABSTRACTSTREAM 0 - generate error when you try to project classes that contain methods with abstract stream arguments or return type 1 - project classes that contain methods with with abstract stream arguments or return type

GENSERIALUID

Parameter GENSERIALUID = 1;

Generate serialVersionUID

Methods

CreateProjection

ClassMethod CreateProjection(classname As %String, ByRef parameters As %String, modified As %String, ByRef qstruct As %String) As %Status