DbTableSchema.java 1.11 KB
package com.bitstrips.imoji.database;

import android.support.annotation.Nullable;

public class DbTableSchema
{
  private final String a;
  private final DataType b;
  private final String c;
  
  public DbTableSchema(String paramString1, DataType paramDataType, @Nullable String paramString2)
  {
    this.a = paramString1;
    this.b = paramDataType;
    this.c = paramString2;
  }
  
  public String getColumnName()
  {
    return this.a;
  }
  
  @Nullable
  public String getConstraints()
  {
    return this.c;
  }
  
  public DataType getDataType()
  {
    return this.b;
  }
  
  public static enum DataType
  {
    private final String a;
    
    static
    {
      FLOAT = new DataType("FLOAT", 2, "real");
      BOOLEAN = new DataType("BOOLEAN", 3, "integer");
    }
    
    private DataType(String paramString)
    {
      this.a = paramString;
    }
    
    public final String toString()
    {
      return this.a;
    }
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/com/bitstrips/imoji/database/DbTableSchema.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */