Class UserInfoHolder
java.lang.Object
com.nagra.otvaa.sdk.insightwrapper.UserInfoHolder
The UserInfoHolder class contains the representation of the metadata for a user/subscriber.
The metadata for one item consists of:
- UserId - a unique identifier for this user
- AccountId - a unique identifier of the account of the user
- FullName - the name and last name of the user
- Gender - the gender of the user
- Age - the age of the user
- AgeRange - the age range of the user (i.e., 25-40)
- Category - The category of the user (i.e., Junior)
- Street - street component of the address
- City - city component of the address
- State - state component of the address
- PostCode - postcode component of the address
- Country - country component of the address
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the account idgetAge()
getCity()
getCorp()
Returns the full name of the userReturns the full gender of the usergetNode()
getState()
Returns the users IDvoid
setAccountId
(String xAccountId) Sets the account idvoid
void
setAgeRange
(String xAgeRange) void
setCategory
(String xCategory) void
void
void
setCountry
(String xCountry) void
setFullName
(String xFullName) Sets the full name of the uservoid
void
void
setPostcode
(String xPostcode) void
void
void
Sets the user IdtoJSON()
-
Constructor Details
-
UserInfoHolder
public UserInfoHolder()
-
-
Method Details
-
getUserId
Returns the users ID- Returns:
-
setUserId
Sets the user Id- Parameters:
xUserId
-
-
getAccountId
Returns the account id- Returns:
-
setAccountId
Sets the account id- Parameters:
xAccountId
-
-
getFullName
Returns the full name of the user- Returns:
-
setFullName
Sets the full name of the user- Parameters:
xFullName
-
-
getGender
Returns the full gender of the user- Returns:
-
setGender
- Parameters:
xGender
-
-
getAge
-
setAge
-
getAgeRange
-
setAgeRange
-
getCategory
-
setCategory
-
getStreet
-
setStreet
-
getCity
-
setCity
-
getState
-
setState
-
getPostcode
-
setPostcode
-
getCountry
-
setCountry
-
getCorp
-
setCorp
-
getNode
-
setNode
-
toJSON
-