-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/release-5u21'
- Loading branch information
Showing
5 changed files
with
203 additions
and
44 deletions.
There are no files selected for viewing
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
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
63 changes: 63 additions & 0 deletions
63
src/main/java/com/nablarch/example/form/ProjectRenameForm.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
package com.nablarch.example.form; | ||
|
||
import nablarch.core.validation.ee.Domain; | ||
import nablarch.core.validation.ee.Required; | ||
|
||
import javax.validation.constraints.AssertTrue; | ||
import java.io.Serializable; | ||
|
||
/** | ||
* プロジェクト更新フォーム。 | ||
* @author Nabu Rakutaro | ||
*/ | ||
public class ProjectRenameForm implements Serializable { | ||
|
||
/** シリアルバージョンUID */ | ||
private static final long serialVersionUID = 1L; | ||
|
||
/** プロジェクトID */ | ||
@Required | ||
@Domain("id") | ||
private String projectId; | ||
|
||
/** プロジェクト名 */ | ||
@Required | ||
@Domain("projectName") | ||
private String projectName; | ||
|
||
/** | ||
* プロジェクトIDを取得する。 | ||
* | ||
* @return プロジェクトID | ||
*/ | ||
public String getProjectId() { | ||
return projectId; | ||
} | ||
|
||
/** | ||
* プロジェクト名を取得する。 | ||
* | ||
* @return プロジェクト名 | ||
*/ | ||
public String getProjectName() { | ||
return projectName; | ||
} | ||
|
||
/** | ||
* プロジェクトIDを設定する。 | ||
* | ||
* @param projectId プロジェクトID | ||
*/ | ||
public void setProjectId(String projectId) { | ||
this.projectId = projectId; | ||
} | ||
|
||
/** | ||
* プロジェクト名を設定する。 | ||
* | ||
* @param projectName プロジェクト名 | ||
*/ | ||
public void setProjectName(String projectName) { | ||
this.projectName = projectName; | ||
} | ||
} |
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
Oops, something went wrong.