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, UUIDFields inherited from class com.wisecoders.dbs.diagram.model.AbstractTable
importedRelations, triggersFields 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) intgetDbId()intcom.wisecoders.dbs.sys.fx.glyph.GlyphgetTypeString(DataTypeFormat format, int length, int decimal, String enumeration, String typeOptions) ref()voidrefresh()voidvoidMethods 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, setUpdateCastMethods inherited from class com.wisecoders.dbs.diagram.model.AbstractTable
getChildEntityByPath, getColumnByNameOrPath, getImportedRelations, getNameWithSchemaName, getSyncPriority, hasOneColumnPk, isChildEntity, isChildEntityArray, isReferredInString, setSyncPriorityMethods 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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.wisecoders.dbs.diagram.model.TreeUnit
getByName, getTickId, getTouchId, getUnitProperty, setTouchIdMethods 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:
getUpdateCastin classDataType
-
setScript
-
getScript
-
removeCreateTypeFromScript
public void removeCreateTypeFromScript() -
getParent
-
createColumn
- Overrides:
createColumnin classDataType
-
refresh
public void refresh() -
getSymbolicIcon
- Overrides:
getSymbolicIconin classDataType
-
getSymbolicGlyph
public com.wisecoders.dbs.sys.fx.glyph.Glyph getSymbolicGlyph()- Overrides:
getSymbolicGlyphin classDataType
-
getTypeString
public String getTypeString(DataTypeFormat format, int length, int decimal, String enumeration, String typeOptions) - Overrides:
getTypeStringin classDataType
-
getDbId
-
getSchema
-
getRelations
- Specified by:
getRelationsin interfaceEntity- Overrides:
getRelationsin classDataType
-
ref
- Specified by:
refin interfaceUnit- Overrides:
refin classAbstractTable
-
getChildrenCount
public int getChildrenCount()- Specified by:
getChildrenCountin interfaceTreeUnit- Overrides:
getChildrenCountin classAbstractUnit
-
getChildAt
- Specified by:
getChildAtin interfaceTreeUnit- Overrides:
getChildAtin classAbstractUnit
-
getEnumerationValues
-
getDefaultSyncPriority
public int getDefaultSyncPriority()- Specified by:
getDefaultSyncPriorityin interfaceSyncPrioritizable- Overrides:
getDefaultSyncPriorityin classAbstractTable
-