Class XMLConstants


  • public class XMLConstants
    extends Object
    Contains constants used for standard element/attribute names used in the XML Schema generation and entity XML export.
    Author:
    mtaal
    See Also:
    ModelXMLConverter, EntityXMLConverter
    • Field Detail

      • OB_ROOT_ELEMENT

        public static final String OB_ROOT_ELEMENT
        The root element in every Openbravo XML document
        See Also:
        Constant Field Values
      • ID_ATTRIBUTE

        public static final String ID_ATTRIBUTE
        The name of the attribute which holds the id of a object (in XML). Is used in the opening tag of a business object and in tags of association properties.
        See Also:
        Constant Field Values
      • IDENTIFIER_ATTRIBUTE

        public static final String IDENTIFIER_ATTRIBUTE
        The name of the attribute which holds the identifier of a object (in XML). Is used in the opening tag of a business object and in tags of association properties.
        See Also:
        Constant Field Values
      • TRANSIENT_ATTRIBUTE

        public static final String TRANSIENT_ATTRIBUTE
        Is set on the xml tag of a property when the property is transient. Transient properties are exported but are ignored when imported.
        See Also:
        Constant Field Values
      • INACTIVE_ATTRIBUTE

        public static final String INACTIVE_ATTRIBUTE
        The inactive attribute is used to signal that a certain business object is inactive. A business object tag without this attribute means that the business object is active.
        See Also:
        Constant Field Values
      • REFERENCE_ATTRIBUTE

        public static final String REFERENCE_ATTRIBUTE
        The reference attribute is used to signal that a certain business object is included in the XML because it was referenced from another Business Object.
        See Also:
        Constant Field Values
      • ENTITYNAME_ATTRIBUTE

        public static final String ENTITYNAME_ATTRIBUTE
        The entity-name attribute is used in the generation of the XML Schema.
        See Also:
        Constant Field Values
      • DEFAULT_VALUES_DATA

        public static final String DEFAULT_VALUES_DATA
        is dataset used for default values import
        See Also:
        Constant Field Values
    • Constructor Detail

      • XMLConstants

        public XMLConstants()