Package com._1c.g5.v8.dt.dcs.util
Class DcsDefautlValueUtil
- java.lang.Object
-
- com._1c.g5.v8.dt.dcs.util.DcsDefautlValueUtil
-
public final class DcsDefautlValueUtil extends Object
Class provides default methods for checking object in data composition schema for default value- Restriction:
- This class is not intended to be sub-classed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisDefaultValue(DataCompositionDataSetFieldRole role)Checks object for default valuestatic booleanisDefaultValue(Presentation presentation)Checks object for default valuestatic booleanisDefaultValue(DataCompositionConditionalAppearance conditionalAppearance)Checks object for default valuestatic booleanisDefaultValue(DataCompositionDataParameterValues dataParameterValue)Checks object for default valuestatic booleanisDefaultValue(DataCompositionFilter filter)Checks object for default valuestatic booleanisDefaultValue(DataCompositionOrder order)Checks object for default valuestatic booleanisDefaultValue(DataCompositionSelectedFields selectFields)Checks object for default valuestatic booleanisDefaultValue(DataCompositionSettings settings)Checks object for default valuestatic booleanisDefaultValue(DataCompositionTable table)Checks object for default valuestatic booleanisDefaultValue(DataCompositionUserFields userFields)Checks object for default valuestatic booleanisDefaultValue(Color color)Checks object for default valuestatic booleanisDefaultValue(TypeDescription type)Checks object for default value
-
-
-
Method Detail
-
isDefaultValue
public static boolean isDefaultValue(DataCompositionConditionalAppearance conditionalAppearance)
Checks object for default value- Parameters:
conditionalAppearance- checking object for default value, can benull- Returns:
trueifconditionalAppearanceisnullor it has no items and presentation, otherwisefalse
-
isDefaultValue
public static boolean isDefaultValue(DataCompositionOrder order)
Checks object for default value- Parameters:
order- checking object for default value, can benull- Returns:
trueiforderisnullor it has no items and presentation, otherwisefalse
-
isDefaultValue
public static boolean isDefaultValue(DataCompositionDataParameterValues dataParameterValue)
Checks object for default value- Parameters:
dataParameterValue- checking object for default value, can benull- Returns:
trueifdataParameterValueisnullor it has no items, otherwisefalse
-
isDefaultValue
public static boolean isDefaultValue(DataCompositionFilter filter)
Checks object for default value- Parameters:
filter- checking object for default value, can benull- Returns:
trueiffilterisnullor it has no items and presentation, otherwisefalse
-
isDefaultValue
public static boolean isDefaultValue(DataCompositionUserFields userFields)
Checks object for default value- Parameters:
userFields- checking object for default value, can benull- Returns:
trueifuserFieldsisnullor it has no items, otherwisefalse
-
isDefaultValue
public static boolean isDefaultValue(DataCompositionSelectedFields selectFields)
Checks object for default value- Parameters:
selectFields- checking object for default value, can benull- Returns:
trueifselectFieldsisnullor it has no items and presentation, otherwisefalse
-
isDefaultValue
public static boolean isDefaultValue(Presentation presentation)
Checks object for default value- Parameters:
presentation- checking object for default value, can benull- Returns:
trueifpresentationisnullor it has no value and local value, otherwisefalse
-
isDefaultValue
public static boolean isDefaultValue(Color color)
Checks object for default value- Parameters:
color- checking object for default value, can benull- Returns:
trueifcolorhas total rgb value equals to 0, otherwisefalse
-
isDefaultValue
public static boolean isDefaultValue(DataCompositionTable table)
Checks object for default value- Parameters:
table- checking object for default value, can benull- Returns:
trueiftableisnullor it has no name, rows, columns, selection, appearance, parameters and etc, otherwisefalse
-
isDefaultValue
public static boolean isDefaultValue(DataCompositionSettings settings)
Checks object for default value- Parameters:
settings- checking object for default value, can benull- Returns:
trueifsettingsisnullor it has no selection, appearance, parameters, items and presentation, otherwisefalse
-
isDefaultValue
public static boolean isDefaultValue(TypeDescription type)
Checks object for default value- Parameters:
type- checking object for default value, can benull- Returns:
trueiftypeisnullor it has no types and qualifiers, otherwisefalse
-
isDefaultValue
public static boolean isDefaultValue(DataCompositionDataSetFieldRole role)
Checks object for default value- Parameters:
role- checking object for default value, can benull- Returns:
trueifroleisnullor all its attribute isfalse, otherwisefalse
-
-