BOEnumValues

Label/description:
  • Valeurs de l'enum: Permet de gérer une liste d'énumération (liste, map, ...)

Structure de l'objet métier [BOEnumValues]

BOEnumValues
 - boEnumItem [BOEnumItem] (*)
   - labelM [BOStringM] (* Map)
   - descriptionM [BOStringM] (* Map)
   - extension [BOExtension] (*)
 - boGroupBy [BOEnumValuesGroup] (*)
   - labelM [BOStringM] (* Map)
   - descriptionM [BOStringM] (* Map)

Tableau des propriétés [BOEnumValues]

PropertyTypeCardinalityDefault

value
VisibleReadOnlyPersistentMin / MaxFormat / Unit
boEnumItem

Enum item

Enum item

BusinessObject BOEnumItem n [list]-truefalsetrue-

-
-

boGroupBy

Group by

Group by

BusinessObject BOEnumValuesGroup n [list]-truefalsetrue-

-
-

Liste des propriétés [BOEnumValues]

boEnumItem - Enum item [BusinessObject ]

Label/description:

  • Enum item: Item utilisé dans l'énumération
Propriétés
  • Type: BusinessObject BOEnumItem
  • Attribute XML: false
  • Optionnel: true
  • Index: 1
  • Read only: false
  • Persistent: true
  • Cardinality: N (multi)

boGroupBy - Group by [BusinessObject ]

Label/description:

  • Group by: Groupé par (utilise l'id d'une autre propriété de type enum boName.propertyName.enumName)
  • Group by: Group by
Propriétés
  • Type: BusinessObject BOEnumValuesGroup
  • Attribute XML: false
  • Optionnel: true
  • Index: 6
  • Read only: false
  • Persistent: true
  • Cardinality: N (multi)

Document XML [BOEnumValues]

<?xml version="1.0" encoding="ISO-8859-1"?>
<BOEnumValues>
  <!--boEnumItem (*)-->
  <boEnumItem name="" valueStr="" valueInt="" index="">
    <!--labelM (*) -->
    <labelM name="">
      <en/>
      <fr/>
      <es/>
      <de/>
    </labelM>
    <!--descriptionM (*) -->
    <descriptionM name="">
      <en/>
      <fr/>
      <es/>
      <de/>
    </descriptionM>
    <!--icon (*) -->
    <icon name=""/>
    <!--extension (*)-->
    <extension name="" valueInt="">
      <valueStr/>
    </extension>
    <!--parameter (*) -->
    <parameter name=""/>
  </boEnumItem>
  <!--boGroupBy (*)-->
  <boGroupBy name="" parentGroup="" propertyId="">
    <!--values (*) -->
    <values name=""/>
    <!--labelM (*) -->
    <labelM name="">
      <en/>
      <fr/>
      <es/>
      <de/>
    </labelM>
    <!--descriptionM (*) -->
    <descriptionM name="">
      <en/>
      <fr/>
      <es/>
      <de/>
    </descriptionM>
  </boGroupBy>
</BOEnumValues>

Schema XML [BOEnumValues]

BOEnumValues.xs

<?xml version="1.0" encoding="ISO-8859-1"?>
<shema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <element name="BOStringM">
    <complexType>
      <sequence>
        <attribute name="name" type="xs:string"/>
        <element name="en" type="xs:string" minOccurs="0"/>
        <element name="fr" type="xs:string" minOccurs="0"/>
        <element name="es" type="xs:string" minOccurs="0"/>
        <element name="de" type="xs:string" minOccurs="0"/>
      </sequence>
    </complexType>
  </element>
  <element name="BOExtension">
    <complexType>
      <sequence>
        <attribute name="name" type="xs:string" use="optional"/>
        <element name="valueStr" type="xs:string" minOccurs="0"/>
        <attribute name="valueInt" type="xs:java.lang.Integer" use="optional"/>
      </sequence>
    </complexType>
  </element>
  <element name="BOEnumItem">
    <complexType>
      <sequence>
        <attribute name="name" type="xs:string" use="optional"/>
        <attribute name="valueStr" type="xs:string" use="optional"/>
        <attribute name="valueInt" type="xs:java.lang.Integer" use="optional"/>
        <element name="labelM" type="BOStringM" minOccurs="0" 
            maxOccurs="unbounded">
          <attribute name="name" type="xs:string"/>
        </element>
        <element name="descriptionM" type="BOStringM" minOccurs="0" 
            maxOccurs="unbounded">
          <attribute name="name" type="xs:string"/>
        </element>
        <attribute name="index" type="xs:int" use="optional"/>
        <element name="icon" type="xs:string" minOccurs="0" 
            maxOccurs="unbounded">
          <attribute name="name" type="xs:string"/>
        </element>
        <element name="extension" type="BOExtension" minOccurs="0" 
            maxOccurs="unbounded"/>
        <element name="parameter" type="xs:string" minOccurs="0" 
            maxOccurs="unbounded">
          <attribute name="name" type="xs:string"/>
        </element>
      </sequence>
    </complexType>
  </element>
  <element name="BOEnumValuesGroup">
    <complexType>
      <sequence>
        <attribute name="name" type="xs:string" use="optional"/>
        <attribute name="parentGroup" type="xs:string" use="optional"/>
        <attribute name="propertyId" type="xs:string" use="optional"/>
        <element name="values" type="xs:string" minOccurs="0" 
            maxOccurs="unbounded">
          <attribute name="name" type="xs:string"/>
        </element>
        <element name="labelM" type="BOStringM" minOccurs="0" 
            maxOccurs="unbounded">
          <attribute name="name" type="xs:string"/>
        </element>
        <element name="descriptionM" type="BOStringM" minOccurs="0" 
            maxOccurs="unbounded">
          <attribute name="name" type="xs:string"/>
        </element>
      </sequence>
    </complexType>
  </element>
  <element name="BOEnumValues">
    <complexType>
      <sequence>
        <element name="boEnumItem" type="BOEnumItem" minOccurs="0" 
            maxOccurs="unbounded"/>
        <element name="boGroupBy" type="BOEnumValuesGroup" minOccurs="0" 
            maxOccurs="unbounded"/>
      </sequence>
    </complexType>
  </element>
</shema>

DTD [BOEnumValues]

BOEnumValues.dtd

<!DOCTYPE BOEnumValues[
<!ELEMENT BOEnumValues (boEnumItem*,boGroupBy*)>

<!ELEMENT boEnumItem (labelM*,descriptionM*,icon*,extension*,parameter*)>
<!ATTLIST boEnumItem name CDATA #IMPLIED>
<!ATTLIST boEnumItem valueStr CDATA #IMPLIED>
<!ATTLIST boEnumItem valueInt CDATA #IMPLIED>
<!ATTLIST boEnumItem index CDATA #IMPLIED>

<!ELEMENT labelM (en?,fr?,es?,de?)>
<!ATTLIST labelM name CDATA #REQUIRED>
<!ELEMENT en (#PCDATA)>

<!ELEMENT fr (#PCDATA)>

<!ELEMENT es (#PCDATA)>

<!ELEMENT de (#PCDATA)>

<!ELEMENT descriptionM (en?,fr?,es?,de?)>
<!ATTLIST descriptionM name CDATA #REQUIRED>
<!ELEMENT icon (#PCDATA)>
<!ATTLIST icon name CDATA #REQUIRED>
<!ELEMENT extension (valueStr?)>
<!ATTLIST extension name CDATA #IMPLIED>
<!ATTLIST extension valueInt CDATA #IMPLIED>

<!ELEMENT valueStr (#PCDATA)>

<!ELEMENT parameter (#PCDATA)>
<!ATTLIST parameter name CDATA #REQUIRED>
<!ELEMENT boGroupBy (values*,labelM*,descriptionM*)>
<!ATTLIST boGroupBy name CDATA #IMPLIED>
<!ATTLIST boGroupBy parentGroup CDATA #IMPLIED>
<!ATTLIST boGroupBy propertyId CDATA #IMPLIED>

<!ELEMENT values (#PCDATA)>
<!ATTLIST values name CDATA #REQUIRED>
]>