Created
March 16, 2013 05:23
-
-
Save bharatkrishna/5175105 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.util.Log; | |
public class TransactionItem { | |
private String description; | |
private String tag; | |
private String date; | |
private float amount; | |
private int type; | |
public String getDescription() { | |
Log.d("item-get", description); // Code doesn't seem to reach here | |
return description; | |
} | |
public void setDescription(String description) { | |
Log.d("item-set", description); // This is printed | |
this.description = description; | |
} | |
public String getTag() { | |
return tag; | |
} | |
public void setTag(String tag) { | |
this.tag = tag; | |
} | |
public String getDate() { | |
return date; | |
} | |
public void setDate(String date) { | |
this.date = date; | |
} | |
public float getAmount() { | |
return amount; | |
} | |
public void setAmount(float amount) { | |
this.amount = amount; | |
} | |
public int getType() { | |
return type; | |
} | |
public void setType(int type) { | |
this.type = type; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment