public static class DirectoryAddressJspBean.SearchAddress extends Object
{
"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 and Description |
|---|
SearchAddress() |
| Modifier and Type | Method and Description |
|---|---|
fr.paris.lutece.util.ReferenceList |
getAddresses()
Return matching addresses
|
String |
getAddressLabel()
address
|
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 |
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) |
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 otherwisetrue if no result, false otherwisepublic boolean isSingleResult()
true if there is one and only one result , false otherwisetrue 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 otherwisetrue 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()
Copyright © 2017 City of Paris. All rights reserved.