public final class TablePropertyDefinitionUtils extends Object
PropertiesChecker for more methods.| Modifier and Type | Method and Description |
|---|---|
static TablePropertyDefinition[] |
getDefaultDefinitionsByInheritanceLevel(InheritanceLevel inheritanceLevel) |
static TablePropertyDefinition[] |
getDefaultDefinitionsForTable(String tableType) |
static TablePropertyDefinition[] |
getDefaultDefinitionsForTable(String tableType,
InheritanceLevel inheritanceLevel,
boolean ignoreSystem) |
static List<TablePropertyDefinition> |
getDimensionalTableProperties()
Gets the array of properties names that are dimensional.
|
static String[] |
getDimensionalTablePropertiesNames()
Gets the array of properties names that are dimensional.
|
static Map<String,Object> |
getPropertiesMapToBeSetByDefault()
Gets map of properties that must me set for every table by default.
|
static List<TablePropertyDefinition> |
getPropertiesToBeSetByDefault()
Gets list of properties that must me set for every table by default.
|
static TablePropertyDefinition |
getPropertyByName(String name)
Gets the property by its given name
|
static String |
getPropertyDisplayName(String name)
Gets the display name of the property by the given name
|
static String |
getPropertyName(String displayName)
Gets the name of the property by the given display name
|
static Class<?> |
getPropertyTypeByPropertyName(String name) |
static XlsNodeTypes[] |
getSuitableTableTypes(String propertyName)
Gets the table types in which this property can be defined.
|
static List<TablePropertyDefinition> |
getSystemProperties()
Gets list of properties that are marked as system.
|
static Class<?> |
getTypeByPropertyName(String propertyName) |
static Map<String,List<TablePropertyDefinition>> |
groupProperties(TablePropertyDefinition[] properties) |
static boolean |
isPropertyExist(String propertyName) |
public static String[] getDimensionalTablePropertiesNames()
public static List<TablePropertyDefinition> getDimensionalTableProperties()
public static String getPropertyName(String displayName)
displayName - public static String getPropertyDisplayName(String name)
name - public static TablePropertyDefinition getPropertyByName(String name)
name - public static boolean isPropertyExist(String propertyName)
public static List<TablePropertyDefinition> getPropertiesToBeSetByDefault()
public static Map<String,Object> getPropertiesMapToBeSetByDefault()
public static List<TablePropertyDefinition> getSystemProperties()
public static TablePropertyDefinition[] getDefaultDefinitionsByInheritanceLevel(InheritanceLevel inheritanceLevel)
public static TablePropertyDefinition[] getDefaultDefinitionsForTable(String tableType)
public static TablePropertyDefinition[] getDefaultDefinitionsForTable(String tableType, InheritanceLevel inheritanceLevel, boolean ignoreSystem)
public static Map<String,List<TablePropertyDefinition>> groupProperties(TablePropertyDefinition[] properties)
public static XlsNodeTypes[] getSuitableTableTypes(String propertyName)
propertyName - property name.NULL if property can be defined for
each type of tables.Copyright © 2004–2019 OpenL Tablets. All rights reserved.