test_class.file: core/src/test/java/org/gatein/management/core/api/model/DmrModelObjectTest.java
test_class.identifier: DmrModelObjectTest
test_case.body: @Test
     public void testSet()
     {
        // String
        assertEquals("bar", modelObject().set("foo", "bar").get("foo", ModelString.class).getValue());
  
        // Number
        assertEquals(3, modelObject().set("foo", 3).get("foo", ModelNumber.class).getInt());
        assertEquals(3L, modelObject().set("foo", 3).get("foo", ModelNumber.class).getLong());
        assertEquals(3.14159265, modelObject().set("foo", 3.14159265).get("foo", ModelNumber.class).getDouble(), 0);
        assertEquals(BigInteger.valueOf(3), modelObject().set("foo", new BigInteger("3")).get("foo", ModelNumber.class).getBigInteger());
        assertEquals(BigDecimal.valueOf(3.14159265), modelObject().set("foo", new BigDecimal("3.14159265")).get("foo", ModelNumber.class).getBigDecimal());
  
        // Boolean
        assertTrue(modelObject().set("foo", true).get("foo", ModelBoolean.class).getValue());
        assertFalse(modelObject().set("foo", false).get("foo", ModelBoolean.class).getValue());
  
        // Reference
        assertEquals(PathAddress.pathAddress("foo", "bar"), modelObject().set("foo", PathAddress.pathAddress("foo", "bar")).get("foo", ModelReference.class).getValue());
     }
test_case.class_method_signature: DmrModelObjectTest.testSet()
test_case.full_signature: @Test public void testSet()
test_case.identifier: testSet
test_case.invocations: assertEquals getValue get set modelObject assertEquals getInt get set modelObject assertEquals getLong get set modelObject assertEquals getDouble get set modelObject assertEquals valueOf getBigInteger get set modelObject assertEquals valueOf getBigDecimal get set modelObject assertTrue getValue get set modelObject assertFalse getValue get set modelObject assertEquals pathAddress getValue get set modelObject pathAddress
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSet()
focal_class.file: core/src/main/java/org/gatein/management/core/api/model/DmrModelObject.java
focal_class.identifier: DmrModelObject
focal_class.interfaces: implements ModelObject
focal_class.class_method_signature: DmrModelObject.DmrModelObject()
focal_class.full_signature:   DmrModelObject()
focal_class.identifier: DmrModelObject
focal_class.parameters: ()
focal_class.signature:  DmrModelObject()
focal_class.class_method_signature: DmrModelObject.DmrModelObject(final ModelNode value)
focal_class.full_signature:   DmrModelObject(final ModelNode value)
focal_class.identifier: DmrModelObject
focal_class.parameters: (final ModelNode value)
focal_class.signature:  DmrModelObject(final ModelNode value)
focal_class.class_method_signature: DmrModelObject.get(String name)
focal_class.full_signature: @Override public Model get(String name)
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: Model
focal_class.signature: Model get(String name)
focal_class.class_method_signature: DmrModelObject.get(String... names)
focal_class.full_signature: @Override public Model get(String... names)
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: (String... names)
focal_class.return: Model
focal_class.signature: Model get(String... names)
focal_class.class_method_signature: DmrModelObject.get(String name, Class<T> valueType)
focal_class.full_signature: @Override public T get(String name, Class<T> valueType)
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: (String name, Class<T> valueType)
focal_class.return: T
focal_class.signature: T get(String name, Class<T> valueType)
focal_class.class_method_signature: DmrModelObject.set(String name, String value)
focal_class.full_signature: public ModelObject set(String name, String value)
focal_class.identifier: set
focal_class.modifiers: public
focal_class.parameters: (String name, String value)
focal_class.return: ModelObject
focal_class.signature: ModelObject set(String name, String value)
focal_class.class_method_signature: DmrModelObject.set(String name, int value)
focal_class.full_signature: public ModelObject set(String name, int value)
focal_class.identifier: set
focal_class.modifiers: public
focal_class.parameters: (String name, int value)
focal_class.return: ModelObject
focal_class.signature: ModelObject set(String name, int value)
focal_class.class_method_signature: DmrModelObject.set(String name, long value)
focal_class.full_signature: @Override public ModelObject set(String name, long value)
focal_class.identifier: set
focal_class.modifiers: @Override public
focal_class.parameters: (String name, long value)
focal_class.return: ModelObject
focal_class.signature: ModelObject set(String name, long value)
focal_class.class_method_signature: DmrModelObject.set(String name, double value)
focal_class.full_signature: @Override public ModelObject set(String name, double value)
focal_class.identifier: set
focal_class.modifiers: @Override public
focal_class.parameters: (String name, double value)
focal_class.return: ModelObject
focal_class.signature: ModelObject set(String name, double value)
focal_class.class_method_signature: DmrModelObject.set(String name, BigInteger value)
focal_class.full_signature: @Override public ModelObject set(String name, BigInteger value)
focal_class.identifier: set
focal_class.modifiers: @Override public
focal_class.parameters: (String name, BigInteger value)
focal_class.return: ModelObject
focal_class.signature: ModelObject set(String name, BigInteger value)
focal_class.class_method_signature: DmrModelObject.set(String name, BigDecimal value)
focal_class.full_signature: @Override public ModelObject set(String name, BigDecimal value)
focal_class.identifier: set
focal_class.modifiers: @Override public
focal_class.parameters: (String name, BigDecimal value)
focal_class.return: ModelObject
focal_class.signature: ModelObject set(String name, BigDecimal value)
focal_class.class_method_signature: DmrModelObject.set(String name, boolean value)
focal_class.full_signature: @Override public ModelObject set(String name, boolean value)
focal_class.identifier: set
focal_class.modifiers: @Override public
focal_class.parameters: (String name, boolean value)
focal_class.return: ModelObject
focal_class.signature: ModelObject set(String name, boolean value)
focal_class.class_method_signature: DmrModelObject.set(String name, PathAddress value)
focal_class.full_signature: @Override public ModelObject set(String name, PathAddress value)
focal_class.identifier: set
focal_class.modifiers: @Override public
focal_class.parameters: (String name, PathAddress value)
focal_class.return: ModelObject
focal_class.signature: ModelObject set(String name, PathAddress value)
focal_class.class_method_signature: DmrModelObject.has(String name)
focal_class.full_signature: @Override public boolean has(String name)
focal_class.identifier: has
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: boolean
focal_class.signature: boolean has(String name)
focal_class.class_method_signature: DmrModelObject.hasDefined(String name)
focal_class.full_signature: @Override public boolean hasDefined(String name)
focal_class.identifier: hasDefined
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: boolean
focal_class.signature: boolean hasDefined(String name)
focal_class.class_method_signature: DmrModelObject.remove(String name)
focal_class.full_signature: @Override public ModelValue remove(String name)
focal_class.identifier: remove
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: ModelValue
focal_class.signature: ModelValue remove(String name)
focal_class.class_method_signature: DmrModelObject.remove(String name, Class<T> valueType)
focal_class.full_signature: @Override public T remove(String name, Class<T> valueType)
focal_class.identifier: remove
focal_class.modifiers: @Override public
focal_class.parameters: (String name, Class<T> valueType)
focal_class.return: T
focal_class.signature: T remove(String name, Class<T> valueType)
focal_class.class_method_signature: DmrModelObject.getNames()
focal_class.full_signature: @Override public Set<String> getNames()
focal_class.identifier: getNames
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Set<String>
focal_class.signature: Set<String> getNames()
focal_class.superclass: extends DmrModelValue
focal_method.body: public ModelObject set(String name, String value)
     {
        get(name).set(value);
        return this;
     }
focal_method.class_method_signature: DmrModelObject.set(String name, String value)
focal_method.full_signature: public ModelObject set(String name, String value)
focal_method.identifier: set
focal_method.invocations: set get
focal_method.modifiers: public
focal_method.parameters: (String name, String value)
focal_method.return: ModelObject
focal_method.signature: ModelObject set(String name, String value)