Package com.wisecoders.dbs.schema
Class UserDataType
java.lang.Object
com.wisecoders.dbs.diagram.model.AbstractUnit
com.wisecoders.dbs.diagram.model.AbstractTable
com.wisecoders.dbs.schema.DataType
com.wisecoders.dbs.schema.UserDataType
- All Implemented Interfaces:
SyncPrioritizable
,Entity
,TreeUnit
,Unit
,DbUnit
,Comparable<AbstractUnit>
User defined data type, extends the standard data type.
-
Field Summary
FieldsFields inherited from class com.wisecoders.dbs.schema.DataType
columns, dbId, JSON_LIST, JSON_MAP, matcherPatterns, options, UNSET, UUID
Fields inherited from class com.wisecoders.dbs.diagram.model.AbstractTable
importedRelations, triggers
Fields inherited from interface com.wisecoders.dbs.dbms.sync.engine.nodes.SyncPrioritizable
CHANGE, COMMENT, CREATE_CLUSTERED_INDEX, CREATE_COLUMNS, CREATE_CONSTRAINT, CREATE_FOREIGN_KEY, CREATE_FUNCTIONS, CREATE_INDEX, CREATE_PLSQL, CREATE_SCHEMA, CREATE_SEQUENCES, CREATE_TABLES, CREATE_TRIGGERS, CREATE_USER_DATA_TYPES, CREATE_VIEWS, DROP, DROP_CONSTRAINT, DROP_FOREIGN_KEY, DROP_LAST, DROP_PLSQL, DROP_VIEW, FINAL, NO_PRIORITY, RENAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateColumn
(String name, DataType dataType) getChildAt
(int idx) int
getDbId()
int
com.wisecoders.dbs.sys.fx.glyph.Glyph
getTypeString
(DataTypeFormat format, int length, int decimal, String enumeration, String typeOptions) ref()
void
refresh()
void
void
Methods inherited from class com.wisecoders.dbs.schema.DataType
compareTo, createRelation, getAliases, getAttributes, getBaseTypeName, getDefaultDecimal, getDefaultLength, getEntity, getGeneric, getJavaType, getPattern, getPrecision, getRegExMatchers, getSymbolicGlyph, getSymbolicName, getTypeString, hasDefoDecimal, hasDefoLegth, isArray, isBlobOrSimilar, isBoolean, isChar, isDate, isInet, isJsonList, isJsonMap, isJsonMapOrArray, isMongoDbObjectId, isNumeric, isSerial, isText, isTime, isTimestamp, isUUID, isView, sameAs, setAliases, setDefaultDecimal, setDefaultLength, setGeneric, setJavaType, setOptions, setOptionsTitle, setPattern, setPrecision, setRegExMatchers, setUpdateCast
Methods inherited from class com.wisecoders.dbs.diagram.model.AbstractTable
getChildEntityByPath, getColumnByNameOrPath, getImportedRelations, getNameWithSchemaName, getSyncPriority, hasOneColumnPk, isChildEntity, isChildEntityArray, isReferredInString, setSyncPriority
Methods inherited from class com.wisecoders.dbs.diagram.model.AbstractUnit
fixNull, getByName, getByName, getComment, getCommentNotNull, getCommentTag, getCommentTags, getDefaultKey, getDisplayName, getKey, getName, getParentEntity, getPlainName, getPropertyAddOnFolder, getString, getSyncFolders, getTickId, getTouchId, getUnitProperty, has, is, is, isMarkedForDeletion, isVirtual, markForDeletion, matches, removeUnitProperty, rename, sameAs, sameAs, setComment, setCommentTag, setCommentTags, setTouchId, setUnitProperty, setVirtual, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.wisecoders.dbs.diagram.model.TreeUnit
getByName, getTickId, getTouchId, getUnitProperty, setTouchId
Methods inherited from interface com.wisecoders.dbs.diagram.model.Unit
getComment, getCommentTag, getCommentTags, getDisplayName, getEntity, getParentEntity, getSymbolicName, is, isMarkedForDeletion, markForDeletion, setComment, setCommentTag, setCommentTags
-
Field Details
-
schema
-
relations
-
subTypes
-
-
Constructor Details
-
UserDataType
-
-
Method Details
-
getUpdateCast
- Overrides:
getUpdateCast
in classDataType
-
setScript
-
getScript
-
removeCreateTypeFromScript
public void removeCreateTypeFromScript() -
getParent
-
createColumn
- Overrides:
createColumn
in classDataType
-
refresh
public void refresh() -
getSymbolicIcon
- Overrides:
getSymbolicIcon
in classDataType
-
getSymbolicGlyph
public com.wisecoders.dbs.sys.fx.glyph.Glyph getSymbolicGlyph()- Overrides:
getSymbolicGlyph
in classDataType
-
getTypeString
public String getTypeString(DataTypeFormat format, int length, int decimal, String enumeration, String typeOptions) - Overrides:
getTypeString
in classDataType
-
getDbId
-
getSchema
-
getRelations
- Specified by:
getRelations
in interfaceEntity
- Overrides:
getRelations
in classDataType
-
ref
- Specified by:
ref
in interfaceUnit
- Overrides:
ref
in classAbstractTable
-
getChildrenCount
public int getChildrenCount()- Specified by:
getChildrenCount
in interfaceTreeUnit
- Overrides:
getChildrenCount
in classAbstractUnit
-
getChildAt
- Specified by:
getChildAt
in interfaceTreeUnit
- Overrides:
getChildAt
in classAbstractUnit
-
getEnumerationValues
-
getDefaultSyncPriority
public int getDefaultSyncPriority()- Specified by:
getDefaultSyncPriority
in interfaceSyncPrioritizable
- Overrides:
getDefaultSyncPriority
in classAbstractTable
-