import java.util.Collection;
import java.util.Objects;
import javax.annotation.Nonnull;
-import org.opendaylight.yangtools.yang.model.api.Rfc6020Mapping;
+import org.opendaylight.yangtools.yang.model.api.YangStmtMapping;
import org.opendaylight.yangtools.yang.model.api.meta.DeclaredStatement;
import org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement;
import org.opendaylight.yangtools.yang.model.api.meta.StatementDefinition;
}
};
- private EmptyMandatoryStatement() {
- // Invisible on purpose
- }
-
abstract EffectiveStatement<Boolean, MandatoryStatement> toEffective();
@Nonnull
@Nonnull
@Override
public final StatementDefinition statementDefinition() {
- return Rfc6020Mapping.MANDATORY;
+ return YangStmtMapping.MANDATORY;
}
@Override
}
final MandatoryStatement other = (MandatoryStatement) obj;
-
- return argument().equals(other.argument()) &&
- rawArgument().equals(other.rawArgument()) &&
- getValue().equals(other.getValue()) &&
- statementDefinition().equals(other.statementDefinition()) &&
- getStatementSource().equals(other.getStatementSource()) &&
- declaredSubstatements().equals(other.declaredSubstatements());
+ return argument().equals(other.argument())
+ && rawArgument().equals(other.rawArgument())
+ && getValue().equals(other.getValue())
+ && statementDefinition().equals(other.statementDefinition())
+ && getStatementSource().equals(other.getStatementSource())
+ && declaredSubstatements().equals(other.declaredSubstatements());
}
}