Class AdditionalInfoModel

java.lang.Object
com.highdeal.pnr.hci.AdditionalInfo
com.highdeal.pnr.hci.AdditionalInfoModel
All Implemented Interfaces:
IXMLMarshallable, XMLMarshallable

public class AdditionalInfoModel extends AdditionalInfo implements IXMLMarshallable
This Java class represents an additional information that you can marshal; You use this typical object to customize information in your data. The AdditionalInfoModel is composed of:
  • A name which identifies an unique additional information inside the data object.
  • A description allowing a better understanding about the presence of this additional information inside the data object.
  • A value (string, date, or number)

Note

You can add additional information to many data objects managed by SAP CC. For example, you can add such elements to the subscriptions in customer master data owned by a service provider.

XML API for HCI

The XML APIs specify the following XSD fragment:

XSD Fragment

<xs:element name="additionalInformation">
  <xs:complexType>
    <xs:attribute name="name" type="xs:string" use="required"/>
    <xs:attribute name="type" type="TypeTypeAI" default="string"/>
    <xs:attribute name="value" type="xs:string" use="required"/>
  </xs:complexType>
</xs:element>

 <xs:simpleType name="TypeTypeAI">
   <xs:restriction base="xs:string">
     <xs:enumeration value="string"/>
     <xs:enumeration value="number"/>
     <xs:enumeration value="date"/>
  </xs:restriction>
</xs:simpleType>

  • Field Details

    • MODEL_NAME

      public static final String MODEL_NAME
      The XML tag name of this data model: "additionalInformation"
      See Also:
  • Constructor Details

    • AdditionalInfoModel

      public AdditionalInfoModel()
      Builds an empty additional information.
    • AdditionalInfoModel

      public AdditionalInfoModel(String name, int type, Object value)
      Builds an additional information.
      Parameters:
      name - The name of the additional information
      type - The type of the additional information
      value - The value of the additional information
  • Method Details