getComplexTypeName(typedElement)DEPRECATED: Returns the name of the provided element's complex type (any type that is not a DataType). Override this function to provide a custom name for the complex type. The default implementation calls the getComplexTypeNameForType function using the type of the typedElement. ParametersName | Type | Description |
---|
typedElement | TypedElement | Any TypedElement instance. |
Return valueType: string | string | DEPRECATED: Returns the name of the provided element's complex type (any type that is not a DataType). Override this function to provide a custom name for the complex type. The default implementation calls the getComplexTypeNameForType function using the type of the typedElement. |
getComplexTypeNameForType(type)DEPRECATED: Returns the name of the provided complex type (any type that is not a DataType). Override this function to provide a custom name for the complex type. ParametersName | Type | Description |
---|
type | Type | The type information. |
Return valueType: string | string | DEPRECATED: Returns the name of the provided complex type (any type that is not a DataType). Override this function to provide a custom name for the complex type. |
getDataTypeName(typedElement)DEPRECATED: Returns the name of the provided element's data type. Override this function to map primitives and other data types (both built-in or types exported from a profile) to the target language. The default implementation calls the getDataTypeNameForType function using the type of the typedElement. ParametersName | Type | Description |
---|
typedElement | TypedElement | Any TypedElement instance. |
Return valueType: string | string | DEPRECATED: Returns the name of the provided element's data type. Override this function to map primitives and other data types (both built-in or types exported from a profile) to the target language. The default implementation calls the getDataTypeNameForType function using the type of the typedElement. |
getDataTypeNameForType(type)DEPRECATED: Returns the name of the provided data type. Override this function to map primitives and other data types (both built-in or types exported from a profile) to the target language. ParametersName | Type | Description |
---|
type | Type | The type information. |
Return valueType: string | string | DEPRECATED: Returns the name of the provided data type. Override this function to map primitives and other data types (both built-in or types exported from a profile) to the target language. |
getTypeName(type)Returns the name of the provided type. Returns the name of the provided element's type. ParametersName | Type | Description |
---|
type | Type | Any model type. |
Return valueType: string | string | Returns the name of the provided type. Returns the name of the provided element's type. |
getTypeName(typedElement)Returns the name of the provided type. Returns the name of the provided element's type. ParametersName | Type | Description |
---|
typedElement | TypedElement | Any model element that has a type. |
Return valueType: string | string | Returns the name of the provided type. Returns the name of the provided element's type. |
getTypeNameForType(type, isDataType)Returns the name of the provided type. This function is also called by getTypeNameOfTypedElement() if that function is not overridden. ParametersName | Type | Description |
---|
type | Type | The type information. | isDataType | boolean | Indicates if the type is a data type (that is, an Enumeration, PrimitiveType or DataType). |
Return valueType: string | string | Returns the name of the provided type. This function is also called by getTypeNameOfTypedElement() if that function is not overridden. |
getTypeNameForTypedElement(typedElement, isDataType, isMultiValued)Returns the name of the provided element's type. Internally, this function calls getTypeNameForType for the type, but you should override this function if you need to provide different type names for a type depending on the context. For example, you may return a different type name for a property or parameter that is multi-valued. ParametersName | Type | Description |
---|
typedElement | TypedElement | Any element that has a type. | isDataType | boolean | Indicates if the element's type is a data type (that is, an Enumeration, PrimitiveType or DataType). | isMultiValued | boolean | Indicates if the TypedElement is multi-valued (that is, has an upper bound greater than 1). |
Return valueType: string | string | Returns the name of the provided element's type. Internally, this function calls getTypeNameForType for the type, but you should override this function if you need to provide different type names for a type depending on the context. For example, you may return a different type name for a property or parameter that is multi-valued. |