/** Set whether this field element is in a concurrency check or not. * @param flag - if <code>true</code>, the field element is marked as * being in a concurrency check; otherwise, it is not * @exception ModelException if impossible */ public void setInConcurrencyCheck (boolean flag) throws ModelException { Boolean old = JavaTypeHelper.valueOf(isInConcurrencyCheck()); Boolean newFlag = JavaTypeHelper.valueOf(flag); try { fireVetoableChange(PROP_IN_CONCURRENCY_CHECK, old, newFlag); setProperty(flag, IN_CONCURRENCY_CHECK); firePropertyChange(PROP_IN_CONCURRENCY_CHECK, old, newFlag); } catch (PropertyVetoException e) { throw new ModelVetoException(e); } }
/** Set whether this field element is in a concurrency check or not. * @param flag - if <code>true</code>, the field element is marked as * being in a concurrency check; otherwise, it is not * @exception ModelException if impossible */ public void setInConcurrencyCheck (boolean flag) throws ModelException { Boolean old = JavaTypeHelper.valueOf(isInConcurrencyCheck()); Boolean newFlag = JavaTypeHelper.valueOf(flag); try { fireVetoableChange(PROP_IN_CONCURRENCY_CHECK, old, newFlag); setProperty(flag, IN_CONCURRENCY_CHECK); firePropertyChange(PROP_IN_CONCURRENCY_CHECK, old, newFlag); } catch (PropertyVetoException e) { throw new ModelVetoException(e); } }