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 Details

    • ClientContextModel

      public ClientContextModel()
      Builds an empty client context model
    • ClientContextModel

      public ClientContextModel(Integer number, String description)
      Builds a client context model with a number and a description
      Parameters:
      number - The client number, or null for the system context
      description - The description of the client context
  • Method Details

    • getNumber

      public Integer getNumber()
      Gets the client number.
      Returns:
      The client number, or null for the system context
    • setNumber

      public void setNumber(Integer number)
      Sets the client number.
      Parameters:
      number - The client number, or null for the system context
    • getDescription

      public String getDescription()
      Gets the description of the client context.
      Returns:
      The description of the client context
    • setDescription

      public void setDescription(String description)
      Sets the description of the client context.
      Parameters:
      description - The description of the client context
    • addCharacterData

      public void addCharacterData(String cData)
      Description copied from interface: XMLMarshallable
      Adds character data to the content element.
      Specified by:
      addCharacterData in interface XMLMarshallable
      Parameters:
      cData - The character data to be added
    • addChild

      public void addChild(String tagName, XMLMarshallable child)
      Description copied from interface: XMLMarshallable
      Adds a child to the object, the child representing the marshallable object which must be added to the element.
      Specified by:
      addChild in interface XMLMarshallable
      Parameters:
      tagName - The name of tag for the child
      child - The child to be added
    • marshal

      public void marshal(XMLOutputter output)
      Description copied from interface: XMLMarshallable
      Gives an XML representation of this object, including its children.
      Specified by:
      marshal in interface XMLMarshallable
      Parameters:
      output - The XML output to marshal the object into
    • setAttributes

      public void setAttributes(XMLAttributes atts)
      Description copied from interface: XMLMarshallable
      Sets the attributes of the XML representation of the element being processed.
      Specified by:
      setAttributes in interface XMLMarshallable
      Parameters:
      atts - The XML attributes of the current element