Back to project page minha-parte-na-conta.
The source code is released under:
Copyright (c) 2015, Daniel Monteiro All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:...
If you think the Android project minha-parte-na-conta listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package br.odb.myshare.datamodel; //from w w w .ja v a 2 s. co m import java.util.ArrayList; public class Person { public String name; public ArrayList< Item > itemsConsumed; public Person( String name, ArrayList<Item> itemsConsumed) { this.name = name; this.itemsConsumed = itemsConsumed; } public Person(String name) { this.name = name; itemsConsumed = new ArrayList<Item>(); } public CharSequence getName() { return name; } @Override public String toString() { return name; } }