/** Updates the legacy value in an existing instance of the new kind of value. */ @Override protected boolean update(final DefaultAttributeGroup container, final RangeDimension value) { if (container instanceof DefaultAttributeGroup) { container.setAttributes(asCollection(value)); return true; } return false; } }.validOrNull();
/** Updates the legacy value in an existing instance of the new kind of value. */ @Override protected boolean update(final DefaultAttributeGroup container, final RangeDimension value) { if (container instanceof DefaultAttributeGroup) { container.setAttributes(asCollection(value)); return true; } return false; } }.validOrNull();
/** Stores a legacy value into the new kind of value. */ @Override protected DefaultAttributeGroup wrap(final RangeDimension value) { final DefaultAttributeGroup container = new DefaultAttributeGroup(); container.setAttributes(asCollection(value)); return container; }
/** Stores a legacy value into the new kind of value. */ @Override protected DefaultAttributeGroup wrap(final RangeDimension value) { final DefaultAttributeGroup container = new DefaultAttributeGroup(); container.setAttributes(asCollection(value)); return container; }