Class UserRightAssignmentModel

java.lang.Object
com.highdeal.hci.UserRightAssignmentModel
All Implemented Interfaces:
IXMLMarshallable, XMLMarshallable

public class UserRightAssignmentModel extends Object implements IXMLMarshallable
Represents a single user-to-client (or system) assignment within a UserModel. Each assignment carries a client number, catalog name, and a set of permissions (roles).

Implements IXMLMarshallable for proper XML parsing and marshalling of <assignment> elements within the <user> element.

XML API for HCI

The XML APIs specify the following XSD fragment:

XSD Fragment

<xs:element name="assignment">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="permission" minOccurs="0" maxOccurs="unbounded">
        <xs:complexType>
          <xs:attribute name="value" type="xs:string"/>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="clientNumber" type="xs:integer"/>
    <xs:attribute name="catalogName" type="xs:string"/>
  </xs:complexType>
</xs:element>

  • Field Details

    • TAG_NAME

      public static final String TAG_NAME
      The XML tag name of this data model: "assignment"
      See Also:
    • PERMISSION_TAG_NAME

      public static final String PERMISSION_TAG_NAME
      The XML tag name for a permission child element: "permission"
      See Also:
  • Constructor Details

    • UserRightAssignmentModel

      public UserRightAssignmentModel()
    • UserRightAssignmentModel

      public UserRightAssignmentModel(Integer clientNumber, String catalogName)
  • Method Details