public class TableProperties extends DynamicObject implements ITableProperties
| Constructor and Description |
|---|
TableProperties() |
containsField, getFieldValue, getFieldValues, getNicePrinterAdaptor, isMyField, toStringpublic IOpenClass getType()
getType in interface IDynamicObjectgetType in class DynamicObjectpublic void setType(IOpenClass type)
setType in class DynamicObjectpublic String getName()
getName in interface ITablePropertiespublic void setName(String name)
setName in interface ITablePropertiespublic String getCategory()
getCategory in interface ITablePropertiespublic void setCategory(String category)
setCategory in interface ITablePropertiespublic String getCreatedBy()
getCreatedBy in interface ITablePropertiespublic void setCreatedBy(String createdBy)
setCreatedBy in interface ITablePropertiespublic Date getCreatedOn()
getCreatedOn in interface ITablePropertiespublic void setCreatedOn(Date createdOn)
setCreatedOn in interface ITablePropertiespublic String getModifiedBy()
getModifiedBy in interface ITablePropertiespublic void setModifiedBy(String modifiedBy)
setModifiedBy in interface ITablePropertiespublic Date getModifiedOn()
getModifiedOn in interface ITablePropertiespublic void setModifiedOn(Date modifiedOn)
setModifiedOn in interface ITablePropertiespublic String getDescription()
getDescription in interface ITablePropertiespublic void setDescription(String description)
setDescription in interface ITablePropertiespublic String[] getTags()
getTags in interface ITablePropertiespublic void setTags(String... tags)
setTags in interface ITablePropertiespublic Date getEffectiveDate()
getEffectiveDate in interface ITablePropertiespublic void setEffectiveDate(Date effectiveDate)
setEffectiveDate in interface ITablePropertiespublic Date getExpirationDate()
getExpirationDate in interface ITablePropertiespublic void setExpirationDate(Date expirationDate)
setExpirationDate in interface ITablePropertiespublic Date getStartRequestDate()
getStartRequestDate in interface ITablePropertiespublic void setStartRequestDate(Date startRequestDate)
setStartRequestDate in interface ITablePropertiespublic Date getEndRequestDate()
getEndRequestDate in interface ITablePropertiespublic void setEndRequestDate(Date endRequestDate)
setEndRequestDate in interface ITablePropertiespublic CaRegionsEnum[] getCaRegions()
getCaRegions in interface ITablePropertiespublic void setCaRegions(CaRegionsEnum... caRegions)
setCaRegions in interface ITablePropertiespublic CaProvincesEnum[] getCaProvinces()
getCaProvinces in interface ITablePropertiespublic void setCaProvinces(CaProvincesEnum... caProvinces)
setCaProvinces in interface ITablePropertiespublic CountriesEnum[] getCountry()
getCountry in interface ITablePropertiespublic void setCountry(CountriesEnum... country)
setCountry in interface ITablePropertiespublic RegionsEnum[] getRegion()
getRegion in interface ITablePropertiespublic void setRegion(RegionsEnum... region)
setRegion in interface ITablePropertiespublic CurrenciesEnum[] getCurrency()
getCurrency in interface ITablePropertiespublic void setCurrency(CurrenciesEnum... currency)
setCurrency in interface ITablePropertiespublic LanguagesEnum[] getLang()
getLang in interface ITablePropertiespublic void setLang(LanguagesEnum... lang)
setLang in interface ITablePropertiespublic String[] getLob()
getLob in interface ITablePropertiespublic void setLob(String... lob)
setLob in interface ITablePropertiespublic OriginsEnum getOrigin()
getOrigin in interface ITablePropertiespublic void setOrigin(OriginsEnum origin)
setOrigin in interface ITablePropertiespublic UsRegionsEnum[] getUsregion()
getUsregion in interface ITablePropertiespublic void setUsregion(UsRegionsEnum... usregion)
setUsregion in interface ITablePropertiespublic UsStatesEnum[] getState()
getState in interface ITablePropertiespublic void setState(UsStatesEnum... state)
setState in interface ITablePropertiespublic String getVersion()
getVersion in interface ITablePropertiespublic void setVersion(String version)
setVersion in interface ITablePropertiespublic Boolean getActive()
getActive in interface ITablePropertiespublic void setActive(Boolean active)
setActive in interface ITablePropertiespublic String getId()
getId in interface ITablePropertiespublic void setId(String id)
setId in interface ITablePropertiespublic String getBuildPhase()
getBuildPhase in interface ITablePropertiespublic void setBuildPhase(String buildPhase)
setBuildPhase in interface ITablePropertiespublic ValidateDTEnum getValidateDT()
getValidateDT in interface ITablePropertiespublic void setValidateDT(ValidateDTEnum validateDT)
setValidateDT in interface ITablePropertiespublic Boolean getFailOnMiss()
getFailOnMiss in interface ITablePropertiespublic void setFailOnMiss(Boolean failOnMiss)
setFailOnMiss in interface ITablePropertiespublic String getScope()
getScope in interface ITablePropertiespublic void setScope(String scope)
setScope in interface ITablePropertiespublic String getDatatypePackage()
getDatatypePackage in interface ITablePropertiespublic void setDatatypePackage(String datatypePackage)
setDatatypePackage in interface ITablePropertiespublic Boolean getCacheable()
getCacheable in interface ITablePropertiespublic void setCacheable(Boolean cacheable)
setCacheable in interface ITablePropertiespublic RecalculateEnum getRecalculate()
getRecalculate in interface ITablePropertiespublic void setRecalculate(RecalculateEnum recalculate)
setRecalculate in interface ITablePropertiespublic String getPrecision()
getPrecision in interface ITablePropertiespublic void setPrecision(String precision)
setPrecision in interface ITablePropertiespublic Boolean getAutoType()
getAutoType in interface ITablePropertiespublic void setAutoType(Boolean autoType)
setAutoType in interface ITablePropertiespublic Boolean getCalculateAllCells()
getCalculateAllCells in interface ITablePropertiespublic void setCalculateAllCells(Boolean calculateAllCells)
setCalculateAllCells in interface ITablePropertiespublic Boolean getParallel()
getParallel in interface ITablePropertiespublic void setParallel(Boolean parallel)
setParallel in interface ITablePropertiespublic String getNature()
getNature in interface ITablePropertiespublic void setNature(String nature)
setNature in interface ITablePropertiespublic Object getPropertyValue(String key)
getPropertyValue in interface ITablePropertieskey - Property name.public String getPropertyValueAsString(String key)
String. If the current property value is of Date
type, gets the format of date from DefaultPropertyDefinitions.getPropertyValueAsString in interface ITablePropertieskey - Name of the property.Null when there is no property with such name.public InheritanceLevel getPropertyLevelDefinedOn(String propertyName)
getPropertyLevelDefinedOn in interface ITablePropertiespropertyName - Name of the property.NULL when there is no such property on all these levels.
Or it can be set by default. So check is it applied as default. @see
{@link #isPropertyAppliedByDefault(String)public boolean isPropertyAppliedByDefault(String propertyName)
isPropertyAppliedByDefault in interface ITablePropertiespropertyName - name of the property.TRUE if the property with given name is applied for current table by default.public ILogicalTable getPropertiesSection()
getPropertiesSection in interface ITablePropertiespublic void setPropertiesSection(ILogicalTable propertySection)
setPropertiesSection in interface ITablePropertiespublic TableSyntaxNode getModulePropertiesTableSyntaxNode()
getModulePropertiesTableSyntaxNode in interface ITablePropertiespublic void setModulePropertiesTableSyntaxNode(TableSyntaxNode modulePropertiesTableSyntaxNode)
setModulePropertiesTableSyntaxNode in interface ITablePropertiespublic TableSyntaxNode getCategoryPropertiesTableSyntaxNode()
getCategoryPropertiesTableSyntaxNode in interface ITablePropertiespublic void setCategoryPropertiesTableSyntaxNode(TableSyntaxNode categoryPropertiesTableSyntaxNode)
setCategoryPropertiesTableSyntaxNode in interface ITablePropertiespublic TableSyntaxNode getInheritedPropertiesTableSyntaxNode(InheritanceLevel inheritanceLevel)
getInheritedPropertiesTableSyntaxNode in interface ITablePropertiespublic Map<String,Object> getAllProperties()
Map of properties that includes all properties for current table. It includes: - all
properties physically defined in table with system ones; - inherited properties from category and module scopes;
- properties set by default;getAllProperties in interface ITablePropertiesMap of all properties relevant to current table.public void setFieldValue(String name, Object value)
setFieldValue in interface IDynamicObjectsetFieldValue in class DynamicObjectpublic Map<String,Object> getTableProperties()
Map of properties with name as key and value as value, this map contains all
properties defined in source table. No inherited and no default properties.getTableProperties in interface ITablePropertiesMap of properties defined in table.public Map<String,Object> getAllDimensionalProperties()
Map of properties with name as key and value as value, this map contains all
dimensional properties defined for table. To find out which property is dimensional see property definitions
TablePropertyDefinitionUtils.getSystemProperties().getAllDimensionalProperties in interface ITablePropertiesMap of properties defined in table excluding system properties.public void setCategoryProperties(Map<String,Object> categoryProperties)
setCategoryProperties in interface ITablePropertiespublic Map<String,Object> getCategoryProperties()
Map of properties applied to the category this table belongs to.getCategoryProperties in interface ITablePropertiesMap of properties applied to the category this table belongs to.public void setModuleProperties(Map<String,Object> moduleProperties)
setModuleProperties in interface ITablePropertiespublic Map<String,Object> getModuleProperties()
Map of properties applied to the module this table belongs to.getModuleProperties in interface ITablePropertiesMap of properties applied to the module this table belongs to.public void setDefaultProperties(Map<String,Object> defaultProperties)
setDefaultProperties in interface ITablePropertiespublic Map<String,Object> getDefaultProperties()
Map of properties that must be set by default. Default properties are set to the table when
there is no such property defined on TABLE, CATEGORY and MODULE levels. To find out which property is default see
property definitions TablePropertyDefinitionUtils.getSystemProperties().getDefaultProperties in interface ITablePropertiesMap of properties that must be set by default.public void setCurrentTableType(String currentTableType)
setCurrentTableType in interface ITablePropertiespublic String getCurrentTableType()
getCurrentTableType in interface ITablePropertiespublic Map<String,Object> getExternalProperties()
getExternalProperties in interface ITablePropertiespublic void setExternalProperties(Map<String,Object> externalProperties)
setExternalProperties in interface ITablePropertiespublic boolean isPropertiesEmpty()
isPropertiesEmpty in interface ITablePropertiesCopyright © 2004–2019 OpenL Tablets. All rights reserved.