Back to project page AgileSmsGenerator.
The source code is released under:
GNU General Public License
If you think the Android project AgileSmsGenerator 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 edu.emd.agilesmsgenerator.core; //from w w w .j a va2 s. c o m public class StyleSMSDefault implements StyleSMS { String nameOfDestinataire=""; public String getNameOfDestinataire() { return nameOfDestinataire; } public void setNameOfDestinataire(String nameOfDestinataire) { this.nameOfDestinataire = nameOfDestinataire; } @Override public String generateMessage() { return "HelloWorld "+nameOfDestinataire; } @Override public void changeParameter(String aNameOfDestinataire) { if(nameOfDestinataire.equals("")){ setNameOfDestinataire(aNameOfDestinataire); } else { setNameOfDestinataire(""); } } }