%Compiler.Binding.JavaMethodCreator
class %Compiler.Binding.JavaMethodCreator extends %Library.RegisteredObject
Property Inventory
- class
- className
- classType
- conflictedMemberName
- ignoredMethods
- irisPackage
- irisSupers
- jdCreator
- leftSuper
- newCollections
- objectLibraryTypes
- projParams
- propsWithGetter
- propsWithSetter
- rootSuper
- streamTypes
- systemMethods
- tConverter
- typesWithBuildIndices
- utilConvertedTypes
Method Inventory
- %OnNew()
- convertParams()
- convertReturnType()
- createClassName()
- createConstructors()
- createDateTimeValidator()
- createDeletes()
- createExists()
- createGetter()
- createIRISCall()
- createIndexMethods()
- createMethod()
- createMethodPair()
- createOpen()
- createOpenByQuery()
- createOpenByQueryPair()
- createOpens()
- createProperty()
- createPropertySystemMethod()
- createQueryMethod()
- createSetter()
- createStoredProcedure()
- createUserDefinedMethod()
- default()
- getCastForIRISCall()
- isProjectableMethod()
- processResultOfIRISCall()
- resolveConflictedMemberName()
- trackProperties()
Properties
property class as %Dictionary.CompiledClass;
Property methods: classGet(), classGetObject(), classGetObjectId(), classGetSwizzled(), classIsValid(), classNewObject(), classSet(), classSetObject(), classSetObjectId(), 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 streamTypes as %List;
Property methods: streamTypesGet(), streamTypesIsValid(), streamTypesLogicalToOdbc(), streamTypesOdbcToLogical(), streamTypesSet()
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
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, ByRef qstruct As %String) as %Status
Format a string of method parameters into a $list of parameters
method convertReturnType(ByRef returnType As %String, ByRef package="", ByRef returnsObject As %Boolean, ByRef qstruct As %String) as %Status
Format a method return type into the right form to append to a Java template
Generate ClassName methods
method createConstructors(file As JavaFile, onNew As %CompiledMethod, ByRef qstruct As %String) as %Status
Create constructors
method createDateTimeValidator(file As JavaFile, propName="", propType="")
method createDeletes(file As JavaFile)
Create %Delete and %DeleteId
method createExists(file As JavaFile)
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="")
Create property getter
method createIRISCall(file As JavaFile, args As %String, returnType As %String, returnsObject As %Boolean, irisMethodName As %String, isStatic=0)
create call to IRIS method
method createIndexMethods(file As JavaFile, index As %Dictionary.CompiledIndex, ByRef qstruct As %String) as %Status
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="")
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)
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)
Template to create 1 pair of open methods
Create %OpenByQuery
Create %OpenId and %Open
method createProperty(file As JavaFile, prop As %Dictionary.CompiledProperty, interfaceFile="") as %Status
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)
Generate IsValid() and Logical/Display methods
method createQueryMethod(file As JavaFile, query As %CompiledQuery)
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="")
Create property setter
method createStoredProcedure(file As JavaFile, methodName As %String, argCount As %Integer, returnType As %String, sqlName As %String, description As %String)
Create stored procedure for a SqlProc class method
method createUserDefinedMethod(file As JavaFile, method As %CompiledMethod, properties As %ArrayOfDataTypes, interfaceFile="", ByRef qstruct As %String) as %Status
Create user-defined methods
method default()
method getCastForIRISCall(typeForIRISCall As %String, ByRef rType As %String, ByRef cast As %String)
method isProjectableMethod(method As %CompiledMethod) as %Boolean
method processResultOfIRISCall(file As JavaFile, returnType As %String, typeForIRISCall As %String, elementType="", isStatic=0)
method trackProperties(prop As %CompiledProperty, properties As %ArrayOfDataTypes, leftSuperProps As %ArrayOfDataTypes, ByRef qstruct As %String) as %Status
Track all properties of the class
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()