Package org.pac4j.oauth.profile.yahoo
Class YahooAddress
java.lang.Object
org.pac4j.oauth.profile.yahoo.YahooAddress
- All Implemented Interfaces:
Serializable
This class represents a Yahoo address.
- Since:
- 1.1.0
- Author:
- Jerome Leleu
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCity()
Getter for the fieldcity
.Getter for the fieldcountry
.Getter for the fieldcurrent
.getId()
Getter for the fieldid
.Getter for the fieldpostalCode
.getState()
Getter for the fieldstate
.Getter for the fieldstreet
.getType()
Getter for the fieldtype
.void
Setter for the fieldcity
.void
setCountry
(Locale country) Setter for the fieldcountry
.void
setCurrent
(Boolean current) Setter for the fieldcurrent
.void
Setter for the fieldid
.void
setPostalCode
(String postalCode) Setter for the fieldpostalCode
.void
Setter for the fieldstate
.void
Setter for the fieldstreet
.void
Setter for the fieldtype
.
-
Constructor Details
-
YahooAddress
public YahooAddress()
-
-
Method Details
-
getId
Getter for the field
id
.- Returns:
- a
Integer
object
-
setId
Setter for the field
id
.- Parameters:
id
- aInteger
object
-
getCurrent
Getter for the field
current
.- Returns:
- a
Boolean
object
-
setCurrent
Setter for the field
current
.- Parameters:
current
- aBoolean
object
-
getCountry
Getter for the field
country
.- Returns:
- a
Locale
object
-
setCountry
Setter for the field
country
.- Parameters:
country
- aLocale
object
-
getState
Getter for the field
state
.- Returns:
- a
String
object
-
setState
Setter for the field
state
.- Parameters:
state
- aString
object
-
getCity
Getter for the field
city
.- Returns:
- a
String
object
-
setCity
Setter for the field
city
.- Parameters:
city
- aString
object
-
getPostalCode
Getter for the field
postalCode
.- Returns:
- a
String
object
-
setPostalCode
Setter for the field
postalCode
.- Parameters:
postalCode
- aString
object
-
getStreet
Getter for the field
street
.- Returns:
- a
String
object
-
setStreet
Setter for the field
street
.- Parameters:
street
- aString
object
-
getType
Getter for the field
type
.- Returns:
- a
String
object
-
setType
Setter for the field
type
.- Parameters:
type
- aString
object
-