|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.model.internal.application.user.impl.User
@Entity(name="User") public class User
Java class for User complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="User"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="modelObjectId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="modelObjectVersion" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="country" type="{http://data.application.internal.model.cia.hack23.com/impl}AggregatedCountryData" minOccurs="0"/> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="userId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="password" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="numberOfVisits" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="address" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="type" type="{http://user.application.internal.model.cia.hack23.com/impl}UserType" minOccurs="0"/> <element name="role" type="{http://user.application.internal.model.cia.hack23.com/impl}UserRole" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected List<String> |
address
|
protected List<UserAddressItem> |
addressItems
|
protected AggregatedCountryData |
country
|
protected String |
email
|
protected Long |
hjid
|
protected Integer |
modelObjectId
|
protected Integer |
modelObjectVersion
|
protected String |
name
|
protected Integer |
numberOfVisits
|
protected String |
password
|
protected UserRole |
role
|
protected UserType |
type
|
protected String |
userId
|
Constructor Summary | |
---|---|
User()
|
Method Summary | |
---|---|
boolean |
equals(Object object)
|
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
|
List<String> |
getAddress()
Gets the value of the address property. |
List<UserAddressItem> |
getAddressItems()
|
AggregatedCountryData |
getCountry()
Gets the value of the country property. |
String |
getEmail()
Gets the value of the email property. |
Long |
getHjid()
Gets the value of the hjid property. |
Integer |
getModelObjectId()
Gets the value of the modelObjectId property. |
Integer |
getModelObjectVersion()
Gets the value of the modelObjectVersion property. |
String |
getName()
Gets the value of the name property. |
Integer |
getNumberOfVisits()
Gets the value of the numberOfVisits property. |
String |
getPassword()
Gets the value of the password property. |
UserRole |
getRole()
Gets the value of the role property. |
UserType |
getType()
Gets the value of the type property. |
String |
getUserId()
Gets the value of the userId property. |
int |
hashCode()
|
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
|
void |
setAddress(List<String> address)
|
void |
setAddressItems(List<UserAddressItem> value)
|
void |
setCountry(AggregatedCountryData value)
Sets the value of the country property. |
void |
setEmail(String value)
Sets the value of the email property. |
void |
setHjid(Long value)
Sets the value of the hjid property. |
void |
setModelObjectId(Integer value)
Sets the value of the modelObjectId property. |
void |
setModelObjectVersion(Integer value)
Sets the value of the modelObjectVersion property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setNumberOfVisits(Integer value)
Sets the value of the numberOfVisits property. |
void |
setPassword(String value)
Sets the value of the password property. |
void |
setRole(UserRole value)
Sets the value of the role property. |
void |
setType(UserType value)
Sets the value of the type property. |
void |
setUserId(String value)
Sets the value of the userId property. |
User |
withAddress(Collection<String> values)
|
User |
withAddress(List<String> address)
|
User |
withAddress(String... values)
|
User |
withCountry(AggregatedCountryData value)
|
User |
withEmail(String value)
|
User |
withModelObjectId(Integer value)
|
User |
withModelObjectVersion(Integer value)
|
User |
withName(String value)
|
User |
withNumberOfVisits(Integer value)
|
User |
withPassword(String value)
|
User |
withRole(UserRole value)
|
User |
withType(UserType value)
|
User |
withUserId(String value)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Integer modelObjectId
protected Integer modelObjectVersion
protected AggregatedCountryData country
protected String name
protected String email
protected String userId
protected String password
protected Integer numberOfVisits
protected List<String> address
protected UserType type
protected UserRole role
protected Long hjid
protected transient List<UserAddressItem> addressItems
Constructor Detail |
---|
public User()
Method Detail |
---|
public Integer getModelObjectId()
Integer
public void setModelObjectId(Integer value)
value
- allowed object is
Integer
public Integer getModelObjectVersion()
Integer
public void setModelObjectVersion(Integer value)
value
- allowed object is
Integer
public AggregatedCountryData getCountry()
AggregatedCountryData
public void setCountry(AggregatedCountryData value)
value
- allowed object is
AggregatedCountryData
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public String getEmail()
String
public void setEmail(String value)
value
- allowed object is
String
public String getUserId()
String
public void setUserId(String value)
value
- allowed object is
String
public String getPassword()
String
public void setPassword(String value)
value
- allowed object is
String
public Integer getNumberOfVisits()
Integer
public void setNumberOfVisits(Integer value)
value
- allowed object is
Integer
public List<String> getAddress()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the address property.
For example, to add a new item, do as follows:
getAddress().add(newItem);
Objects of the following type(s) are allowed in the list
String
public void setAddress(List<String> address)
public UserType getType()
UserType
public void setType(UserType value)
value
- allowed object is
UserType
public UserRole getRole()
UserRole
public void setRole(UserRole value)
value
- allowed object is
UserRole
public User withModelObjectId(Integer value)
public User withModelObjectVersion(Integer value)
public User withCountry(AggregatedCountryData value)
public User withName(String value)
public User withEmail(String value)
public User withUserId(String value)
public User withPassword(String value)
public User withNumberOfVisits(Integer value)
public User withAddress(String... values)
public User withAddress(Collection<String> values)
public User withAddress(List<String> address)
public User withType(UserType value)
public User withRole(UserRole value)
public Long getHjid()
Long
public void setHjid(Long value)
value
- allowed object is
Long
public List<UserAddressItem> getAddressItems()
public void setAddressItems(List<UserAddressItem> value)
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public boolean equals(Object object)
equals
in class Object
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |