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 boolean
isDefaultValue(DataCompositionDataSetFieldRole role)
Checks object for default valuestatic boolean
isDefaultValue(Presentation presentation)
Checks object for default valuestatic boolean
isDefaultValue(DataCompositionConditionalAppearance conditionalAppearance)
Checks object for default valuestatic boolean
isDefaultValue(DataCompositionDataParameterValues dataParameterValue)
Checks object for default valuestatic boolean
isDefaultValue(DataCompositionFilter filter)
Checks object for default valuestatic boolean
isDefaultValue(DataCompositionOrder order)
Checks object for default valuestatic boolean
isDefaultValue(DataCompositionSelectedFields selectFields)
Checks object for default valuestatic boolean
isDefaultValue(DataCompositionSettings settings)
Checks object for default valuestatic boolean
isDefaultValue(DataCompositionTable table)
Checks object for default valuestatic boolean
isDefaultValue(DataCompositionUserFields userFields)
Checks object for default valuestatic boolean
isDefaultValue(Color color)
Checks object for default valuestatic boolean
isDefaultValue(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:
true
ifconditionalAppearance
isnull
or 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:
true
iforder
isnull
or 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:
true
ifdataParameterValue
isnull
or 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:
true
iffilter
isnull
or 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:
true
ifuserFields
isnull
or 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:
true
ifselectFields
isnull
or 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:
true
ifpresentation
isnull
or 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:
true
ifcolor
has 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:
true
iftable
isnull
or 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:
true
ifsettings
isnull
or 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:
true
iftype
isnull
or 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:
true
ifrole
isnull
or all its attribute isfalse
, otherwisefalse
-
-