Package org.openbravo.dal.xml
Class XMLConstants
- java.lang.Object
-
- org.openbravo.dal.xml.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 Summary
Fields Modifier and Type Field Description static String
DEFAULT_VALUES_DATA
is dataset used for default values importstatic String
ENTITYNAME_ATTRIBUTE
The entity-name attribute is used in the generation of the XML Schema.static String
ID_ATTRIBUTE
The name of the attribute which holds the id of a object (in XML).static String
IDENTIFIER_ATTRIBUTE
The name of the attribute which holds the identifier of a object (in XML).static String
INACTIVE_ATTRIBUTE
The inactive attribute is used to signal that a certain business object is inactive.static String
OB_ROOT_ELEMENT
The root element in every Openbravo XML documentstatic String
OPENBRAVO_NAMESPACE
Openbravo namespacestatic 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.static String
TRANSIENT_ATTRIBUTE
Is set on the xml tag of a property when the property is transient.static String
XSI_NAMESPACE
XSI namespace
-
Constructor Summary
Constructors Constructor Description XMLConstants()
-
-
-
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
-
OPENBRAVO_NAMESPACE
public static final String OPENBRAVO_NAMESPACE
Openbravo namespace- See Also:
- Constant Field Values
-
XSI_NAMESPACE
public static final String XSI_NAMESPACE
XSI namespace- 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
-
-