org.hackystat.sensorbase.resource.users.jaxb
Class User

java.lang.Object
  extended by org.hackystat.sensorbase.resource.users.jaxb.User
All Implemented Interfaces:
java.io.Serializable

public class User
extends java.lang.Object
implements java.io.Serializable

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{}Email"/>
         <element ref="{}Password"/>
         <element ref="{}Role" minOccurs="0"/>
         <element ref="{}Properties" minOccurs="0"/>
       </sequence>
       <attribute ref="{}LastMod"/>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.lang.String email
           
protected  javax.xml.datatype.XMLGregorianCalendar lastMod
           
protected  java.lang.String password
           
protected  Properties properties
           
protected  java.lang.String role
           
 
Constructor Summary
User()
           
 
Method Summary
 void addProperty(java.lang.String key, java.lang.String value)
          Adds a new property to this instance with the specified key and value.
 Property findProperty(java.lang.String key)
          Returns the first Property instance with the specified key, or null if not found.
 java.lang.String getEmail()
          Gets the value of the email property.
 javax.xml.datatype.XMLGregorianCalendar getLastMod()
          Gets the value of the lastMod property.
 java.lang.String getPassword()
          Gets the value of the password property.
 Properties getProperties()
          Gets the value of the properties property.
 java.lang.String getRole()
          Gets the value of the role property.
 boolean isSetEmail()
           
 boolean isSetLastMod()
           
 boolean isSetPassword()
           
 boolean isSetProperties()
           
 boolean isSetRole()
           
 void setEmail(java.lang.String value)
          Sets the value of the email property.
 void setLastMod(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the lastMod property.
 void setPassword(java.lang.String value)
          Sets the value of the password property.
 void setProperties(Properties value)
          Sets the value of the properties property.
 void setRole(java.lang.String value)
          Sets the value of the role property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

email

protected java.lang.String email

password

protected java.lang.String password

role

protected java.lang.String role

properties

protected Properties properties

lastMod

protected javax.xml.datatype.XMLGregorianCalendar lastMod
Constructor Detail

User

public User()
Method Detail

getEmail

public java.lang.String getEmail()
Gets the value of the email property.

Returns:
possible object is String

setEmail

public void setEmail(java.lang.String value)
Sets the value of the email property.

Parameters:
value - allowed object is String

isSetEmail

public boolean isSetEmail()

getPassword

public java.lang.String getPassword()
Gets the value of the password property.

Returns:
possible object is String

setPassword

public void setPassword(java.lang.String value)
Sets the value of the password property.

Parameters:
value - allowed object is String

isSetPassword

public boolean isSetPassword()

getRole

public java.lang.String getRole()
Gets the value of the role property.

Returns:
possible object is String

setRole

public void setRole(java.lang.String value)
Sets the value of the role property.

Parameters:
value - allowed object is String

isSetRole

public boolean isSetRole()

getProperties

public Properties getProperties()
Gets the value of the properties property.

Returns:
possible object is Properties

setProperties

public void setProperties(Properties value)
Sets the value of the properties property.

Parameters:
value - allowed object is Properties

isSetProperties

public boolean isSetProperties()

getLastMod

public javax.xml.datatype.XMLGregorianCalendar getLastMod()
Gets the value of the lastMod property.

Returns:
possible object is XMLGregorianCalendar

setLastMod

public void setLastMod(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the lastMod property.

Parameters:
value - allowed object is XMLGregorianCalendar

isSetLastMod

public boolean isSetLastMod()

findProperty

public Property findProperty(java.lang.String key)
Returns the first Property instance with the specified key, or null if not found.

Parameters:
key - The key for the property of interest.
Returns:
The Property instance for the key, or null if not found.

addProperty

public void addProperty(java.lang.String key,
                        java.lang.String value)
Adds a new property to this instance with the specified key and value.

Parameters:
key - The key for the new property.
value - The value for the new property.