content: package com.example.android.pets.Data;
  
  import android.content.ContentResolver;
  import android.net.Uri;
  import android.provider.BaseColumns;
  
  public final class PetContract {
  
      public static final String CONTENT_AUTHORITY = "com.example.android.pets";
      public static final String PATH_PETS = "pets";
      public static final Uri BASE_CONTENT_URI = Uri.parse("content://" + CONTENT_AUTHORITY);
  
      /**
       * The MIME type of the for a list of pets.
       */
      public static final String CONTENT_LIST_TYPE =
              ContentResolver.CURSOR_DIR_BASE_TYPE + "/" + CONTENT_AUTHORITY + "/" + PATH_PETS;
  
      /**
       * The MIME type of the for a single pet.
       */
      public static final String CONTENT_ITEM_TYPE =
              ContentResolver.CURSOR_ITEM_BASE_TYPE + "/" + CONTENT_AUTHORITY + "/" + PATH_PETS;
  
      private PetContract(){}
  
      public static class PetEntry implements BaseColumns {
  
          public static final Uri CONTENT_URI = Uri.withAppendedPath(BASE_CONTENT_URI, PATH_PETS);
  
          public final static String TABLE_NAME = "pets";
  
          public final static String _ID = BaseColumns._ID;
          public final static String COLUMN_PET_NAME = "name";
          public final static String COLUMN_PET_BREED = "breed";
          public final static String COLUMN_PET_GENDER = "gender";
          public final static String COLUMN_PET_WEIGHT = "weight";
  
          public final static int GENDER_UNKNOWN = 0;
          public final static int GENDER_MALE = 1;
          public final static int GENDER_FEMALE = 2;
  
      }
  }
  