poem.command.AskForPoem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of poem-hexagon Show documentation
Show all versions of poem-hexagon Show documentation
A simple example for a hexagonal architecture.
The newest version!
package poem.command;
/**
* Command object representing the user request for a poem in a certain
* language. Supported languages are: "de" for German, "en" for English.
*
* @author b_muth
*
*/
public class AskForPoem {
private String language;
public AskForPoem(String language) {
this.language = language;
}
public String getLanguage() {
return language;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy