public void settingStringField(PersistenceCapable pc, int field, String curVal, String newVal, int set) { if (set != SET_REMOTE) { if (StringUtils.equals(newVal, curVal) && _loaded.get(field)) return; assertNoPrimaryKeyChange(field); } lock(); try { Boolean stat = dirty(field, Boolean.FALSE, set == SET_USER); _single.storeStringField(field, newVal); replaceField(pc, _single, field); postDirty(stat); } finally { unlock(); } }
public void settingDoubleField(PersistenceCapable pc, int field, double curVal, double newVal, int set) { if (set != SET_REMOTE) { if (newVal == curVal && _loaded.get(field)) return; assertNoPrimaryKeyChange(field); } lock(); try { Boolean stat = dirty(field, Boolean.FALSE, set == SET_USER); _single.storeDoubleField(field, newVal); replaceField(pc, _single, field); postDirty(stat); } finally { unlock(); } }
public void settingShortField(PersistenceCapable pc, int field, short curVal, short newVal, int set) { if (set != SET_REMOTE) { if (newVal == curVal && _loaded.get(field)) return; assertNoPrimaryKeyChange(field); } lock(); try { Boolean stat = dirty(field, Boolean.FALSE, set == SET_USER); _single.storeShortField(field, newVal); replaceField(pc, _single, field); postDirty(stat); } finally { unlock(); } }
public void settingLongField(PersistenceCapable pc, int field, long curVal, long newVal, int set) { if (set != SET_REMOTE) { if (newVal == curVal && _loaded.get(field)) return; assertNoPrimaryKeyChange(field); } lock(); try { Boolean stat = dirty(field, Boolean.FALSE, set == SET_USER); _single.storeLongField(field, newVal); replaceField(pc, _single, field); postDirty(stat); } finally { unlock(); } }
public void settingByteField(PersistenceCapable pc, int field, byte curVal, byte newVal, int set) { if (set != SET_REMOTE) { if (newVal == curVal && _loaded.get(field)) return; assertNoPrimaryKeyChange(field); } lock(); try { Boolean stat = dirty(field, Boolean.FALSE, set == SET_USER); _single.storeByteField(field, newVal); replaceField(pc, _single, field); postDirty(stat); } finally { unlock(); } }
public void settingDoubleField(PersistenceCapable pc, int field, double curVal, double newVal, int set) { if (set != SET_REMOTE) { if (newVal == curVal && _loaded.get(field)) return; assertNoPrimaryKeyChange(field); } lock(); try { Boolean stat = dirty(field, Boolean.FALSE, set == SET_USER); _single.storeDoubleField(field, newVal); replaceField(pc, _single, field); postDirty(stat); } finally { unlock(); } }
public void settingLongField(PersistenceCapable pc, int field, long curVal, long newVal, int set) { if (set != SET_REMOTE) { if (newVal == curVal && _loaded.get(field)) return; assertNoPrimaryKeyChange(field); } lock(); try { Boolean stat = dirty(field, Boolean.FALSE, set == SET_USER); _single.storeLongField(field, newVal); replaceField(pc, _single, field); postDirty(stat); } finally { unlock(); } }
public void settingCharField(PersistenceCapable pc, int field, char curVal, char newVal, int set) { if (set != SET_REMOTE) { if (newVal == curVal && _loaded.get(field)) return; assertNoPrimaryKeyChange(field); } lock(); try { Boolean stat = dirty(field, Boolean.FALSE, set == SET_USER); _single.storeCharField(field, newVal); replaceField(pc, _single, field); postDirty(stat); } finally { unlock(); } }
public void settingDoubleField(PersistenceCapable pc, int field, double curVal, double newVal, int set) { if (set != SET_REMOTE) { if (newVal == curVal && _loaded.get(field)) return; assertNoPrimaryKeyChange(field); } lock(); try { Boolean stat = dirty(field, Boolean.FALSE, set == SET_USER); _single.storeDoubleField(field, newVal); replaceField(pc, _single, field); postDirty(stat); } finally { unlock(); } }
public void settingFloatField(PersistenceCapable pc, int field, float curVal, float newVal, int set) { if (set != SET_REMOTE) { if (newVal == curVal && _loaded.get(field)) return; assertNoPrimaryKeyChange(field); } lock(); try { Boolean stat = dirty(field, Boolean.FALSE, set == SET_USER); _single.storeFloatField(field, newVal); replaceField(pc, _single, field); postDirty(stat); } finally { unlock(); } }
public void settingBooleanField(PersistenceCapable pc, int field, boolean curVal, boolean newVal, int set) { if (set != SET_REMOTE) { if (newVal == curVal && _loaded.get(field)) return; assertNoPrimaryKeyChange(field); } lock(); try { Boolean stat = dirty(field, Boolean.FALSE, set == SET_USER); _single.storeBooleanField(field, newVal); replaceField(pc, _single, field); postDirty(stat); } finally { unlock(); } }
public void settingByteField(PersistenceCapable pc, int field, byte curVal, byte newVal, int set) { if (set != SET_REMOTE) { if (newVal == curVal && _loaded.get(field)) return; assertNoPrimaryKeyChange(field); } lock(); try { Boolean stat = dirty(field, Boolean.FALSE, set == SET_USER); _single.storeByteField(field, newVal); replaceField(pc, _single, field); postDirty(stat); } finally { unlock(); } }
public void settingFloatField(PersistenceCapable pc, int field, float curVal, float newVal, int set) { if (set != SET_REMOTE) { if (newVal == curVal && _loaded.get(field)) return; assertNoPrimaryKeyChange(field); } lock(); try { Boolean stat = dirty(field, Boolean.FALSE, set == SET_USER); _single.storeFloatField(field, newVal); replaceField(pc, _single, field); postDirty(stat); } finally { unlock(); } }
public void settingIntField(PersistenceCapable pc, int field, int curVal, int newVal, int set) { if (set != SET_REMOTE) { if (newVal == curVal && _loaded.get(field)) return; assertNoPrimaryKeyChange(field); } lock(); try { Boolean stat = dirty(field, Boolean.FALSE, set == SET_USER); _single.storeIntField(field, newVal); replaceField(pc, _single, field); postDirty(stat); } finally { unlock(); } }
public void settingByteField(PersistenceCapable pc, int field, byte curVal, byte newVal, int set) { if (set != SET_REMOTE) { if (newVal == curVal && _loaded.get(field)) return; assertNoPrimaryKeyChange(field); } lock(); try { Boolean stat = dirty(field, Boolean.FALSE, set == SET_USER); _single.storeByteField(field, newVal); replaceField(pc, _single, field); postDirty(stat); } finally { unlock(); } }
public void settingFloatField(PersistenceCapable pc, int field, float curVal, float newVal, int set) { if (set != SET_REMOTE) { if (newVal == curVal && _loaded.get(field)) return; assertNoPrimaryKeyChange(field); } lock(); try { Boolean stat = dirty(field, Boolean.FALSE, set == SET_USER); _single.storeFloatField(field, newVal); replaceField(pc, _single, field); postDirty(stat); } finally { unlock(); } }
public void settingBooleanField(PersistenceCapable pc, int field, boolean curVal, boolean newVal, int set) { if (set != SET_REMOTE) { if (newVal == curVal && _loaded.get(field)) return; assertNoPrimaryKeyChange(field); } lock(); try { Boolean stat = dirty(field, Boolean.FALSE, set == SET_USER); _single.storeBooleanField(field, newVal); replaceField(pc, _single, field); postDirty(stat); } finally { unlock(); } }
public void settingLongField(PersistenceCapable pc, int field, long curVal, long newVal, int set) { if (set != SET_REMOTE) { if (newVal == curVal && _loaded.get(field)) return; assertNoPrimaryKeyChange(field); } lock(); try { Boolean stat = dirty(field, Boolean.FALSE, set == SET_USER); _single.storeLongField(field, newVal); replaceField(pc, _single, field); postDirty(stat); } finally { unlock(); } }
public void settingByteField(PersistenceCapable pc, int field, byte curVal, byte newVal, int set) { if (set != SET_REMOTE) { if (newVal == curVal && _loaded.get(field)) return; assertNoPrimaryKeyChange(field); } lock(); try { Boolean stat = dirty(field, Boolean.FALSE, set == SET_USER); _single.storeByteField(field, newVal); replaceField(pc, _single, field); postDirty(stat); } finally { unlock(); } }
public void settingFloatField(PersistenceCapable pc, int field, float curVal, float newVal, int set) { if (set != SET_REMOTE) { if (newVal == curVal && _loaded.get(field)) return; assertNoPrimaryKeyChange(field); } lock(); try { Boolean stat = dirty(field, Boolean.FALSE, set == SET_USER); _single.storeFloatField(field, newVal); replaceField(pc, _single, field); postDirty(stat); } finally { unlock(); } }