@Beta @Deprecated public abstract class AbstractEffectiveMustConstraintAwareSimpleDataNodeContainer<D extends DeclaredStatement<QName>> extends AbstractEffectiveSimpleDataNodeContainer<D> implements MustConstraintAware
DocumentedNode.WithStatus
Modifier | Constructor and Description |
---|---|
protected |
AbstractEffectiveMustConstraintAwareSimpleDataNodeContainer(StmtContext<QName,D,?> ctx)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ImmutableSet<MustDefinition> |
getMustConstraints()
Deprecated.
Specifies the rules which the node which contains
must YANG substatement has to match. |
protected static @NonNull Object |
maskList(ImmutableList<?> list)
Utility method for squashing singleton lists into single objects.
|
protected static <T> @NonNull ImmutableList<T> |
unmaskList(@NonNull Object masked,
@NonNull Class<T> type)
Utility method for recovering singleton lists squashed by
maskList(ImmutableList) . |
getAvailableAugmentations, getPath, getQName, getWhenCondition, isAddedByUses, isAugmenting, isConfiguration, resetAugmenting
findDataChildByName, getChildNodes, getGroupings, getTypeDefinitions, getUses
findDataSchemaNode, getNamespaceContents
getStatus, getUnknownSchemaNodes
getDescription, getReference, nullableDescription, nullableReference
argument, getDeclared, getStatementSource, statementDefinition
allSubstatementsOfType, effectiveSubstatements, firstEffectiveSubstatementOfType, firstSchemaNode, firstSubstatementOfType, firstSubstatementOfType, initSubstatements, initSubstatements
get, getAll, unmaskList
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStatus
getDescription, getReference, getUnknownSchemaNodes
findDataChildByName, findDataTreeChild, findDataTreeChild, findDataTreeChild, getDataChildByName
findAll, findFirstEffectiveSubstatement, findFirstEffectiveSubstatementArgument, streamEffectiveSubstatements
protected AbstractEffectiveMustConstraintAwareSimpleDataNodeContainer(StmtContext<QName,D,?> ctx)
public final ImmutableSet<MustDefinition> getMustConstraints()
MustConstraintAware
must
YANG substatement has to match.getMustConstraints
in interface MustConstraintAware
MustDefinition
(XPath) instances which represents the concrete data
constraintsprotected static final @NonNull Object maskList(ImmutableList<?> list)
list
- list to maskNullPointerException
- if list is nullprotected static final <T> @NonNull ImmutableList<T> unmaskList(@NonNull Object masked, @NonNull Class<T> type)
maskList(ImmutableList)
.masked
- list to unmaskNullPointerException
- if any argument is nullClassCastException
- if masked object does not match expected classCopyright © 2020 OpenDaylight. All rights reserved.