public class DataTypes
extends java.lang.Object
| Constructor and Description |
|---|
DataTypes() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
convertEDataTypeToUIType(org.eclipse.emf.ecore.EDataType aEDataType)
Given an EDataType, return the corresponding Corticon (UI) type.
|
static java.util.Vector |
convertExternalTypeToUIType(java.lang.String astrExternalType)
Given an external type name, return the corresponding Corticon (UI) type.
|
static java.lang.String |
convertJavaClassNameToUIType(java.lang.String astrJavaClassName)
Given a java class name, return the corresponding Corticon (UI) type.
|
static org.eclipse.emf.ecore.EDataType |
convertUITypeToEDataType(java.lang.String astrDataType)
Given a Corticon (UI) data type, return the corresponding EDataType.
|
static java.lang.String |
convertUITypeToJavaClassName(java.lang.String astrDataType)
Given a Corticon (UI) data type, return the corresponding java class name.
|
static boolean |
isValidExternalCollectionType(java.lang.String astrExternalType)
Return
true if the specified class name is a supported external
collection type. |
static boolean |
isValidExternalType(java.lang.String astrExternalType)
Return
true if the specified external type is a supported external
type. |
static boolean |
isValidUIType(java.lang.String astrTypeName)
Return
true if the specified name is a valid Corticon data type name. |
static boolean |
isValidUITypeIgnoreCase(java.lang.String astrTypeName)
Return
true if the specified name is a valid Corticon data type name. |
public static org.eclipse.emf.ecore.EDataType convertUITypeToEDataType(java.lang.String astrDataType)
astrDataType - Corticon UI data type.public static java.lang.String convertEDataTypeToUIType(org.eclipse.emf.ecore.EDataType aEDataType)
aEDataType - EMF EDataType.public static java.lang.String convertUITypeToJavaClassName(java.lang.String astrDataType)
astrDataType - Corticon UI data type.public static java.lang.String convertJavaClassNameToUIType(java.lang.String astrJavaClassName)
astrJavaClassName - Instance class namepublic static java.util.Vector convertExternalTypeToUIType(java.lang.String astrExternalType)
astrExternalType - External name (primitive or fully-qualified class name).public static boolean isValidUIType(java.lang.String astrTypeName)
true if the specified name is a valid Corticon data type name.astrTypeName - UI Type name.true if name is a valid UI type.public static boolean isValidUITypeIgnoreCase(java.lang.String astrTypeName)
true if the specified name is a valid Corticon data type name.
Comparison will be done in a case-insensitive manner.astrTypeName - UI Type name.true if name is a valid UI type.public static boolean isValidExternalType(java.lang.String astrExternalType)
true if the specified external type is a supported external
type.astrExternalType - External name (primitive or fully-qualified class name).true if name is a supported primitive or object type.public static boolean isValidExternalCollectionType(java.lang.String astrExternalType)
true if the specified class name is a supported external
collection type.astrExternalType - External name (fully-qualified class name).true if name is a supported primitive or object type.Copyright © 2005-2016 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.