IVOA Quantity Data Model.

Table of Contents

1.     model: Quantity
2.     Packages and Types
2.1     [root package]
2.1.1     dataType:AtomicValue
2.1.2     dataType:BooleanValue
2.1.3     dataType:IntegerQuantity
2.1.4     dataType:Quantity
2.1.5     dataType:RealQuantity
2.1.6     dataType:StringValue
2.1.7     primitiveType:Unit
2.1.8     dataType:simple_Quantity
3.     UTYPE-s
4.     Path Expressions-s
5.     Imported Models
5.1     IVOA_Profile

1. Model: IVOA Quantity Data Model. (Quantity)

Authors : Gerard Lemso , UTYPEs tiger team
Date : 2013-04-26T13:43:50
Version : 0.x
Abstract : This is a sample data model. It contains the IVOA UML Profile and imports the IVOA_Profile data model with primitive types. It has some sample relationships etc to be used in documentation etc.
Diagram : The following diagram has been generated from the model using the GraphViz tool.
The classes and packages in the diagram can be clicked and are mapped to the descriptions of the corresponding element elsewhere in the document.

2.Model contents: Packages and Types

The following sub-sections present all packages in the model with their types. The packages are listed here in alphabetical order. Each sub-section contains a description of the package and a table containing its various features.

2.1 [root package]

Model qty
Data types AtomicValue BooleanValue IntegerQuantity Quantity RealQuantity StringValue simple_Quantity
Primitive types Unit

2.1.1 dataType: AtomicValue

utype qty:AtomicValue
description TODO : Missing description : please, update your UML model asap.
Subclasses in this model BooleanValue Quantity StringValue
attributes
name feature value
ucd type string
From imported model IVOA Profile
<<skosconcept>> Broadest SKOS concept:

Vocabulary URI:
http://www.ivoa.net/rdf/Vocabularies/vocabularies-20091007/UCD/UCD.rdf
utype(s) qty:AtomicValue.ucd
cardinality 0..1
description This attribute should hold on to a valid UCD. For that purpose the attribute isa skosconcept, but a proper SKOS vocabulary for UCDs would be required to formalize this further.

2.1.2 dataType: BooleanValue

utype qty:BooleanValue
description TODO : Missing description : please, update your UML model asap.
extends AtomicValue
attributes
name feature value
value type boolean
From imported model IVOA Profile
utype(s) qty:BooleanValue.value
cardinality 1
description TODO : Missing description : please, update your UML model asap.

2.1.3 dataType: IntegerQuantity

utype qty:IntegerQuantity
description TODO : Missing description : please, update your UML model asap.
extends Quantity
attributes
name feature value
value type integer
From imported model IVOA Profile
utype(s) qty:IntegerQuantity.value
cardinality 1
description TODO : Missing description : please, update your UML model asap.

2.1.4 dataType: Quantity

utype qty:Quantity
description Meant to represent the value of a numerical physical quantity. May be integer, what units can apply there?
extends AtomicValue
Subclasses in this model IntegerQuantity RealQuantity
attributes
name feature value
unit type Unit
utype(s) qty:Quantity.unit
cardinality 0..1
description TODO : Missing description : please, update your UML model asap.

2.1.5 dataType: RealQuantity

utype qty:RealQuantity
description TODO : Missing description : please, update your UML model asap.
extends Quantity
attributes
name feature value
value type real
From imported model IVOA Profile
utype(s) qty:RealQuantity.value
cardinality 1
description TODO : Missing description : please, update your UML model asap.

2.1.6 dataType: StringValue

utype qty:StringValue
description TODO : Missing description : please, update your UML model asap.
extends AtomicValue
attributes
name feature value
value type string
From imported model IVOA Profile
utype(s) qty:StringValue.value
cardinality 1
description TODO : Missing description : please, update your UML model asap.

2.1.7 primitiveType: Unit

utype qty:Unit
description Must conform to definition of unit in VOUnit spec.

2.1.8 dataType: simple_Quantity

utype qty:simple_Quantity
description TODO : Missing description : please, update your UML model asap.
attributes
name feature value
value type string
From imported model IVOA Profile
utype(s) qty:simple_Quantity.value
cardinality 1
description TODO : Missing description : please, update your UML model asap.
ucd type string
From imported model IVOA Profile
utype(s) qty:simple_Quantity.ucd
cardinality 0..1
description TODO : Missing description : please, update your UML model asap.
unit type Unit
utype(s) qty:simple_Quantity.unit
cardinality 0..1
description TODO : Missing description : please, update your UML model asap.


3.UTYPEs

The following table shows all UTYPEs for this data model. It is ordered alphabetically and the UTYPEs are hyper-linked to the location in the document where the actual element is fully defined.
UTYPE feature type description
qty vo-dml:model This is a sample data model. It contains the IVOA UML Profile and imports the IVOA_Profile data model with primitive types. It has some sample relationships etc to be used in documentation etc.
qty:AtomicValue dataType TODO : Missing description : please, update your UML model asap.
qty:AtomicValue.ucd attribute This attribute should hold on to a valid UCD. For that purpose the attribute isa skosconcept, but a proper SKOS vocabulary for UCDs would be required to formalize this further.
qty:BooleanValue dataType TODO : Missing description : please, update your UML model asap.
qty:BooleanValue.value attribute TODO : Missing description : please, update your UML model asap.
qty:IntegerQuantity dataType TODO : Missing description : please, update your UML model asap.
qty:IntegerQuantity.value attribute TODO : Missing description : please, update your UML model asap.
qty:Quantity dataType Meant to represent the value of a numerical physical quantity. May be integer, what units can apply there?
qty:Quantity.unit attribute TODO : Missing description : please, update your UML model asap.
qty:RealQuantity dataType TODO : Missing description : please, update your UML model asap.
qty:RealQuantity.value attribute TODO : Missing description : please, update your UML model asap.
qty:StringValue dataType TODO : Missing description : please, update your UML model asap.
qty:StringValue.value attribute TODO : Missing description : please, update your UML model asap.
qty:Unit primitiveType Must conform to definition of unit in VOUnit spec.
qty:simple_Quantity dataType TODO : Missing description : please, update your UML model asap.
qty:simple_Quantity.ucd attribute TODO : Missing description : please, update your UML model asap.
qty:simple_Quantity.unit attribute TODO : Missing description : please, update your UML model asap.
qty:simple_Quantity.value attribute TODO : Missing description : please, update your UML model asap.

4.PATHs

The following table shows all legal PATH expressions that can be used as alternative pointers into this data model.
TBD

5.Imported Models

This section lists the external models imported by the current data model. For each imported model we list URLs to the VO-DML and HTML representations and the prefix used for utype-s from inside the model.

5.1 IVOA Profile

Model prefix ivoa_1.0
url http://volute.googlecode.com/svn/trunk/projects/dm/vo-dml/models/profile/IVOA_Profile.vo-dml.xml
documentation url http://volute.googlecode.com/svn/trunk/projects/dm/vo-dml/models/profile/IVOA_Profile.html