use of io.realm.internal.Row in project realm-java by realm.
the class AllTypesRealmProxy method realmSet$columnDouble.
public void realmSet$columnDouble(double value) {
if (proxyState.isUnderConstruction()) {
if (!proxyState.getAcceptDefaultValue$realm()) {
return;
}
final Row row = proxyState.getRow$realm();
row.getTable().setDouble(columnInfo.columnDoubleIndex, row.getIndex(), value, true);
return;
}
proxyState.getRealm$realm().checkIfValid();
proxyState.getRow$realm().setDouble(columnInfo.columnDoubleIndex, value);
}
use of io.realm.internal.Row in project realm-java by realm.
the class BooleansRealmProxy method realmSet$anotherBoolean.
public void realmSet$anotherBoolean(boolean value) {
if (proxyState.isUnderConstruction()) {
if (!proxyState.getAcceptDefaultValue$realm()) {
return;
}
final Row row = proxyState.getRow$realm();
row.getTable().setBoolean(columnInfo.anotherBooleanIndex, row.getIndex(), value, true);
return;
}
proxyState.getRealm$realm().checkIfValid();
proxyState.getRow$realm().setBoolean(columnInfo.anotherBooleanIndex, value);
}
use of io.realm.internal.Row in project realm-java by realm.
the class BooleansRealmProxy method realmSet$isReady.
public void realmSet$isReady(boolean value) {
if (proxyState.isUnderConstruction()) {
if (!proxyState.getAcceptDefaultValue$realm()) {
return;
}
final Row row = proxyState.getRow$realm();
row.getTable().setBoolean(columnInfo.isReadyIndex, row.getIndex(), value, true);
return;
}
proxyState.getRealm$realm().checkIfValid();
proxyState.getRow$realm().setBoolean(columnInfo.isReadyIndex, value);
}
use of io.realm.internal.Row in project realm-java by realm.
the class NullTypesRealmProxy method realmSet$fieldFloatNotNull.
public void realmSet$fieldFloatNotNull(Float value) {
if (proxyState.isUnderConstruction()) {
if (!proxyState.getAcceptDefaultValue$realm()) {
return;
}
final Row row = proxyState.getRow$realm();
if (value == null) {
throw new IllegalArgumentException("Trying to set non-nullable field 'fieldFloatNotNull' to null.");
}
row.getTable().setFloat(columnInfo.fieldFloatNotNullIndex, row.getIndex(), value, true);
return;
}
proxyState.getRealm$realm().checkIfValid();
if (value == null) {
throw new IllegalArgumentException("Trying to set non-nullable field 'fieldFloatNotNull' to null.");
}
proxyState.getRow$realm().setFloat(columnInfo.fieldFloatNotNullIndex, value);
}
use of io.realm.internal.Row in project realm-java by realm.
the class AllTypesRealmProxy method realmSet$columnFloat.
public void realmSet$columnFloat(float value) {
if (proxyState.isUnderConstruction()) {
if (!proxyState.getAcceptDefaultValue$realm()) {
return;
}
final Row row = proxyState.getRow$realm();
row.getTable().setFloat(columnInfo.columnFloatIndex, row.getIndex(), value, true);
return;
}
proxyState.getRealm$realm().checkIfValid();
proxyState.getRow$realm().setFloat(columnInfo.columnFloatIndex, value);
}
Aggregations