@Test public void testSet_Mutability() { ModelString string = modelString().set("foo"); ModelString string2 = string.set("bar"); ModelString string3 = string.set("foobar"); assertTrue(string == string2); assertTrue(string2 == string3); }
@Override public ModelString set(String value) { this.value.set(value); return this; }
DmrModelString extends DmrModelValue implements ModelString { @Override public ModelString set(String value) { this.value.set(value); return this; } }
DmrModelString extends DmrModelValue implements ModelString { @Override public ModelString set(String value) { this.value.set(value); return this; } DmrModelString(final ModelNode value); }
DmrModelString extends DmrModelValue implements ModelString { @Override public ModelString set(String value) { this.value.set(value); return this; } DmrModelString(final ModelNode value); @Override String getValue(); @Override ModelString set(String value); @Override T asValue(Class<T> valueType); }
DmrModelString extends DmrModelValue implements ModelString { @Override public ModelString set(String value) { this.value.set(value); return this; } DmrModelString(final ModelNode value); @Override String getValue(); @Override ModelString set(String value); @Override T asValue(Class<T> valueType);  }