Class DataTreeConfiguration
java.lang.Object
org.opendaylight.yangtools.yang.data.tree.api.DataTreeConfiguration
- All Implemented Interfaces:
Immutable
DataTree configuration class.
TreeConfig supports currently the following options:
- treeType
- enable/disable unique indexes and unique constraint validation
- enable/disable mandatory nodes validation
TreeConfig can be easily extended in order to support further data tree configuration options, like following:
- enable/disable case exclusion validation
- enable/disable other indexes
- other schema aware validation options
This can be useful when strict validation is not required or useful for some reasons.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DataTreeConfiguration
static final DataTreeConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull DataTreeConfiguration.Builder
@NonNull DataTreeConfiguration.Builder
static DataTreeConfiguration
getDefault
(TreeType treeType) @NonNull YangInstanceIdentifier
@NonNull TreeType
boolean
boolean
boolean
toString()
-
Field Details
-
DEFAULT_CONFIGURATION
-
DEFAULT_OPERATIONAL
-
-
Method Details
-
getRootPath
-
getTreeType
-
isUniqueIndexEnabled
public boolean isUniqueIndexEnabled() -
isMandatoryNodesValidationEnabled
public boolean isMandatoryNodesValidationEnabled() -
isVersionInfoTrackingEnabled
public boolean isVersionInfoTrackingEnabled() -
toString
-
getDefault
-
builder
-
copyBuilder
-