test_class.file: core/src/test/java/org/gatein/management/core/api/model/DmrModelListTest.java
test_class.identifier: DmrModelListTest
test_case.body: @Test
     public void testDiffElements()
     {
        ModelList list = modelList().add(1).add("3").add(true);
        for (ModelValue value : list)
        {
           switch (value.getValueType())
           {
              case NUMBER:
                 assertEquals(1, value.asValue(ModelNumber.class).getInt());
                 break;
              case STRING:
                 assertEquals("3", value.asValue(ModelString.class).getValue());
                 break;
              case BOOLEAN:
                 assertTrue(value.asValue(ModelBoolean.class).getValue());
                 break;
              default:
                 fail("Expected number, string, or boolean for value type of list");
           }
        }
     }
test_case.class_method_signature: DmrModelListTest.testDiffElements()
test_case.full_signature: @Test public void testDiffElements()
test_case.identifier: testDiffElements
test_case.invocations: add add add modelList getValueType assertEquals getInt asValue assertEquals getValue asValue assertTrue getValue asValue fail
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDiffElements()
focal_class.file: core/src/main/java/org/gatein/management/core/api/model/DmrModelList.java
focal_class.identifier: DmrModelList
focal_class.interfaces: implements ModelList
focal_class.class_method_signature: DmrModelList.DmrModelList(ModelNode value)
focal_class.full_signature:   DmrModelList(ModelNode value)
focal_class.identifier: DmrModelList
focal_class.parameters: (ModelNode value)
focal_class.signature:  DmrModelList(ModelNode value)
focal_class.class_method_signature: DmrModelList.get(int index)
focal_class.full_signature: @Override public ModelValue get(int index)
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: (int index)
focal_class.return: ModelValue
focal_class.signature: ModelValue get(int index)
focal_class.class_method_signature: DmrModelList.get(int index, Class<T> valueType)
focal_class.full_signature: @Override public T get(int index, Class<T> valueType)
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: (int index, Class<T> valueType)
focal_class.return: T
focal_class.signature: T get(int index, Class<T> valueType)
focal_class.class_method_signature: DmrModelList.add()
focal_class.full_signature: @Override public Model add()
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Model
focal_class.signature: Model add()
focal_class.class_method_signature: DmrModelList.add(String value)
focal_class.full_signature: @Override public ModelList add(String value)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (String value)
focal_class.return: ModelList
focal_class.signature: ModelList add(String value)
focal_class.class_method_signature: DmrModelList.add(int value)
focal_class.full_signature: @Override public ModelList add(int value)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (int value)
focal_class.return: ModelList
focal_class.signature: ModelList add(int value)
focal_class.class_method_signature: DmrModelList.add(long value)
focal_class.full_signature: @Override public ModelList add(long value)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (long value)
focal_class.return: ModelList
focal_class.signature: ModelList add(long value)
focal_class.class_method_signature: DmrModelList.add(double value)
focal_class.full_signature: @Override public ModelList add(double value)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (double value)
focal_class.return: ModelList
focal_class.signature: ModelList add(double value)
focal_class.class_method_signature: DmrModelList.add(BigInteger value)
focal_class.full_signature: @Override public ModelList add(BigInteger value)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (BigInteger value)
focal_class.return: ModelList
focal_class.signature: ModelList add(BigInteger value)
focal_class.class_method_signature: DmrModelList.add(BigDecimal value)
focal_class.full_signature: @Override public ModelList add(BigDecimal value)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (BigDecimal value)
focal_class.return: ModelList
focal_class.signature: ModelList add(BigDecimal value)
focal_class.class_method_signature: DmrModelList.add(boolean value)
focal_class.full_signature: @Override public ModelList add(boolean value)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (boolean value)
focal_class.return: ModelList
focal_class.signature: ModelList add(boolean value)
focal_class.class_method_signature: DmrModelList.getValues()
focal_class.full_signature: @Override public List<ModelValue> getValues()
focal_class.identifier: getValues
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<ModelValue>
focal_class.signature: List<ModelValue> getValues()
focal_class.class_method_signature: DmrModelList.getValues(Class<T> valueType)
focal_class.full_signature: @Override @SuppressWarnings("unchecked") public List<T> getValues(Class<T> valueType)
focal_class.identifier: getValues
focal_class.modifiers: @Override @SuppressWarnings("unchecked") public
focal_class.parameters: (Class<T> valueType)
focal_class.return: List<T>
focal_class.signature: List<T> getValues(Class<T> valueType)
focal_class.class_method_signature: DmrModelList.iterator()
focal_class.full_signature: @Override public Iterator<ModelValue> iterator()
focal_class.identifier: iterator
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Iterator<ModelValue>
focal_class.signature: Iterator<ModelValue> iterator()
focal_class.class_method_signature: DmrModelList.size()
focal_class.full_signature: @Override public int size()
focal_class.identifier: size
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int size()
focal_class.superclass: extends DmrModelValue
focal_method.body: @Override
     public Model add()
     {
        return new DmrModel(value.add());
     }
focal_method.class_method_signature: DmrModelList.add()
focal_method.full_signature: @Override public Model add()
focal_method.identifier: add
focal_method.invocations: add
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: Model
focal_method.signature: Model add()