Exemple #1
0
 public void realmSet$name(String value) {
   proxyState.getRealm$realm().checkIfValid();
   if (value == null) {
     proxyState.getRow$realm().setNull(columnInfo.nameIndex);
     return;
   }
   proxyState.getRow$realm().setString(columnInfo.nameIndex, value);
 }
Exemple #2
0
  @Override
  public int hashCode() {
    String realmName = proxyState.getRealm$realm().getPath();
    String tableName = proxyState.getRow$realm().getTable().getName();
    long rowIndex = proxyState.getRow$realm().getIndex();

    int result = 17;
    result = 31 * result + ((realmName != null) ? realmName.hashCode() : 0);
    result = 31 * result + ((tableName != null) ? tableName.hashCode() : 0);
    result = 31 * result + (int) (rowIndex ^ (rowIndex >>> 32));
    return result;
  }
Exemple #3
0
  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    BooleansRealmProxy aBooleans = (BooleansRealmProxy) o;

    String path = proxyState.getRealm$realm().getPath();
    String otherPath = aBooleans.proxyState.getRealm$realm().getPath();
    if (path != null ? !path.equals(otherPath) : otherPath != null) return false;
    ;

    String tableName = proxyState.getRow$realm().getTable().getName();
    String otherTableName = aBooleans.proxyState.getRow$realm().getTable().getName();
    if (tableName != null ? !tableName.equals(otherTableName) : otherTableName != null)
      return false;

    if (proxyState.getRow$realm().getIndex() != aBooleans.proxyState.getRow$realm().getIndex())
      return false;

    return true;
  }
Exemple #4
0
 public void realmSet$mCompleted(boolean value) {
   proxyState.getRealm$realm().checkIfValid();
   proxyState.getRow$realm().setBoolean(columnInfo.mCompletedIndex, value);
 }
Exemple #5
0
 @SuppressWarnings("cast")
 public boolean realmGet$mCompleted() {
   proxyState.getRealm$realm().checkIfValid();
   return (boolean) proxyState.getRow$realm().getBoolean(columnInfo.mCompletedIndex);
 }
Exemple #6
0
 public void realmSet$isReady(boolean value) {
   proxyState.getRealm$realm().checkIfValid();
   proxyState.getRow$realm().setBoolean(columnInfo.isReadyIndex, value);
 }
Exemple #7
0
 public void realmSet$age(int value) {
   proxyState.getRealm$realm().checkIfValid();
   proxyState.getRow$realm().setLong(columnInfo.ageIndex, value);
 }
Exemple #8
0
 @SuppressWarnings("cast")
 public int realmGet$age() {
   proxyState.getRealm$realm().checkIfValid();
   return (int) proxyState.getRow$realm().getLong(columnInfo.ageIndex);
 }
Exemple #9
0
 @SuppressWarnings("cast")
 public String realmGet$name() {
   proxyState.getRealm$realm().checkIfValid();
   return (java.lang.String) proxyState.getRow$realm().getString(columnInfo.nameIndex);
 }