public class TypeInstance
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static short |
ARRAY_TYPEID |
static short |
BLOB_TYPEID |
static short |
NULLABLE_TYPEID |
static short |
REFERENCE_TYPEID |
static short |
STRING_TYPEID |
static short |
STRUCTURE_TYPEID |
| Constructor and Description |
|---|
TypeInstance(DofTypeBase typeElement,
java.lang.String strRequestedLanguage,
java.util.TreeMap<java.lang.Short,TypeInstance> mapTypeInstances)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCodeName() |
java.lang.String |
getDecoratedTypeName()
Return type name.
|
java.lang.String |
getDescription() |
short |
getEncoding() |
java.util.List<FieldData> |
getFields() |
int |
getLength() |
int |
getMinLength() |
java.lang.String |
getName() |
short |
getRefersTo() |
short |
getTypeId() |
short |
getTypeReference() |
boolean |
isSimpleType() |
public static final short STRING_TYPEID
public static final short BLOB_TYPEID
public static final short ARRAY_TYPEID
public static final short REFERENCE_TYPEID
public static final short NULLABLE_TYPEID
public static final short STRUCTURE_TYPEID
public TypeInstance(DofTypeBase typeElement, java.lang.String strRequestedLanguage, java.util.TreeMap<java.lang.Short,TypeInstance> mapTypeInstances) throws java.lang.Exception
typeElement - the element typestrRequestedLanguage - the language to generatemapTypeInstances - the map of type isntancesjava.lang.Exception - thrown if the TypeInstance could not be createdpublic short getTypeId()
public short getTypeReference()
public short getRefersTo()
public java.lang.String getName()
public java.lang.String getDescription()
public boolean isSimpleType()
public int getLength()
public int getMinLength()
public short getEncoding()
public java.lang.String getCodeName()
public java.util.List<FieldData> getFields()
public java.lang.String getDecoratedTypeName()
throws java.lang.Exception
java.lang.Exception - thrown if the decorated type name could not be calculated