public boolean hasSamePrimaryKeyIgnoringAsOfAttributes(MithraDataObject other) { if (this == other) return true; final ObjectSequenceData otherData = (ObjectSequenceData) other; if (!isSimulatedSequenceNameNull() ? !getSimulatedSequenceName().equals(otherData.getSimulatedSequenceName()) : !otherData.isSimulatedSequenceNameNull()) { return false; } return true; }
public boolean hasSamePrimaryKeyIgnoringAsOfAttributes(MithraDataObject other) { if (this == other) return true; final ObjectSequenceData otherData = (ObjectSequenceData) other; if (!isSimulatedSequenceNameNull() ? !getSimulatedSequenceName().equals(otherData.getSimulatedSequenceName()) : !otherData.isSimulatedSequenceNameNull()) { return false; } return true; }
public boolean isSimulatedSequenceNameNull() { return ((ObjectSequenceData) this.zSynchronizedGetData()).isSimulatedSequenceNameNull(); }
public boolean isSimulatedSequenceNameNull() { return ((ObjectSequenceData) this.zSynchronizedGetData()).isSimulatedSequenceNameNull(); }
public void setInsertAttributes(PreparedStatement stm, MithraDataObject dataObj, TimeZone databaseTimeZone, int pos, DatabaseType dt) throws SQLException { ObjectSequenceData data = (ObjectSequenceData)dataObj; TimeZone conversionTimeZone = null; if(data.isSimulatedSequenceNameNull()) { throwNullAttribute("simulatedSequenceName"); } stm.setString(pos++, data.getSimulatedSequenceName()); if (data.isNextValueNull()) { stm.setNull(pos++, java.sql.Types.BIGINT); } else { stm.setLong(pos++, data.getNextValue()); } }
public void setInsertAttributes(PreparedStatement stm, MithraDataObject dataObj, TimeZone databaseTimeZone, int pos, DatabaseType dt) throws SQLException { ObjectSequenceData data = (ObjectSequenceData)dataObj; TimeZone conversionTimeZone = null; if(data.isSimulatedSequenceNameNull()) { throwNullAttribute("simulatedSequenceName"); } stm.setString(pos++, data.getSimulatedSequenceName()); if (data.isNextValueNull()) { stm.setNull(pos++, java.sql.Types.BIGINT); } else { stm.setLong(pos++, data.getNextValue()); } }