Class AuthenticateUserResult.ClientContextModel
java.lang.Object
com.highdeal.hci.AuthenticateUserResult.ClientContextModel
- All Implemented Interfaces:
XMLMarshallable
- Enclosing class:
AuthenticateUserResult
public static class AuthenticateUserResult.ClientContextModel
extends Object
implements XMLMarshallable
Represents a client context assigned to the authenticated user, with its number and description.
-
Constructor Summary
ConstructorsConstructorDescriptionBuilds an empty client context modelClientContextModel(Integer number, String description) Builds a client context model with a number and a description -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) 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 description of the client context.Gets the client number.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.voidsetDescription(String description) Sets the description of the client context.voidSets the client number.
-
Constructor Details
-
ClientContextModel
public ClientContextModel()Builds an empty client context model -
ClientContextModel
-
-
Method Details
-
getNumber
Gets the client number.- Returns:
- The client number, or
nullfor the system context
-
setNumber
Sets the client number.- Parameters:
number- The client number, ornullfor the system context
-
getDescription
Gets the description of the client context.- Returns:
- The description of the client context
-
setDescription
Sets the description of the client context.- Parameters:
description- The description of the client context
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
cData- 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
-