import org.opendaylight.yangtools.yang.common.QNameModule;
import org.opendaylight.yangtools.yang.common.Revision;
import org.opendaylight.yangtools.yang.model.api.ChoiceCaseNode;
+import org.opendaylight.yangtools.yang.model.api.ChoiceSchemaNode;
+import org.opendaylight.yangtools.yang.model.api.ContainerSchemaNode;
import org.opendaylight.yangtools.yang.model.api.DataSchemaNode;
import org.opendaylight.yangtools.yang.model.api.Module;
import org.opendaylight.yangtools.yang.model.api.SchemaContext;
import org.opendaylight.yangtools.yang.parser.spi.meta.ReactorException;
-import org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.ChoiceEffectiveStatementImpl;
-import org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.ContainerEffectiveStatementImpl;
public class CaseStmtTest {
private SchemaContext schema;
tempChild = rootFoo.getDataChildByName(QName.create(qnameFoo, "root-fff"));
assertNotNull(tempChild);
assertFalse(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertFalse(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertFalse(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootFoo.getDataChildByName(QName.create(qnameFoo, "root-ffn"));
assertNotNull(tempChild);
assertFalse(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertFalse(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertFalse(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootFoo.getDataChildByName(QName.create(qnameFoo, "root-fnf"));
assertNotNull(tempChild);
assertFalse(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertFalse(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertFalse(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootFoo.getDataChildByName(QName.create(qnameFoo, "root-nff"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertFalse(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertFalse(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootFoo.getDataChildByName(QName.create(qnameFoo, "root-nnf"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertTrue(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertFalse(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootFoo.getDataChildByName(QName.create(qnameFoo, "root-nfn"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertFalse(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertFalse(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootFoo.getDataChildByName(QName.create(qnameFoo, "root-fnn"));
assertNotNull(tempChild);
assertFalse(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertFalse(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertFalse(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootFoo.getDataChildByName(QName.create(qnameFoo, "root-ttt"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertTrue(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertTrue(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootFoo.getDataChildByName(QName.create(qnameFoo, "root-ttn"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertTrue(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertTrue(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootFoo.getDataChildByName(QName.create(qnameFoo, "root-tnt"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertTrue(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertTrue(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootFoo.getDataChildByName(QName.create(qnameFoo, "root-ntt"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertTrue(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertTrue(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootFoo.getDataChildByName(QName.create(qnameFoo, "root-nnt"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertTrue(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertTrue(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootFoo.getDataChildByName(QName.create(qnameFoo, "root-ntn"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertTrue(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertTrue(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootFoo.getDataChildByName(QName.create(qnameFoo, "root-tnn"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertTrue(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertTrue(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootFoo.getDataChildByName(QName.create(qnameFoo, "root-tff"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertFalse(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertFalse(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootFoo.getDataChildByName(QName.create(qnameFoo, "root-tnf"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertTrue(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertFalse(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootFoo.getDataChildByName(QName.create(qnameFoo, "root-tfn"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertFalse(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertFalse(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootFoo.getDataChildByName(QName.create(qnameFoo, "root-ntf"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertTrue(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertFalse(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootBar.getDataChildByName(QName.create(qnameBar, "sh-root-fff"));
assertNotNull(tempChild);
assertFalse(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertFalse(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertFalse(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootBar.getDataChildByName(QName.create(qnameBar, "sh-root-ffn"));
assertNotNull(tempChild);
assertFalse(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertFalse(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertFalse(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootBar.getDataChildByName(QName.create(qnameBar, "sh-root-fnf"));
assertNotNull(tempChild);
assertFalse(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertFalse(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertFalse(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootBar.getDataChildByName(QName.create(qnameBar, "sh-root-nff"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertFalse(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertFalse(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootBar.getDataChildByName(QName.create(qnameBar, "sh-root-nnf"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertTrue(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertFalse(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootBar.getDataChildByName(QName.create(qnameBar, "sh-root-nfn"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertFalse(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertFalse(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootBar.getDataChildByName(QName.create(qnameBar, "sh-root-fnn"));
assertNotNull(tempChild);
assertFalse(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertFalse(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertFalse(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootBar.getDataChildByName(QName.create(qnameBar, "sh-root-ttt"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertTrue(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertTrue(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootBar.getDataChildByName(QName.create(qnameBar, "sh-root-ttn"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertTrue(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertTrue(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootBar.getDataChildByName(QName.create(qnameBar, "sh-root-tnt"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertTrue(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertTrue(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootBar.getDataChildByName(QName.create(qnameBar, "sh-root-ntt"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertTrue(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertTrue(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootBar.getDataChildByName(QName.create(qnameBar, "sh-root-nnt"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertTrue(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertTrue(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootBar.getDataChildByName(QName.create(qnameBar, "sh-root-ntn"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertTrue(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertTrue(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootBar.getDataChildByName(QName.create(qnameBar, "sh-root-tnn"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertTrue(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertTrue(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootBar.getDataChildByName(QName.create(qnameBar, "sh-root-tff"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertFalse(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertFalse(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootBar.getDataChildByName(QName.create(qnameBar, "sh-root-tnf"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertTrue(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertFalse(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootBar.getDataChildByName(QName.create(qnameBar, "sh-root-tfn"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertFalse(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertFalse(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();
tempChild = rootBar.getDataChildByName(QName.create(qnameBar, "sh-root-ntf"));
assertNotNull(tempChild);
assertTrue(tempChild.isConfiguration());
- tempSecondChild = ((ContainerEffectiveStatementImpl) tempChild).getChildNodes().iterator().next();
+ tempSecondChild = ((ContainerSchemaNode) tempChild).getChildNodes().iterator().next();
assertNotNull(tempSecondChild);
assertTrue(tempSecondChild.isConfiguration());
- tempChoice = ((ChoiceEffectiveStatementImpl) tempSecondChild).getCases().values().iterator().next();
+ tempChoice = ((ChoiceSchemaNode) tempSecondChild).getCases().values().iterator().next();
assertNotNull(tempChoice);
assertFalse(tempChoice.isConfiguration());
tempThirdChild = tempChoice.getChildNodes().iterator().next();