Quantity

Quantity

 

Назначение

Класс Quantity хранит совокупность показателей, определяющих точные идентификационные характеристики металла: вес, длина, количество и.т.д. При этом каждый из показателей описывается в базовой единице учета.

Общая схема документа:

 

 1

 

 

Описание:

element quantity

 

diagram

12.002

type

QuantityType

properties

content

complex

children

Weight Length Amount

source

<xsd:element name="quantity" type="QuantityType"/>

Description

Вложенные теги Quantity могут иметь три типа Weight (вес), Length (длина), Amount (кол-во штук).

 

 

 

element Weight

diagram

 12.003

properties

content

complex

used by

complexType

QuantityType

attributes

Name 

Type 

Use 

Default 

Fixed 

annotation

Measure

MeasureValue

 

 

 

 

Reliability

ReliabilityValue

 

 

 

 

GrossNet

GrossNetValue

 

 

 

 

Unit

UnitValue

 

 

 

 

Value

xsd:decimal

 

 

 

 

source

<xsd:element name="Weight">
  <xsd:complexType>
    <xsd:attribute name="Measure" type="MeasureValue"/>
    <xsd:attribute name="Reliability" type="ReliabilityValue"/>
    <xsd:attribute name="GrossNet" type="GrossNetValue"/>
    <xsd:attribute name="Unit" type="UnitValue"/>
    <xsd:attribute name="Value" type="xsd:decimal"/>
  xsd:complexType>
xsd:element>

Description

Показатель веса

 

 

attribute Weight/@Measure

type

MeasureValue

properties

isRef

0

facets

Kind

Value

annotation

pattern

Primary

 

pattern

Second

 

source

<xsd:attribute name="Measure" type="MeasureValue"/>

Description

Свойство Measure  может принимать два значения Primary и Second. Свойство Primary рекомендует использовать значение свойства в бизнес-приложении в качестве учетного.

 

 

attribute Weight/@Reliability

type

ReliabilityValue

properties

isRef

0

facets

Kind

Value

annotation

pattern

Real

 

pattern

Documentary

 

pattern

Theoretical

 

source

<xsd:attribute name="Reliability" type="ReliabilityValue"/>

Description

Свойство Reliability (достоверность) может принимать три значения Real (фактический), Documentary (документальный), Theoretical (теоретический).

 

 

 

attribute Weight/@GrossNet

type

GrossNetValue

properties

isRef

0

facets

Kind

Value

annotation

pattern

Gross

 

pattern

Net

 

pattern

None

 

source

<xsd:attribute name="GrossNet" type="GrossNetValue"/>

Description

Свойство GrossNet Брутто/нетто может принимать три значения Gross (Брутто), Net (Нетто), None

 

 

attribute Weight/@Unit

type

UnitValue

properties

isRef

0

facets

Kind

Value

annotation

pattern

Tonn

 

pattern

Kilogram

 

pattern

Gram

 

pattern

Metre

 

pattern

Centimetre

 

pattern

Millimetre

 

pattern

Pieces

 

source

<xsd:attribute name="Unit" type="UnitValue"/>

Description

Свойство Unit описывает единицу измерения. Допустимые значения:

Tonn - тонны
Kilogram - килограммы
Gram - граммы
Metre - метры
Centimetre - сантиметры
Millimetre - миллиметры
Pieces - штуки

 

 

 

attribute Weight/@Value

type

xsd:decimal

properties

isRef

0

source

<xsd:attribute name="Value" type="xsd:decimal"/>

Description

Значение показателя

 

element Length

diagram

 12.004

properties

content

complex

used by

complexType

QuantityType

attributes

Name 

Type 

Use 

Default 

Fixed 

annotation

Measure

MeasureValue

 

 

 

 

Reliability

ReliabilityValue

 

 

 

 

GrossNet

GrossNetValue

 

 

 

 

Unit

UnitValue

 

 

 

 

Value

xsd:decimal

 

 

 

 

source

<xsd:element name="Length">
  <xsd:complexType>
    <xsd:attribute name="Measure" type="MeasureValue"/>
    <xsd:attribute name="Reliability" type="ReliabilityValue"/>
    <xsd:attribute name="GrossNet" type="GrossNetValue"/>
    <xsd:attribute name="Unit" type="UnitValue"/>
    <xsd:attribute name="Value" type="xsd:decimal"/>
  xsd:complexType>
xsd:element>

 

 

attribute Length/@Measure

type

MeasureValue

properties

isRef

0

facets

Kind

Value

annotation

pattern

Primary

 

pattern

Second

 

source

<xsd:attribute name="Measure" type="MeasureValue"/>

 

 

attribute Length/@Reliability

type

ReliabilityValue

properties

isRef

0

facets

Kind

Value

annotation

pattern

Real

 

pattern

Documentary

 

pattern

Theoretical

 

source

<xsd:attribute name="Reliability" type="ReliabilityValue"/>

 

 

attribute Length/@GrossNet

type

GrossNetValue

properties

isRef

0

facets

Kind

Value

annotation

pattern

Gross

 

pattern

Net

 

pattern

None

 

source

<xsd:attribute name="GrossNet" type="GrossNetValue"/>

 

 

attribute Length/@Unit

type

UnitValue

properties

isRef

0

facets

Kind

Value

annotation

pattern

Tonn

 

pattern

Kilogram

 

pattern

Gram

 

pattern

Metre

 

pattern

Centimetre

 

pattern

Millimetre

 

pattern

Pieces

 

source

<xsd:attribute name="Unit" type="UnitValue"/>

 

 

attribute Length/@Value

type

xsd:decimal

properties

isRef

0

source

<xsd:attribute name="Value" type="xsd:decimal"/>

 

element Amount

diagram

 12.005

properties

content

complex

used by

complexType

QuantityType

attributes

Name 

Type 

Use 

Default 

Fixed 

annotation

Measure

MeasureValue

 

 

 

 

Reliability

ReliabilityValue

 

 

 

 

GrossNet

GrossNetValue

 

 

 

 

Unit

UnitValue

 

 

 

 

Value

xsd:decimal

 

 

 

 

source

<xsd:element name="Amount">
  <xsd:complexType>
    <xsd:attribute name="Measure" type="MeasureValue"/>
    <xsd:attribute name="Reliability" type="ReliabilityValue"/>
    <xsd:attribute name="GrossNet" type="GrossNetValue"/>
    <xsd:attribute name="Unit" type="UnitValue"/>
    <xsd:attribute name="Value" type="xsd:decimal"/>
  xsd:complexType>
xsd:element>

 

 

attribute Amount/@Measure

type

MeasureValue

properties

isRef

0

facets

Kind

Value

annotation

pattern

Primary

 

pattern

Second

 

source

<xsd:attribute name="Measure" type="MeasureValue"/>

 

 

attribute Amount/@Reliability

type

ReliabilityValue

properties

isRef

0

facets

Kind

Value

annotation

pattern

Real

 

pattern

Documentary

 

pattern

Theoretical

 

source

<xsd:attribute name="Reliability" type="ReliabilityValue"/>

 

 

attribute Amount/@GrossNet

type

GrossNetValue

properties

isRef

0

facets

Kind

Value

annotation

pattern

Gross

 

pattern

Net

 

pattern

None

 

source

<xsd:attribute name="GrossNet" type="GrossNetValue"/>

 

 

attribute Amount/@Unit

type

UnitValue

properties

isRef

0

facets

Kind

Value

annotation

pattern

Tonn

 

pattern

Kilogram

 

pattern

Gram

 

pattern

Metre

 

pattern

Centimetre

 

pattern

Millimetre

 

pattern

Pieces

 

source

<xsd:attribute name="Unit" type="UnitValue"/>

 

 

attribute Amount/@Value

type

xsd:decimal

properties

isRef

0

source

<xsd:attribute name="Value" type="xsd:decimal"/>

 


print

  Комментарии