import org.opendaylight.yangtools.yang.common.QName;
import org.opendaylight.yangtools.yang.model.api.AugmentationSchema;
import org.opendaylight.yangtools.yang.model.api.ChoiceCaseNode;
-import org.opendaylight.yangtools.yang.model.api.ChoiceNode;
import org.opendaylight.yangtools.yang.model.api.ChoiceSchemaNode;
import org.opendaylight.yangtools.yang.model.api.ConstraintDefinition;
import org.opendaylight.yangtools.yang.model.api.DerivableSchemaNode;
import org.opendaylight.yangtools.yang.model.api.Status;
import org.opendaylight.yangtools.yang.model.api.UnknownSchemaNode;
-// FIXME: BUG-1513: remove ChoiceNode in Beryllium timeframe
-final class ChoiceNodeImpl implements ChoiceNode, ChoiceSchemaNode, DerivableSchemaNode {
+final class ChoiceSchemaNodeImpl implements ChoiceSchemaNode, DerivableSchemaNode {
private final QName qname;
private final SchemaPath path;
String description;
ImmutableList<UnknownSchemaNode> unknownNodes;
String defaultCase;
- ChoiceNodeImpl(final QName qname, final SchemaPath path) {
+ ChoiceSchemaNodeImpl(final QName qname, final SchemaPath path) {
this.qname = qname;
this.path = path;
}
if (getClass() != obj.getClass()) {
return false;
}
- ChoiceNodeImpl other = (ChoiceNodeImpl) obj;
+ ChoiceSchemaNodeImpl other = (ChoiceSchemaNodeImpl) obj;
if (qname == null) {
if (other.qname != null) {
return false;
@Override
public String toString() {
- StringBuilder sb = new StringBuilder(ChoiceNodeImpl.class.getSimpleName());
+ StringBuilder sb = new StringBuilder(ChoiceSchemaNodeImpl.class.getSimpleName());
sb.append("[");
sb.append("qname=").append(qname);
sb.append("]");