Package com.highdeal.admin.hci
Class SearchUserSessionResult.UserSessionModel
java.lang.Object
com.highdeal.admin.hci.SearchUserSessionResult.UserSessionModel
- All Implemented Interfaces:
XMLMarshallable
- Enclosing class:
- SearchUserSessionResult
public static class SearchUserSessionResult.UserSessionModel
extends Object
implements XMLMarshallable
This
Java class represents a user session.
A user session contains the following information:
sessionId: the identifier of the user sessionuserLogin: the logon of theSAP CC userassociated to this user sessiontoolName: the name of the tool associated to this user sessioncreationDate: the creation date of the user sessionlastActivityDate: the date of the last activity on the user session
XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="userSession">
<xs:complexType>
<xs:attribute name="sessionId" type="xs:string" />
<xs:attribute name="userLogin" type="xs:string" />
<xs:attribute name="toolName" type="xs:string" />
<xs:attribute name="creationDate" type="xs:dateTime" />
<xs:attribute name="lastActivityDate" type="xs:dateTime" />
</xs:complexType>
</xs:element>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String data) Adds character data to the content element.voidaddChild(String tagName, XMLMarshallable child) Adds a child to the object, thechildrepresenting the marshallable object which must be added to the element.Gets the creation date of the user session.Gets the date of the last activity on the user session.Gets the identifier of the user session.Gets the name of the user interface associated to the user session.Gets the logon of the SAP CC user associated to the user session.voidmarshal(XMLOutputter output) Gives an XML representation of this object, including its children.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.voidsetCreationDate(Date creationDate) Sets the creation date of the user session.voidsetLastActivityDate(Date lastActivity) Sets the date of the last activity on the user session.voidsetSessionId(String sessionId) Sets the identifier of the user session.voidsetToolName(String toolName) Sets the name of the tool associated to the user session.voidsetUserLogin(String userLogin) Sets the logon of the SAP CC user associated to the user session.
-
Field Details
-
TAG_NAME
The XML tag name of this data model:TAG_NAME- See Also:
-
-
Constructor Details
-
UserSessionModel
public UserSessionModel()Builds an empty UserSessionModel.
-
-
Method Details
-
getSessionId
Gets the identifier of the user session.- Returns:
- The identifier of the user session
-
setSessionId
Sets the identifier of the user session.- Parameters:
sessionId- The identifier of the user session
-
getUserLogin
Gets the logon of the SAP CC user associated to the user session.- Returns:
- The logon of the user associated to the user session
-
setUserLogin
Sets the logon of the SAP CC user associated to the user session.- Parameters:
userLogin- The logon of the user associated to the user session
-
getToolName
Gets the name of the user interface associated to the user session.- Returns:
- The name of the tool associated to the user session
-
setToolName
Sets the name of the tool associated to the user session.- Parameters:
toolName- The name of the tool associated to the user session
-
getCreationDate
Gets the creation date of the user session.- Returns:
- The creation date of the user session
-
setCreationDate
Sets the creation date of the user session.- Parameters:
creationDate- The creation date of the user session
-
getLastActivityDate
Gets the date of the last activity on the user session.- Returns:
- The date of the last activity on the user session
-
setLastActivityDate
Sets the date of the last activity on the user session.- Parameters:
lastActivity- The date of the last activity on the user session
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
data- The character data to be added
-
addChild
Description copied from interface:XMLMarshallableAdds a child to the object, thechildrepresenting the marshallable object which must be added to the element.- Specified by:
addChildin interfaceXMLMarshallable- Parameters:
tagName- The name of tag for the childchild- The child to be added
-
marshal
Description copied from interface:XMLMarshallableGives an XML representation of this object, including its children.- Specified by:
marshalin interfaceXMLMarshallable- Parameters:
output- TheXML outputto marshal the object into
-
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Specified by:
setAttributesin interfaceXMLMarshallable- Parameters:
atts- TheXML attributesof the current element
-