Interface ObjectTags

  • All Known Subinterfaces:
    ObjectPoolTags
    All Known Implementing Classes:
    NESTGraphWriterImpl, NESTSequentialWorkflowWriterImpl, NESTWorkflowWriterImpl, ObjectHandler, ObjectPoolHandler, ObjectPoolWriterImpl, ObjectWriterImpl

    public interface ObjectTags
    All tags, attributes and values of cdm.xsd.

    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:
    de.uni_trier.wi2.procake.data.object