Created
April 16, 2018 15:10
-
-
Save noriyukitakei/5aa968ebd2694fea3b1ab7d2566a9112 to your computer and use it in GitHub Desktop.
Spring Web Flowによる今どきでないWebアプリケーション開発
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
package com.sios.flow; | |
import java.io.Serializable; | |
/** | |
* 掲示板のメッセージを格納するBean | |
* @author ntakei | |
*/ | |
public class Message implements Serializable { | |
private static final long serialVersionUID = 1L; | |
private String title; // タイトル | |
private String body; // 本文 | |
/** | |
* タイトルを取得するgetterメソッド | |
*/ | |
public String getTitle() { | |
return title; | |
} | |
/** | |
* タイトルを設定するsetterメソッド | |
*/ | |
public void setTitle(String title) { | |
this.title = title; | |
} | |
/** | |
* 本文を取得するgetterメソッド | |
*/ | |
public String getBody() { | |
return body; | |
} | |
/** | |
* 本文を設定するsetterメソッド | |
*/ | |
public void setBody(String body) { | |
this.body = body; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment