public abstract class AbstractMetaData extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CHILD_OF |
static List<DataType> |
CONTAINER_TYPES |
static String |
DECIMAL_DISTRIBUTION |
static String |
DESCRIPTION |
static String |
ENCRYPTED |
static String |
ENUM_NAME |
static String |
ENUM_VALUES |
static String |
FKEY |
static String |
FLAG |
static String |
FLAG_AUTO_INCREMENT |
static String |
FLAG_INDEX |
static String |
FLAG_NULLABLE |
static String |
FLAG_PRIMARY_KEY |
static String |
FLAG_UNIQUE |
static String |
ID |
static String |
LINK |
static String |
MAX_LENGTH |
protected LinkedHashMap<String,HashMap<String,Object>> |
metaData |
static String |
REQUIRED |
static String |
REQUIRED_IF |
static String |
TRANSIENT |
static String |
TYPE |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMetaData(SchemaType schema,
String table,
String parentTable,
List<String> tableHierarchy,
DataType childType) |
public static final String DECIMAL_DISTRIBUTION
public static final String DESCRIPTION
public static final String ENCRYPTED
public static final String ENUM_NAME
public static final String ENUM_VALUES
public static final String FKEY
public static final String FLAG
public static final String ID
public static final String LINK
public static final String MAX_LENGTH
public static final String CHILD_OF
public static final String REQUIRED
public static final String REQUIRED_IF
public static final String TYPE
public static final String TRANSIENT
public static final String FLAG_AUTO_INCREMENT
public static final String FLAG_INDEX
public static final String FLAG_NULLABLE
public static final String FLAG_PRIMARY_KEY
public static final String FLAG_UNIQUE
protected final LinkedHashMap<String,HashMap<String,Object>> metaData
public abstract AbstractMetaData getNestedMetaData(String nestedTable)
public boolean containsFieldExcludingObjects(String fieldName)
public boolean containsField(String fieldName)
public DataType getType(String fieldName) throws MetaDataException
MetaDataExceptionpublic Integer getMaxLength(String fieldName) throws MetaDataException
MetaDataExceptionpublic String getDescription(String fieldName) throws MetaDataException
MetaDataExceptionpublic Pair<Integer,Integer> getDecimalDistribution(String fieldName) throws MetaDataException
MetaDataExceptionpublic String getEnumName(String fieldName) throws MetaDataException
MetaDataExceptionpublic List<String> getEnumValues(String fieldName) throws MetaDataException
MetaDataExceptionpublic String getForeignKey(String fieldName) throws MetaDataException
MetaDataExceptionpublic String getLink(String fieldName) throws MetaDataException
MetaDataExceptionpublic String getParentIdFieldName()
public boolean isAutoIncrement(String fieldName) throws MetaDataException
MetaDataExceptionpublic boolean isIndex(String fieldName) throws MetaDataException
MetaDataExceptionpublic boolean isNullAllowed(String fieldName) throws MetaDataException
MetaDataExceptionpublic boolean isPrimaryKey(String fieldName) throws MetaDataException
MetaDataExceptionpublic boolean isUnique(String fieldName) throws MetaDataException
MetaDataExceptionpublic boolean isEncrypted(String fieldName) throws MetaDataException
MetaDataExceptionpublic boolean isRequired(String fieldName) throws MetaDataException
MetaDataExceptionpublic boolean isTransient(String fieldName) throws MetaDataException
MetaDataExceptionpublic boolean isForeignKeyed(String fieldName) throws MetaDataException
MetaDataExceptionpublic boolean isForeignKeyedAsChild(String fieldName) throws MetaDataException
MetaDataExceptionpublic boolean isLinked(String fieldName) throws MetaDataException
MetaDataExceptionpublic boolean isObject(String fieldName) throws MetaDataException
MetaDataExceptionpublic boolean isObjectMap(String fieldName) throws MetaDataException
MetaDataExceptionpublic boolean isNestedObject()
public boolean isNestedObjectList()
Copyright © 2019. All rights reserved.