public MithraDataObject copy() { AllTypesData copy = new AllTypesData(); this.copyInto(copy, true); return copy; }
public void clearRelationships() { clearAllDirectRefs(); }
this.setBooleanValue(allTypesData.isBooleanValue()); this.setByteArrayValue(allTypesData.getByteArrayValue()); this.setByteValue(allTypesData.getByteValue()); this.setCharValue(allTypesData.getCharValue()); this.setDateValue(allTypesData.getDateValue()); this.setDoubleValue(allTypesData.getDoubleValue()); this.setFloatValue(allTypesData.getFloatValue()); this.setIntValue(allTypesData.getIntValue()); this.setLongValue(allTypesData.getLongValue()); this.setNullableByteArrayValue(allTypesData.getNullableByteArrayValue()); this.setNullableByteValue(allTypesData.getNullableByteValue()); if (allTypesData.isNullableByteValueNull()) this.setNullableByteValueNull(); this.setNullableCharValue(allTypesData.getNullableCharValue()); if (allTypesData.isNullableCharValueNull()) this.setNullableCharValueNull(); this.setNullableDateValue(allTypesData.getNullableDateValue()); this.setNullableDoubleValue(allTypesData.getNullableDoubleValue()); if (allTypesData.isNullableDoubleValueNull()) this.setNullableDoubleValueNull(); this.setNullableFloatValue(allTypesData.getNullableFloatValue()); if (allTypesData.isNullableFloatValueNull()) this.setNullableFloatValueNull(); this.setNullableIntValue(allTypesData.getNullableIntValue()); if (allTypesData.isNullableIntValueNull()) this.setNullableIntValueNull(); this.setNullableLongValue(allTypesData.getNullableLongValue()); if (allTypesData.isNullableLongValueNull()) this.setNullableLongValueNull(); this.setNullableShortValue(allTypesData.getNullableShortValue()); if (allTypesData.isNullableShortValueNull()) this.setNullableShortValueNull(); this.setNullableStringValue(allTypesData.getNullableStringValue()); this.setNullableTimestampValue(allTypesData.getNullableTimestampValue()); this.setShortValue(allTypesData.getShortValue()); this.setStringValue(allTypesData.getStringValue());
if ( isBooleanValue() != other.isBooleanValue()) if (!isByteArrayValueNull() ? !Arrays.equals(getByteArrayValue(),other.getByteArrayValue()) : !other.isByteArrayValueNull()) if ( getByteValue() != other.getByteValue()) if ( getCharValue() != other.getCharValue()) if (!isDateValueNull() ? !getDateValue().equals(other.getDateValue()) : !other.isDateValueNull()) if ( Math.abs(getDoubleValue() - other.getDoubleValue()) > toleranceForFloatingPointFields) if ( Math.abs(getFloatValue() - other.getFloatValue()) > toleranceForFloatingPointFields) if ( getIntValue() != other.getIntValue()) if ( getLongValue() != other.getLongValue()) if (!isNullableByteArrayValueNull() ? !Arrays.equals(getNullableByteArrayValue(),other.getNullableByteArrayValue()) : !other.isNullableByteArrayValueNull()) if ( isNullableByteValueNull() != other.isNullableByteValueNull() || getNullableByteValue() != other.getNullableByteValue()) if ( isNullableCharValueNull() != other.isNullableCharValueNull() || getNullableCharValue() != other.getNullableCharValue()) if (!isNullableDateValueNull() ? !getNullableDateValue().equals(other.getNullableDateValue()) : !other.isNullableDateValueNull()) if ( isNullableDoubleValueNull() != other.isNullableDoubleValueNull() || Math.abs(getNullableDoubleValue() - other.getNullableDoubleValue()) > toleranceForFloatingPointFields) if ( isNullableFloatValueNull() != other.isNullableFloatValueNull() || Math.abs(getNullableFloatValue() - other.getNullableFloatValue()) > toleranceForFloatingPointFields)
public MithraObject deserializeForRefresh(ObjectInput in) throws IOException, ClassNotFoundException { AllTypesData data = new AllTypesData(); data.zDeserializePrimaryKey(in); return this.createObject(data); }
public AllTypesData inflateAllTypesPkData(ResultSet _rs, DatabaseType _dt) throws SQLException { AllTypesData _data = new AllTypesData(); int _pos = 1; _data.setId(_rs.getInt(_pos++)); checkNullPrimitive(_rs, _data, "id"); return _data; }
public String zGetPrintablePrimaryKey() { String result = ""; result += "id: "+(""+getId())+ " / "; return result; }
public MithraDataObject zAllocateData() { return new AllTypesData(); }
public boolean isDateValueNull() { return this.getDateValue() == null; }
public boolean isByteArrayValueNull() { return this.getByteArrayValue() == null; }
public byte getByteValue() { AllTypesData data = (AllTypesData) this.zSynchronizedGetData(); return data.getByteValue(); }
public float getFloatValue() { AllTypesData data = (AllTypesData) this.zSynchronizedGetData(); return data.getFloatValue(); }
public double getDoubleValue() { AllTypesData data = (AllTypesData) this.zSynchronizedGetData(); return data.getDoubleValue(); }
public char getCharValue() { AllTypesData data = (AllTypesData) this.zSynchronizedGetData(); return data.getCharValue(); }
stm.setInt(pos++, data.getId()); stm.setBoolean(pos++, data.isBooleanValue()); stm.setByte(pos++, data.getByteValue()); stm.setShort(pos++, data.getShortValue()); stm.setString(pos++, String.valueOf(data.getCharValue())); stm.setInt(pos++, data.getIntValue()); stm.setLong(pos++, data.getLongValue()); stm.setFloat(pos++, data.getFloatValue()); stm.setDouble(pos++, data.getDoubleValue()); if(data.isDateValueNull()) stm.setDate(pos++, data.getDateValue()); if(data.isTimestampValueNull()) dt.setTimestamp(stm, pos, data.getTimestampValue(), false, conversionTimeZone); pos++; if(data.isStringValueNull()) stm.setString(pos++, data.getStringValue()); if(data.isByteArrayValueNull()) stm.setBytes(pos++, data.getByteArrayValue()); if (data.isNullableByteValueNull()) stm.setByte(pos++, data.getNullableByteValue()); if (data.isNullableShortValueNull()) stm.setShort(pos++, data.getNullableShortValue());
public static AllTypesData allocateOnHeapData() { return new AllTypesData(); }
public Date getDateValue() { AllTypesData data = (AllTypesData) this.zSynchronizedGetData(); return data.getDateValue(); }
public byte[] getByteArrayValue() { AllTypesData data = (AllTypesData) this.zSynchronizedGetData(); return data.getByteArrayValue(); }
public MithraDataObject copy(boolean withRelationships) { AllTypesData copy = new AllTypesData(); this.copyInto(copy, withRelationships); return copy; }