com.hack23.cia.model.internal.application.system.impl
Class ApplicationSession

Package class diagram package ApplicationSession
java.lang.Object
  extended by com.hack23.cia.model.internal.application.system.impl.ApplicationSession
All Implemented Interfaces:
ModelObject, Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

@Entity(name="ApplicationSession")
public class ApplicationSession
extends Object
implements Serializable, ModelObject, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

Java class for ApplicationSession complex type.

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

 <complexType name="ApplicationSession">
   <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="createdDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="ipInformation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="userAgentInformation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="type" type="{http://system.application.internal.model.cia.hack23.com/impl}ApplicationSessionType" minOccurs="0"/>
         <element name="events" type="{http://system.application.internal.model.cia.hack23.com/impl}ApplicationActionEvent" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  Date createdDate
           
protected  List<ApplicationActionEvent> events
           
protected  Long hjid
           
protected  String ipInformation
           
protected  Integer modelObjectId
           
protected  Integer modelObjectVersion
           
protected  ApplicationSessionType type
           
protected  String userAgentInformation
           
 
Constructor Summary
ApplicationSession()
           
 
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)
           
 Date getCreatedDate()
          Gets the value of the createdDate property.
 List<ApplicationActionEvent> getEvents()
          Gets the value of the events property.
 Long getHjid()
          Gets the value of the hjid property.
 String getIpInformation()
          Gets the value of the ipInformation property.
 Integer getModelObjectId()
          Gets the value of the modelObjectId property.
 Integer getModelObjectVersion()
          Gets the value of the modelObjectVersion property.
 ApplicationSessionType getType()
          Gets the value of the type property.
 String getUserAgentInformation()
          Gets the value of the userAgentInformation property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setCreatedDate(Date value)
          Sets the value of the createdDate property.
 void setEvents(List<ApplicationActionEvent> events)
           
 void setHjid(Long value)
          Sets the value of the hjid property.
 void setIpInformation(String value)
          Sets the value of the ipInformation property.
 void setModelObjectId(Integer value)
          Sets the value of the modelObjectId property.
 void setModelObjectVersion(Integer value)
          Sets the value of the modelObjectVersion property.
 void setType(ApplicationSessionType value)
          Sets the value of the type property.
 void setUserAgentInformation(String value)
          Sets the value of the userAgentInformation property.
 ApplicationSession withCreatedDate(Date value)
           
 ApplicationSession withEvents(ApplicationActionEvent... values)
           
 ApplicationSession withEvents(Collection<ApplicationActionEvent> values)
           
 ApplicationSession withEvents(List<ApplicationActionEvent> events)
           
 ApplicationSession withIpInformation(String value)
           
 ApplicationSession withModelObjectId(Integer value)
           
 ApplicationSession withModelObjectVersion(Integer value)
           
 ApplicationSession withType(ApplicationSessionType value)
           
 ApplicationSession withUserAgentInformation(String value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modelObjectId

protected Integer modelObjectId

modelObjectVersion

protected Integer modelObjectVersion

createdDate

protected Date createdDate

ipInformation

protected String ipInformation

userAgentInformation

protected String userAgentInformation

type

protected ApplicationSessionType type

events

protected List<ApplicationActionEvent> events

hjid

protected Long hjid
Constructor Detail

ApplicationSession

public ApplicationSession()
Method Detail

getModelObjectId

public Integer getModelObjectId()
Gets the value of the modelObjectId property.

Returns:
possible object is Integer

setModelObjectId

public void setModelObjectId(Integer value)
Sets the value of the modelObjectId property.

Parameters:
value - allowed object is Integer

getModelObjectVersion

public Integer getModelObjectVersion()
Gets the value of the modelObjectVersion property.

Returns:
possible object is Integer

setModelObjectVersion

public void setModelObjectVersion(Integer value)
Sets the value of the modelObjectVersion property.

Parameters:
value - allowed object is Integer

getCreatedDate

public Date getCreatedDate()
Gets the value of the createdDate property.

Returns:
possible object is String

setCreatedDate

public void setCreatedDate(Date value)
Sets the value of the createdDate property.

Parameters:
value - allowed object is String

getIpInformation

public String getIpInformation()
Gets the value of the ipInformation property.

Returns:
possible object is String

setIpInformation

public void setIpInformation(String value)
Sets the value of the ipInformation property.

Parameters:
value - allowed object is String

getUserAgentInformation

public String getUserAgentInformation()
Gets the value of the userAgentInformation property.

Returns:
possible object is String

setUserAgentInformation

public void setUserAgentInformation(String value)
Sets the value of the userAgentInformation property.

Parameters:
value - allowed object is String

getType

public ApplicationSessionType getType()
Gets the value of the type property.

Returns:
possible object is ApplicationSessionType

setType

public void setType(ApplicationSessionType value)
Sets the value of the type property.

Parameters:
value - allowed object is ApplicationSessionType

getEvents

public List<ApplicationActionEvent> getEvents()
Gets the value of the events property.

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 events property.

For example, to add a new item, do as follows:

    getEvents().add(newItem);
 

Objects of the following type(s) are allowed in the list ApplicationActionEvent


setEvents

public void setEvents(List<ApplicationActionEvent> events)

withModelObjectId

public ApplicationSession withModelObjectId(Integer value)

withModelObjectVersion

public ApplicationSession withModelObjectVersion(Integer value)

withCreatedDate

public ApplicationSession withCreatedDate(Date value)

withIpInformation

public ApplicationSession withIpInformation(String value)

withUserAgentInformation

public ApplicationSession withUserAgentInformation(String value)

withType

public ApplicationSession withType(ApplicationSessionType value)

withEvents

public ApplicationSession withEvents(ApplicationActionEvent... values)

withEvents

public ApplicationSession withEvents(Collection<ApplicationActionEvent> values)

withEvents

public ApplicationSession withEvents(List<ApplicationActionEvent> events)

getHjid

public Long getHjid()
Gets the value of the hjid property.

Returns:
possible object is Long

setHjid

public void setHjid(Long value)
Sets the value of the hjid property.

Parameters:
value - allowed object is Long

equals

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)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2008-2011 www.hack23.com. All Rights Reserved.