public final class PropertiesChecker extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
checkProperties(IBindingContext bindingContext,
Set<String> propertyNamesToCheck,
TableSyntaxNode tableSyntaxNode,
InheritanceLevel level)
We need to check loaded properties that all values are appropriate for this table.
|
static boolean |
isPropertySuitableForLevel(InheritanceLevel currentLevel,
String propertyName)
Checks if property with given name is suitable for given level.
|
static boolean |
isPropertySuitableForTableType(String propertyName,
String tableType)
Checks if properties can be defined for given type of table.
|
public static void checkProperties(IBindingContext bindingContext, Set<String> propertyNamesToCheck, TableSyntaxNode tableSyntaxNode, InheritanceLevel level)
propertyNamesToCheck - properties names that are physically defined in table. TODO: Refactor with strategy
patternpublic static boolean isPropertySuitableForLevel(InheritanceLevel currentLevel, String propertyName)
DefaultPropertyDefinitions.currentLevel - current level of current property.propertyName - name of the property to check.Copyright © 2004–2019 OpenL Tablets. All rights reserved.