test_class.file: core/src/test/java/org/gatein/management/core/api/model/DmrModelNumberTest.java
test_class.identifier: DmrModelNumberTest
test_case.body: @Test
     public void testAsValue()
     {
        ModelNumber expected = modelNumber();
        ModelNumber actual = expected.asValue(ModelNumber.class);
  
        assertTrue(expected == actual);
     }
test_case.class_method_signature: DmrModelNumberTest.testAsValue()
test_case.full_signature: @Test public void testAsValue()
test_case.identifier: testAsValue
test_case.invocations: modelNumber asValue assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testAsValue()
focal_class.file: core/src/main/java/org/gatein/management/core/api/model/DmrModelNumber.java
focal_class.identifier: DmrModelNumber
focal_class.interfaces: implements ModelNumber
focal_class.class_method_signature: DmrModelNumber.DmrModelNumber(final ModelNode value)
focal_class.full_signature:   DmrModelNumber(final ModelNode value)
focal_class.identifier: DmrModelNumber
focal_class.parameters: (final ModelNode value)
focal_class.signature:  DmrModelNumber(final ModelNode value)
focal_class.class_method_signature: DmrModelNumber.getInt()
focal_class.full_signature: @Override public int getInt()
focal_class.identifier: getInt
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getInt()
focal_class.class_method_signature: DmrModelNumber.set(int value)
focal_class.full_signature: @Override public ModelNumber set(int value)
focal_class.identifier: set
focal_class.modifiers: @Override public
focal_class.parameters: (int value)
focal_class.return: ModelNumber
focal_class.signature: ModelNumber set(int value)
focal_class.class_method_signature: DmrModelNumber.getLong()
focal_class.full_signature: @Override public long getLong()
focal_class.identifier: getLong
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getLong()
focal_class.class_method_signature: DmrModelNumber.set(long value)
focal_class.full_signature: @Override public ModelNumber set(long value)
focal_class.identifier: set
focal_class.modifiers: @Override public
focal_class.parameters: (long value)
focal_class.return: ModelNumber
focal_class.signature: ModelNumber set(long value)
focal_class.class_method_signature: DmrModelNumber.getDouble()
focal_class.full_signature: @Override public double getDouble()
focal_class.identifier: getDouble
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getDouble()
focal_class.class_method_signature: DmrModelNumber.set(double value)
focal_class.full_signature: @Override public ModelNumber set(double value)
focal_class.identifier: set
focal_class.modifiers: @Override public
focal_class.parameters: (double value)
focal_class.return: ModelNumber
focal_class.signature: ModelNumber set(double value)
focal_class.class_method_signature: DmrModelNumber.getBigInteger()
focal_class.full_signature: @Override public BigInteger getBigInteger()
focal_class.identifier: getBigInteger
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: BigInteger
focal_class.signature: BigInteger getBigInteger()
focal_class.class_method_signature: DmrModelNumber.set(BigInteger value)
focal_class.full_signature: @Override public ModelNumber set(BigInteger value)
focal_class.identifier: set
focal_class.modifiers: @Override public
focal_class.parameters: (BigInteger value)
focal_class.return: ModelNumber
focal_class.signature: ModelNumber set(BigInteger value)
focal_class.class_method_signature: DmrModelNumber.getBigDecimal()
focal_class.full_signature: @Override public BigDecimal getBigDecimal()
focal_class.identifier: getBigDecimal
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: BigDecimal
focal_class.signature: BigDecimal getBigDecimal()
focal_class.class_method_signature: DmrModelNumber.set(BigDecimal value)
focal_class.full_signature: @Override public ModelNumber set(BigDecimal value)
focal_class.identifier: set
focal_class.modifiers: @Override public
focal_class.parameters: (BigDecimal value)
focal_class.return: ModelNumber
focal_class.signature: ModelNumber set(BigDecimal value)
focal_class.class_method_signature: DmrModelNumber.getNumberType()
focal_class.full_signature: @Override public ModelNumberType getNumberType()
focal_class.identifier: getNumberType
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ModelNumberType
focal_class.signature: ModelNumberType getNumberType()
focal_class.class_method_signature: DmrModelNumber.asValue(Class<T> valueType)
focal_class.full_signature: @Override public T asValue(Class<T> valueType)
focal_class.identifier: asValue
focal_class.modifiers: @Override public
focal_class.parameters: (Class<T> valueType)
focal_class.return: T
focal_class.signature: T asValue(Class<T> valueType)
focal_class.superclass: extends DmrModelValue
focal_method.body: @Override
     public <T extends ModelValue> T asValue(Class<T> valueType)
     {
        if (ModelString.class.isAssignableFrom(valueType))
        {
           return valueType.cast(new DmrModelString(new ModelNode(value.asString())));
        }
        else
        {
           return super.asValue(valueType);
        }
     }
focal_method.class_method_signature: DmrModelNumber.asValue(Class<T> valueType)
focal_method.full_signature: @Override public T asValue(Class<T> valueType)
focal_method.identifier: asValue
focal_method.invocations: isAssignableFrom cast asString asValue
focal_method.modifiers: @Override public
focal_method.parameters: (Class<T> valueType)
focal_method.return: T
focal_method.signature: T asValue(Class<T> valueType)