@Override // org.dmd.dms.util.GenUtility.dumpMVType(GenUtility.java:2330) public DmcAttribute<ActionBindingREF> cloneIt() { synchronized (this) { DmcTypeActionBindingREFMV rc = getNew(); if (value == null) return (rc); if (getAttributeInfo().indexSize == 0) { for (ActionBindingREF val : value) try { rc.add(val); } catch (DmcValueException e) { throw (new IllegalStateException("typeCheck() should never fail here!", e)); } } else { for (int index = 0; index < value.size(); index++) try { rc.setMVnth(index, value.get(index)); } catch (DmcValueException e) { throw (new IllegalStateException("typeCheck() should never fail here!", e)); } } return (rc); } }
@Override public void setExisting(DmcAttribute<?> attr) { existingValue = (DmcTypeActionBindingREFMV) attr; if (existingValue != null) value = existingValue.getMVCopy(); }
@Override public void resetToExisting() { if (existingValue == null) value = null; else value = existingValue.getMVCopy(); }