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_LENGHT, 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
     
    void
    prepareAsDtoForUpdate(ValidationVisitor validationVisitor, PersistedObjectService objService)
     
    void
     
    static String
    uniqueName(String name, PartitionedObject owner)
     
    void
    update(DMTable tableDto)
     
    boolean
    validateForModelTablesContext(ValidationVisitor validationVisitor, PersistedObjectService objService)
     

    Methods inherited from class DMGenericFieldCollection

    canDelete, isPartitioned, markDeployed, update, validatePartitioningKey

    Methods inherited from class DMFieldCollection

    addCalculatedField, addDerivedSystemField, addField, addField, addField, addFormulaEvalFields, addFormulaFields, addMessage, addMessage, addSystemAuxField, addSystemAuxFields, addSystemField, addSystemField, asQuery, buildSearch, calculationDate, calculationStartDate, equals, getCalculatedFields, getCalculationMessages, getDateSystemFields, getDbKey, getDbTable, getDbView, getDefaultCalculable, getDefaultCalculationConfig, getField, getFieldByDbColumn, getFieldByIndex, getFieldByLabelIgnoreCase, getFieldByNameIgnoreCase, getFieldIndex, getFieldNames, getFields, getFields, getFieldsOfType, getFlattenedDependencies, getForeignKeyFields, getFormulaEvalFields, getFormulaEvalFields, getFormulaName, getIndexFields, getKeyFieldNames, getKeyFields, getLastDataModificationDate, getLastUpdateByName, getLoadableFields, getLocalFields, getMessages, getMessagesAsMap, getMinimalKeySet, getNonAuxiliaryFields, getNonAuxSystemFields, getNumberOfFields, getNumberOfKeyFields, getOwnedFields, getPercentBasisField, getPersistedFields, 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, modifyIsKey, newCaseInsensitiveSet, newCaseInsensitiveSet, newFieldLabel, newFieldLabel, newFieldName, newFieldName, onDelete, ownsField, removeAllFields, removeField, removeField, resetValidation, resolveExpression, setDbKey, setDbTable, setDbView, setDefaultCalculable, setFields, setFormulaName, setIsAuxiliary, setIsDeployed, setIsLocked, setIsQueryable, setIsValid, setIsView, setLastDataModificationDate, setMessages, setQueryDto, setReservedWords, setRowCount, setSourceFile, setSourceQuery, setSourceQueryJson, setSourceSqlQuery, setSourceSqlQueryJson, toLabel, toName, toString, toValidIdentifier, validate, 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, findAnnotationRecursively, getBulkloadMap, getBusinessKey, getCreateDate, getCreatedBy, getDbColumnNameForField, getDefaultSortKey, getDeleteDate, getDeletedBy, getId, getLastUpdateBy, getLastUpdateDate, getTypeCode, getTypedId, getVersion, getVirtualFieldMappings, hasSafeInsertConfigured, 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()
    • 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
    • validateForModelTablesContext

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

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