Class DMTable

Object
DomainObject
PersistedObject
PartitionedObject
NamedObject
DMFieldCollection
DMGenericFieldCollection<DMTable>
DMTable
All Implemented Interfaces:
DMEntityMap.DMEntity, DMExpression.DMExpressionContext, JobNameProvider, Persistable

@Entity public class DMTable extends DMGenericFieldCollection<DMTable>
  • Nested Class Summary

    Nested classes/interfaces inherited from class DMFieldCollection

    DMFieldCollection.DMFCType, DMFieldCollection.ValidationWrapper

    Nested classes/interfaces inherited from class PersistedObject

    PersistedObject.BatchDelete, PersistedObject.BulkloadFilterCheckCallback, PersistedObject.ComputedFieldMapping, PersistedObject.ComputedFields, PersistedObject.PersistedObjectMeta, PersistedObject.VirtualField, PersistedObject.VirtualFieldMapping, PersistedObject.VirtualSearchFields, PersistedObject.VirtualSortFields
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     

    Fields inherited from class DMFieldCollection

    FIELD_ALERTS, FIELD_DELETED, FIELD_DETAILSAVAILABLE, FIELD_FORMULADETAILEDRESULTS, FIELD_FORMULANAME, FIELD_FORMULARESULT, FIELD_ISDEPLOYED, FIELD_QUERY, FIELD_SOURCENAME, FIELD_SOURCEQUERY, FIELD_WARNINGS, formulaName, IS_VALID_IDENTIFIER, isAuxiliary, isDeployed, isLocked, isValid, isView, lastUpdateByName, LOG_MARKER, MAX_NAME_LENGTH, queryDto, sourceFile, sourceQuery, sourceQueryJson, sourceSqlQuery, sourceSqlQueryJson, sQueryDto

    Fields inherited from class NamedObject

    FIELD_LABEL, FIELD_UNIQUENAME

    Fields inherited from class PartitionedObject

    FIELD_PARTITION, FIELD_PARTITIONID

    Fields inherited from class PersistedObject

    FIELD_CREATEDATE, FIELD_CREATEDBY, FIELD_DELETEDATE, FIELD_DELETEDBY, FIELD_ID, FIELD_ISDELETED, FIELD_LASTUPDATEDATE

    Fields inherited from class DomainObject

    DEFAULT_MAX_PACKET_SIZE
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
     
    DMTable(String name, PartitionedObject owner, String label)
     
     
    DMTable(String name, PartitionedObject owner, DMFieldCollection template)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    DMDataLoad
    getDefaultDataLoad(PersistedObjectService objService)
     
     
     
    DMFieldCollection.DMFCType
     
    boolean
     
    boolean
     
    void
    prepareAsDtoForUpdate(ValidationVisitor validationVisitor, PersistedObjectService objService)
     
    void
    setColumnar(Boolean columnar)
     
    void
     
    static String
    uniqueName(String name, PartitionedObject owner)
     
    void
    update(DMTable tableDto)
     
    boolean
    validate(ValidationVisitor validationVisitor, boolean updateMode, PersistedObjectService objService)
     
    boolean
    validateForModelTablesContext(ValidationVisitor validationVisitor, PersistedObjectService objService)
     

    Methods inherited from class DMGenericFieldCollection

    addFieldDependenciesToGraph, buildAllFieldsDependencyGraph, canDelete, getDistributionField, getPartitioningField, isDistributed, isPartitioned, markDeployed, update, validateCircularDependencies, validateDistributionKey, validateNotDistributed, validateNotPartitioned, validatePartitioningKey

    Methods inherited from class DMFieldCollection

    addCalculatedField, addDerivedSystemField, addField, addField, addField, addFormulaEvalFields, addFormulaFields, addMessage, addMessage, addSystemAuxField, addSystemAuxFields, addSystemField, addSystemField, asQuery, buildSearch, calculationDate, calculationStartDate, equals, getCalculationMessages, getDateSystemFields, getDbTable, getDefaultCalculationConfig, getField, getFieldByDbColumn, getFieldByLabelIgnoreCase, getFieldByNameIgnoreCase, getFieldByNameOrLabelIgnoreCase, getFieldIndex, getFieldNames, getFields, getFields, getFlattenedDependencies, getForeignKeyFields, getFormulaEvalFields, getFormulaEvalFields, getFormulaName, getIndexableFields, getKeyFieldNames, getKeyFields, getLastDataModificationDate, getLastUpdateByName, getLoadableFields, getLocalFields, getMessages, getMessagesAsMap, getMinimalKeySet, getNumberOfFields, getNumberOfKeyFields, getPercentBasisField, getPerUnitBasisField, getPricingDateField, getQuantityField, getQueryDto, getReservedWords, getRowCount, getSourceField, getSourceFile, getSourceName, getSourceQuery, getSourceQueryJson, getSourceSqlQuery, getSourceSqlQueryJson, getStatus, getTargetDate, getVariable, hasField, hasFields, hasFieldWithName, hashCode, hasSourceField, hasSourceQuery, hasSourceSqlQuery, initDefaultCalculable, initFieldCollectionFromQuery, initFromQuery, invalidateDMQueryCache, isAuxiliary, isDeployed, isLocked, isPublishedAuxSystemField, isReservedAuxSystemField, isReservedWord, isValid, isValidIdentifier, isValidLabel, isView, jsonDeserializeFromFile, jsonSerializeTofile, lastDataModificationDate, markInvalid, modifyFieldName, newCaseInsensitiveSet, newCaseInsensitiveSet, newFieldLabel, newFieldLabel, newFieldName, newFieldName, onDelete, ownsField, removeAllFields, removeField, removeField, resetValidation, resolveExpression, setDbTable, setDefaultCalculable, setFields, setFormulaName, setIsAuxiliary, setIsDeployed, setIsLocked, setIsValid, setIsView, setLastDataModificationDate, setQueryDto, setReservedWords, setRowCount, setSourceFile, setSourceQuery, setSourceQueryJson, setSourceSqlQuery, setSourceSqlQueryJson, toLabel, toName, toString, toValidIdentifier, validate, validateBasicStringFieldLength, validationWrapper

    Methods inherited from class NamedObject

    getJobName, getLabel, getLabelOrUniqueName, getSignificantFields, getUniqueName, labelValid, setLabel, setUniqueName, uniqueNameValid

    Methods inherited from class PartitionedObject

    addUniqueConstraint, getLoginNameByUserId, getPartition, setPartition

    Methods inherited from class PersistedObject

    auditOperation, bumpVersion, canAdd, canEdit, canEdit, canRead, createDate, doHardDelete, entityIsSafeInserted, entityIsSafeInserted, findAnnotationRecursively, getBulkloadMap, getBusinessKey, getCreateDate, getCreatedBy, getDbColumnNameForField, getDefaultSortKey, getDeleteDate, getDeletedBy, getId, getLastUpdateBy, getLastUpdateDate, getTypeCode, getTypedId, getVersion, getVirtualFieldMappings, isAudited, isDeleted, isVirtualField, lastUpdateDate, notifyOnBusinessKeyChange, onBusinessKeyChange, onSavedOrUpdated, onSaveOrUpdate, setCreateDate, setCreateDateShouldBeIgnored, setCreateDateTime, setCreatedBy, setDeleted, setDeleteDate, setDeletedBy, setId, setLastUpdateBy, setLastUpdateDate, setLastUpdateDateTime, setTypedId, setVersion, userGroupEditBulkloadFilter, userGroupEditBulkloadFilter

    Methods inherited from class DomainObject

    deepCopy, getNewMidnightDate, getNewMidnightDateTime, isMidnight, isMidnight, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonSerialize, jsonSerialize, jsonSerialize, jsonSerialize, jsonSerialize, jsonSerialize, jsonSerializedSizeOK, jsonSerializeToBytes, jsonSerializeToBytes, setToDayEnd, setToDayEnd, setToMidnight, setToMidnight, setToMidnightAsLocalDateTime, toPropertyMap

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface DMEntityMap.DMEntity

    getUniqueName, getVersion
  • Field Details

  • Constructor Details

    • DMTable

      protected DMTable()
    • DMTable

      public DMTable(String name, PartitionedObject owner, DMFieldCollection template)
    • DMTable

      public DMTable(String name, PartitionedObject owner, String label)
  • Method Details

    • uniqueName

      public static String uniqueName(String name, PartitionedObject owner)
    • getType

      public DMFieldCollection.DMFCType getType()
      Specified by:
      getType in class DMFieldCollection
    • getSourceName

      public String getSourceName()
    • isColumnar

      public boolean isColumnar()
      Specified by:
      isColumnar in interface DMEntityMap.DMEntity
      Overrides:
      isColumnar in class DMFieldCollection
    • setColumnar

      public void setColumnar(Boolean columnar)
    • copy

      public DMTable copy()
      Specified by:
      copy in class DMGenericFieldCollection<DMTable>
    • update

      public void update(DMTable tableDto)
      Overrides:
      update in class DMGenericFieldCollection<DMTable>
    • getOwner

      public String getOwner()
    • setOwner

      public void setOwner(String owner)
    • isQueryable

      public boolean isQueryable()
      Overrides:
      isQueryable in class DMFieldCollection
    • getDefaultDataLoad

      public DMDataLoad getDefaultDataLoad(PersistedObjectService objService)
      Specified by:
      getDefaultDataLoad in class DMFieldCollection
    • validate

      public boolean validate(ValidationVisitor validationVisitor, boolean updateMode, PersistedObjectService objService)
      Overrides:
      validate in class DMFieldCollection
    • validateForModelTablesContext

      public boolean validateForModelTablesContext(ValidationVisitor validationVisitor, PersistedObjectService objService)
    • prepareAsDtoForUpdate

      public void prepareAsDtoForUpdate(ValidationVisitor validationVisitor, PersistedObjectService objService)
      Overrides:
      prepareAsDtoForUpdate in class DMFieldCollection