Interface ObjectTags
- All Known Subinterfaces:
ObjectPoolTags
- All Known Implementing Classes:
NESTGraphWriter
,NESTSequentialWorkflowWriter
,NESTWorkflowWriter
,ObjectHandler
,ObjectPoolHandler
,ObjectPoolWriter
,ObjectWriter
The representation of the data objects in XML is defined by the XML Schema definition CDOL. An example of a memory system IP looks like:
<?xml version="1.0" encoding="UTF-8"?> <Agg xmlns="http://cake.wi2.uni-trier.de/xml/cdol" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://cake.wi2.uni-trier.de/xml/cdol cdol.xsd" c="MemorySystemClass"> <P n="description">Example of a memory System IP</P> <AA n="m" v="4048MB"/> <AA n="b" v="4"/> <AA n="a" v="32"> <P n="unit">Bit</P> </AA> <AA n="t" v="LS TTL"/> </Agg>
In this example an AggregateObject
is
modelled that is an instance of a data class called MemorySystemClass. The aggregate object
contains a property "description" that describes the IP in natural language. Furthermore, it
contains four of the five attributes that are defined in its type; attributes without a value can
be omitted. Each attribute is described by its name (XML attribute "n") and by its value (XML
attribute "v"). The attribute "a" contains an attribute property "unit" that specifies the unit
of the value 32. The unit of a value can be embedded in the attribute properties as well as in
the DataClass
like the unit "MB" in the
MemorySizeType.
- Author:
- Rainer Maximini
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value is "c"static final String
Value is "id"static final String
Value is "n"static final String
Value is "v"static final String
Value is "cdol"static final String
Value is "cdol.xsd"static final String
Value is "Agg"static final String
Value is "A"static final String
Value is "AA"static final String
Value is "Attribute"static final String
Value is "AttributePath"static final String
Value is "B"static final String
Value is "c"static final String
Value is "C"static final String
Value is "Int"static final String
Value is "LowerBound"static final String
Value is "UpperBound"static final String
Value is "OA"static final String
Value is "P"static final String
Value is "Query"static final String
Value is "V"static final String
Value is "VA"static final String
Value is "http://cake.wi2.uni-trier.de/xml/cdol"
-
Field Details
-
ATT_CLASS
Value is "c"- See Also:
-
ATT_NAME
Value is "n"- See Also:
-
ATT_ID
Value is "id"- See Also:
-
ATT_VALUE
Value is "v"- See Also:
-
SCHEMA_LOCATION_CDOL
Value is "cdol.xsd"- See Also:
-
TAG_AGGREGATE
Value is "Agg"- See Also:
-
TAG_ATOMIC
Value is "A"- See Also:
-
TAG_ATOMIC_ATTRIBUTE
Value is "AA"- See Also:
-
TAG_ATTRIBUTE
Value is "Attribute"- See Also:
-
TAG_ATTRIBUTEPATH
Value is "AttributePath"- See Also:
-
TAG_BYTE_ARRAY
Value is "B"- See Also:
-
TAG_BYTE_ARRAY_CONTENT
Value is "c"- See Also:
-
TAG_COLLECTION
Value is "C"- See Also:
-
TAG_INTERVAL
Value is "Int"- See Also:
-
TAG_INTERVAL_LOWER_BOUND
Value is "LowerBound"- See Also:
-
TAG_INTERVAL_UPPER_BOUND
Value is "UpperBound"- See Also:
-
TAG_OBJECT_ATTRIBUTE
Value is "OA"- See Also:
-
TAG_VOID_ATTRIBUTE
Value is "VA"- See Also:
-
TAG_PROPERTY
Value is "P"- See Also:
-
TAG_QUERY
Value is "Query"- See Also:
-
TAG_VOID
Value is "V"- See Also:
-
URI_CDOL
Value is "http://cake.wi2.uni-trier.de/xml/cdol"- See Also:
-
PREFIX_CDOL
Value is "cdol"- See Also:
-