|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zphinx.spine.vo.dto.StringAttributeBean
public class StringAttributeBean
StringAttributeBean defines a bean whose name and value can only be a String by associating its name with its value.
Copyright ©Zphinx Software Solutions
| Constructor Summary | |
|---|---|
StringAttributeBean(String name,
String value)
Constructor which sets the name and the value of this object |
|
StringAttributeBean(String name,
String value,
Locale locale)
|
|
StringAttributeBean(String name,
String value,
Locale locale,
String sessionId)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
Compares the current StringAttributeBean Object with another StringAttributeBean. |
Locale |
getLocale()
Gets the Locale where the creator of this DTO is using the system |
String |
getName()
Gets the name of this object |
String |
getSessionId()
Gets a unique ID for this transaction which is used to identify this object across multiple tiers |
String |
getValue()
Gets the name of this object |
int |
hashCode()
|
void |
setLocale(Locale locale)
Sets the Locale of this object |
void |
setName(String name)
Sets the name of this object |
void |
setSessionId(String sessionId)
Sets this beans sessionId |
void |
setValue(String value)
Sets the value of this object |
String |
toString()
Returns a description for this StringAttributeBean |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StringAttributeBean(String name,
String value)
name - The name of the value to be used by this objectvalue - The string which represents the value of this object
public StringAttributeBean(String name,
String value,
Locale locale)
name - The name of the value to be used by this objectvalue - The string which represents the value of this objectlocale - The Locale of this object
public StringAttributeBean(String name,
String value,
Locale locale,
String sessionId)
name - The name of the value to be used by this objectvalue - The string which represents the value of this objectlocale - The Locale of this objectsessionId - The sessionId to set for this object| Method Detail |
|---|
public void setValue(String value)
value - The string which represents the value of this objectpublic void setName(String name)
name - The name of the value to be used by this objectpublic String getName()
public String getValue()
public boolean equals(Object object)
equals in class Objectobject - The object that the current StringAttributeBean is to be compared with.
public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic String getSessionId()
DataTransferObject
getSessionId in interface DataTransferObjectpublic void setSessionId(String sessionId)
sessionId - the sessionId to setpublic Locale getLocale()
DataTransferObject
getLocale in interface DataTransferObjectpublic void setLocale(Locale locale)
locale - the locale to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||