|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjp.terasoluna.fw.web.codelist.CodeBean
public class CodeBean
Bean class that retains code and code value(display string).
Field Summary | |
---|---|
private java.lang.String |
id
Field value indicating the id. |
private java.lang.String |
name
Field value indicating the name. |
private static long |
serialVersionUID
Serial version ID |
Constructor Summary | |
---|---|
CodeBean()
|
Method Summary | |
---|---|
java.lang.String |
getCodeCommaName()
Fetches the string in which the code and code value (display string) are joined with (","). |
java.lang.String |
getId()
Returns id. |
java.lang.String |
getLabel()
Fetches the string in which code and code value (display string) are joined with half-width space. |
java.lang.String |
getName()
Returns name. |
void |
setId(java.lang.String id)
Sets id. |
void |
setName(java.lang.String name)
Sets name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private java.lang.String id
private java.lang.String name
Constructor Detail |
---|
public CodeBean()
Method Detail |
---|
public void setId(java.lang.String id)
id
- Field value indicating id.public java.lang.String getId()
public void setName(java.lang.String name)
name
- Field value indicating name.public java.lang.String getName()
public java.lang.String getLabel()
The result is output as follows:
id
+(half-width space)+ name
public java.lang.String getCodeCommaName()
The result is output as follows:
id
+ , + name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |