XSegmentation Data Type

Segmentation is associated to a base cube and consists of two or more segments. All segments together make segmentation complete.

Java class for x_segmentation complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="x_segmentation">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="properties" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
         <element name="segements" type="{uri:lens:cube:0.1}x_segments" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="cube_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="weight" use="required">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}double">
             <minInclusive value="0"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 

Properties
name data type description
name string
properties XProperties
segements XSegments

Example

{
  "name" : "...",
  "properties" : {
    "property" : [ [ {
      "name" : "...",
      "value" : "..."
    }, {
      "name" : "...",
      "value" : "..."
    } ], [ {
      "name" : "...",
      "value" : "..."
    }, {
      "name" : "...",
      "value" : "..."
    } ] ]
  },
  "segements" : {
    "segment" : [ [ {
      "cube_name" : "...",
      "segment_parameters" : { }
    }, {
      "cube_name" : "...",
      "segment_parameters" : { }
    } ], [ {
      "cube_name" : "...",
      "segment_parameters" : { }
    }, {
      "cube_name" : "...",
      "segment_parameters" : { }
    } ] ]
  }
}