public class TypeDef extends Object
| Constructor and Description |
|---|
TypeDef(EntityType compoundType) |
TypeDef(String simpleType) |
| Modifier and Type | Method and Description |
|---|---|
static TypeDef |
buildCompoundType(EntityType compoundType)
Create entity
TypeDef based on given compoundType. |
static TypeDef |
buildSimpleType(String simpleType)
Create simple
TypeDef based on given simpleType. |
boolean |
equals(Object o) |
String |
getCode() |
EntityType |
getCompoundType() |
String |
getSimpleType() |
int |
hashCode() |
boolean |
isCompound() |
boolean |
isSimple() |
String |
toString() |
public TypeDef(EntityType compoundType)
public TypeDef(String simpleType)
public static TypeDef buildSimpleType(String simpleType)
TypeDef based on given simpleType.simpleType - must be supported by Hyperon Persistence Enginepublic static TypeDef buildCompoundType(EntityType compoundType)
TypeDef based on given compoundType.compoundType - entity (complex) typepublic boolean isSimple()
public boolean isCompound()
public String getCode()
public EntityType getCompoundType()
public String getSimpleType()
Copyright © 2021. All rights reserved.