%Compiler.Binding.JavaMethodCreator

class %Compiler.Binding.JavaMethodCreator extends %Library.RegisteredObject

Property Inventory

Method Inventory

Properties

property class as %Dictionary.CompiledClass;
Property methods: classGet(), classGetObject(), classGetObjectId(), classGetSwizzled(), classIsValid(), classNameDisplayToLogical(), classNameGet(), classNameIsValid(), classNameLogicalToDisplay(), classNameLogicalToOdbc(), classNameNormalize(), classNameSet(), classNewObject(), classSet(), classSetObject(), classSetObjectId(), classTypeDisplayToLogical(), classTypeGet(), classTypeIsValid(), classTypeLogicalToDisplay(), classTypeLogicalToOdbc(), classTypeNormalize(), classTypeSet(), classUnSwizzle()
property className as %String;
Property methods: classNameDisplayToLogical(), classNameGet(), classNameIsValid(), classNameLogicalToDisplay(), classNameLogicalToOdbc(), classNameNormalize(), classNameSet()
property classType as %String;
Property methods: classTypeDisplayToLogical(), classTypeGet(), classTypeIsValid(), classTypeLogicalToDisplay(), classTypeLogicalToOdbc(), classTypeNormalize(), classTypeSet()
property conflictedMemberName as %List;
Property methods: conflictedMemberNameGet(), conflictedMemberNameIsValid(), conflictedMemberNameLogicalToOdbc(), conflictedMemberNameOdbcToLogical(), conflictedMemberNameSet()
property ignoredMethods as %List;
Property methods: ignoredMethodsGet(), ignoredMethodsIsValid(), ignoredMethodsLogicalToOdbc(), ignoredMethodsOdbcToLogical(), ignoredMethodsSet()
property irisPackage as %String;
Property methods: irisPackageDisplayToLogical(), irisPackageGet(), irisPackageIsValid(), irisPackageLogicalToDisplay(), irisPackageLogicalToOdbc(), irisPackageNormalize(), irisPackageSet()
property irisSupers as %List;
Property methods: irisSupersGet(), irisSupersIsValid(), irisSupersLogicalToOdbc(), irisSupersOdbcToLogical(), irisSupersSet()
property jdCreator as JavaDocCreator;
Property methods: jdCreatorGet(), jdCreatorGetSwizzled(), jdCreatorIsValid(), jdCreatorNewObject(), jdCreatorSet()
property leftSuper as %String;
Property methods: leftSuperDisplayToLogical(), leftSuperGet(), leftSuperIsValid(), leftSuperLogicalToDisplay(), leftSuperLogicalToOdbc(), leftSuperNormalize(), leftSuperSet()
property newCollections as %Boolean;
Property methods: newCollectionsDisplayToLogical(), newCollectionsGet(), newCollectionsIsValid(), newCollectionsLogicalToDisplay(), newCollectionsNormalize(), newCollectionsSet()
property objectLibraryTypes as %List;
Property methods: objectLibraryTypesGet(), objectLibraryTypesIsValid(), objectLibraryTypesLogicalToOdbc(), objectLibraryTypesOdbcToLogical(), objectLibraryTypesSet()
property projParams as %ArrayOfDataTypes;
Property methods: projParamsGet(), projParamsGetObject(), projParamsGetObjectId(), projParamsGetSwizzled(), projParamsIsEmpty(), projParamsIsValid(), projParamsNewObject(), projParamsSet(), projParamsSetObject(), projParamsSetObjectId(), projParamsUnSwizzle()
property propsWithGetter as %List [ MultiDimensional ];
Property methods: propsWithGetterGet(), propsWithGetterIsValid(), propsWithGetterLogicalToOdbc(), propsWithGetterOdbcToLogical(), propsWithGetterSet()
property propsWithSetter as %List [ MultiDimensional ];
Property methods: propsWithSetterGet(), propsWithSetterIsValid(), propsWithSetterLogicalToOdbc(), propsWithSetterOdbcToLogical(), propsWithSetterSet()
property rootSuper as %String;
Property methods: rootSuperDisplayToLogical(), rootSuperGet(), rootSuperIsValid(), rootSuperLogicalToDisplay(), rootSuperLogicalToOdbc(), rootSuperNormalize(), rootSuperSet()
property systemMethods as %List;
Property methods: systemMethodsGet(), systemMethodsIsValid(), systemMethodsLogicalToOdbc(), systemMethodsOdbcToLogical(), systemMethodsSet()
property tConverter as JavaTypeConverter;
Property methods: tConverterGet(), tConverterGetSwizzled(), tConverterIsValid(), tConverterNewObject(), tConverterSet()
property typesWithBuildIndices as %List;
Property methods: typesWithBuildIndicesGet(), typesWithBuildIndicesIsValid(), typesWithBuildIndicesLogicalToOdbc(), typesWithBuildIndicesOdbcToLogical(), typesWithBuildIndicesSet()
property utilConvertedTypes as %List;
Property methods: utilConvertedTypesGet(), utilConvertedTypesIsValid(), utilConvertedTypesLogicalToOdbc(), utilConvertedTypesOdbcToLogical(), utilConvertedTypesSet()

Methods

method %OnNew(class As %Dictionary.CompiledClass, className As %String, rootSuper As %String, leftSuper As %String, irisSupers As %List, projParams As %ArrayOfDataTypes, jdCreator As JavaDocCreator) as %Status [ Language = objectscript ]
Inherited description: This callback method is invoked by the %New() method to provide notification that a new instance of an object is being created.

If this method returns an error then the object will not be created.

It is passed the arguments provided in the %New call. When customizing this method, override the arguments with whatever variables and types you expect to receive from %New(). For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:

Method %OnNew(dob as %Date = "", name as %Name = "") as %Status If instead of returning a %Status code this returns an oref and this oref is a subclass of the current class then this oref will be the one returned to the caller of %New method.

method convertParams(ByRef convertedParams As %ListOfDataTypes, methodParams As %String) as %Status [ Language = objectscript ]
Format a string of method parameters into a $list of parameters
method convertReturnType(ByRef returnType As %String, ByRef package="", ByRef returnsObject As %Boolean) as %Status [ Language = objectscript ]
Format a method return type into the right form to append to a Java template
method createClassName(file As JavaFile, hasFields As %Boolean) [ Language = objectscript ]
Generate ClassName methods
method createConstructors(file As JavaFile, onNew As %CompiledMethod) as %Status [ Language = objectscript ]
Create constructors
method createDateTimeValidator(file As JavaFile, propName="", propType="") [ Language = objectscript ]
method createDeletes(file As JavaFile) [ Language = objectscript ]
Create %Delete and %DeleteId
method createExists(file As JavaFile) [ Language = objectscript ]
Generate %Exists and %ExistsId
method createGetter(file As JavaFile, propPackage As %String, propName As %String, clientName As %String, propType As %String, elementType As %String, collectionType As %String, description As %String, interfaceFile="") [ Language = objectscript ]
Create property getter
method createIRISCall(file As JavaFile, args As %String, returnType As %String, returnsObject As %Boolean, irisMethodName As %String, isStatic=0) [ Language = objectscript ]
create call to IRIS method
method createIndexMethods(file As JavaFile, index As %Dictionary.CompiledIndex) as %Status [ Language = objectscript ]
Create index methods
method createMethod(file As JavaFile, javaMethodName As %String, params As %List, returnType As %String, irisMethodName As %String, returnsObject=0, isStatic=0, description="", createsJavaDoc=1, interfaceFile="") [ Language = objectscript ]
Create a new method
method createMethodPair(file As JavaFile, javaMethodName1 As %String, javaMethodName2 As %String, params As %List, returnType As %String, irisMethodName As %String, returnsObject=0) [ Language = objectscript ]
Template to create 1 pair of system methods
method createOpen(file As JavaFile, javaMethodName1 As %String, javaMethodName2 As %String, params As %List, returnType As %String, irisMethodName As %String, returnsObject=0) [ Language = objectscript ]
Template to create 1 pair of open methods
method createOpenByQuery(file As JavaFile, tableName As %String, hasArgs=0) [ Language = objectscript ]
method createOpenByQueryPair(file As JavaFile, tableName As %String) [ Language = objectscript ]
Create %OpenByQuery
method createOpens(file As JavaFile, tableName As %String) [ Language = objectscript ]
Create %OpenId and %Open
method createProperty(file As JavaFile, prop As %Dictionary.CompiledProperty, interfaceFile="") as %Status [ Language = objectscript ]
Create property methods
method createPropertySystemMethod(file As JavaFile, irisType As %String, javaType As %String, elementType As %String, collectionType As %String, propName As %String, propPackage As %String) [ Language = objectscript ]
Generate IsValid() and Logical/Display methods
method createQueryMethod(file As JavaFile, query As %CompiledQuery) [ Language = objectscript ]
Create user-defined methods
method createSetter(file As JavaFile, propPackage As %String, propName As %String, clientName As %String, propType As %String, collectionType As %String, isRelationship As %Boolean, isReadOnly As %Boolean, description As %String, interfaceFile="") [ Language = objectscript ]
Create property setter
method createStoredProcedure(file As JavaFile, methodName As %String, argCount As %Integer, returnType As %String, sqlName As %String, description As %String) [ Language = objectscript ]
Create stored procedure for a SqlProc class method
method createUserDefinedMethod(file As JavaFile, method As %CompiledMethod, properties As %ArrayOfDataTypes, interfaceFile="") as %Status [ Language = objectscript ]
Create user-defined methods
method default() [ Language = objectscript ]
method getCastForIRISCall(typeForIRISCall As %String, ByRef rType As %String, ByRef cast As %String) [ Language = objectscript ]
method isProjectableMethod(method As %CompiledMethod) as %Boolean [ Language = objectscript ]
method processResultOfIRISCall(file As JavaFile, returnType As %String, typeForIRISCall As %String, elementType="", isStatic=0) [ Language = objectscript ]
method resolveConflictedMemberName(name As %String) as %String [ Language = objectscript ]
method trackProperties(prop As %CompiledProperty, properties As %ArrayOfDataTypes, leftSuperProps As %ArrayOfDataTypes) as %Status [ Language = objectscript ]
Track all properties of the class

Inherited Members

Inherited Methods

Feedback