package com.brewguide.android.coffeebrewguide;

import android.media.Image;
import javax.xml.datatype.Duration;

/**
 * Class holds all information about the brew methods
 */

public class BrewMethod {
    public String methodName, methodGrindSize;
    String[] methodInstructions;
    int methodServingSize;
    Duration methodBrewTime;
    Image homeScreenTile, detailActivityGraphic;

    public BrewMethod(String name, String[] instructions, int servingSize, Duration brewTime, String grindSize, Image tile, Image graphic){
        methodName = name;
        methodGrindSize = grindSize;
        methodInstructions = instructions;
        methodServingSize = servingSize;
        methodBrewTime = brewTime;
        homeScreenTile = tile;
        detailActivityGraphic = graphic;
    }
    /**
     * get methods
     *
     */
    public String getMethodName() {
        return methodName;
    }

    public String[] getMethodInstructions() {
        return methodInstructions;
    }

    public String getMethodGrindSize() {
        return methodGrindSize;
    }

    public int getMethodServingSize() {
        return methodServingSize;
    }

    public Duration getMethodBrewTime() {
        return methodBrewTime;
    }

    public Image getHomeScreenTile() {
        return homeScreenTile;
    }

    public Image getDetailActivityGraphic() {
        return detailActivityGraphic;
    }
}

@@ -224,16 +224,17 @@
 String m
+M
 ethodNam
@@ -237,16 +237,17 @@
 dName, m
+M
 ethodGri
@@ -269,16 +269,17 @@
 ring%5B%5D m
+M
 ethodIns
@@ -299,16 +299,17 @@
    int m
+M
 ethodSer
@@ -333,16 +333,17 @@
 ration m
+M
 ethodBre
@@ -360,17 +360,18 @@
   Image 
-h
+mH
 omeScree
@@ -379,11 +379,14 @@
 Tile
-, d
+Id, mD
 etai
@@ -401,16 +401,18 @@
 yGraphic
+Id
 ;%0D%0A%0D%0A   
@@ -554,24 +554,25 @@
 %7B%0D%0A        m
+M
 ethodName = 
@@ -583,24 +583,25 @@
 ;%0D%0A        m
+M
 ethodGrindSi
@@ -622,24 +622,25 @@
 ;%0D%0A        m
+M
 ethodInstruc
@@ -667,24 +667,25 @@
 ;%0D%0A        m
+M
 ethodServing
@@ -714,16 +714,17 @@
        m
+M
 ethodBre
@@ -750,17 +750,18 @@
         
-h
+mH
 omeScree
@@ -765,16 +765,18 @@
 reenTile
+Id
  = tile;
@@ -785,17 +785,18 @@
         
-d
+mD
 etailAct
@@ -807,16 +807,18 @@
 yGraphic
+Id
  = graph
@@ -892,24 +892,25 @@
 c String get
+m
 MethodName()
@@ -925,24 +925,25 @@
     return m
+M
 ethodName;%0D%0A
@@ -970,24 +970,25 @@
 String%5B%5D get
+m
 MethodInstru
@@ -1011,24 +1011,25 @@
     return m
+M
 ethodInstruc
@@ -1062,24 +1062,25 @@
 c String get
+m
 MethodGrindS
@@ -1100,24 +1100,25 @@
     return m
+M
 ethodGrindSi
@@ -1145,24 +1145,25 @@
 blic int get
+m
 MethodServin
@@ -1185,24 +1185,25 @@
     return m
+M
 ethodServing
@@ -1241,16 +1241,17 @@
 tion get
+m
 MethodBr
@@ -1278,16 +1278,17 @@
 return m
+M
 ethodBre
@@ -1324,16 +1324,17 @@
 mage get
+m
 HomeScre
@@ -1339,16 +1339,18 @@
 reenTile
+Id
 () %7B%0D%0A  
@@ -1362,17 +1362,18 @@
  return 
-h
+mH
 omeScree
@@ -1377,16 +1377,18 @@
 reenTile
+Id
 ;%0D%0A    %7D
@@ -1411,16 +1411,17 @@
 mage get
+m
 DetailAc
@@ -1433,16 +1433,18 @@
 yGraphic
+Id
 () %7B%0D%0A  
@@ -1456,17 +1456,18 @@
  return 
-d
+mD
 etailAct
@@ -1474,24 +1474,26 @@
 ivityGraphic
+Id
 ;%0D%0A    %7D%0D%0A%7D%0D

rename variables