|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.genericattributes.modules.address.web.GenericAttributesAddressJspBean.SearchAddress
public static class GenericAttributesAddressJspBean.SearchAddress
SearchAddress. Use for JSON compatibility :
{
"noResult" : "false",
"singleResult" : "false",
"listAddresses" : [{"12345", "217 rue de Bercy"},
{"98765", "216, rue de Bercy"}],
"message" : "",
"error" : "false",
"address" : "",
"html" : "[...]"
}
http://www.json.org/
| Constructor Summary | |
|---|---|
GenericAttributesAddressJspBean.SearchAddress()
|
|
| Method Summary | |
|---|---|
fr.paris.lutece.util.ReferenceList |
getAddresses()
Return matching addresses |
String |
getAddressLabel()
address |
BigInteger |
getIdAddress()
|
int |
getIdEntry()
Entry id |
String |
getMessage()
Returns the error message |
float |
getX()
X |
float |
getY()
Y |
boolean |
isError()
true if the error message is not blank,
false otherwise |
boolean |
isNoResult()
true if no result, false otherwise |
boolean |
isSingleResult()
true if there is one and only one result ,
false otherwise |
void |
setAddresses(fr.paris.lutece.util.ReferenceList refListAddresses)
Sets the addresses |
void |
setAddressLabel(String strAddressLabel)
Sets the address |
void |
setIdAddress(BigInteger nIdAddress)
|
void |
setIdEntry(int nIdEntry)
Sets the entry id |
void |
setMessage(String strMessage)
Sets an error message |
void |
setX(float fX)
Sets the x |
void |
setY(float fY)
Sets the y |
String |
toJSONString(Locale locale)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenericAttributesAddressJspBean.SearchAddress()
| Method Detail |
|---|
public String getAddressLabel()
public void setAddressLabel(String strAddressLabel)
strAddressLabel - the new addresspublic int getIdEntry()
public void setIdEntry(int nIdEntry)
nIdEntry - the new entry idpublic boolean isNoResult()
true if no result, false otherwise
true if no result, false otherwisepublic boolean isSingleResult()
true if there is one and only one result ,
false otherwise
true if there is one and only one result,
false otherwisepublic void setAddresses(fr.paris.lutece.util.ReferenceList refListAddresses)
refListAddresses - the addressespublic fr.paris.lutece.util.ReferenceList getAddresses()
public void setMessage(String strMessage)
strMessage - an error messagepublic String getMessage()
null otherwise.public boolean isError()
true if the error message is not blank,
false otherwise
true if the error message is not blank,
false otherwisepublic float getX()
public void setX(float fX)
fX - the xpublic void setY(float fY)
fY - the ypublic float getY()
public BigInteger getIdAddress()
public void setIdAddress(BigInteger nIdAddress)
nIdAddress - the IdAddress to setpublic String toJSONString(Locale locale)
locale - the locale
JSONObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||