protected class AccountLogonAddEdit.SearchResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
code
The result's code.
|
protected java.lang.String |
desc
The result's description.
|
Modifier | Constructor and Description |
---|---|
protected |
SearchResult(java.lang.String code,
java.lang.String desc)
Constructs a new search result object to hold the results of an auto
complete search.
|
Modifier and Type | Method and Description |
---|---|
protected void |
appendJSON(java.lang.StringBuilder sb)
Appends a JSON formatted string of this object's values to the given
string.
|
protected java.lang.StringBuilder |
toJSON()
Returns a JSON formatted string of this object's values.
|
protected java.lang.String code
protected java.lang.String desc
protected SearchResult(java.lang.String code, java.lang.String desc)
code
- (String) The result's code.desc
- (String) The result's description.protected void appendJSON(java.lang.StringBuilder sb)
sb
- (StringBuilder) The string to append to.protected java.lang.StringBuilder toJSON()