OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

energyinterop message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Inheritance and Signal Starts


WS-Calendar lineages define an inheritance pattern through gluons. The pattern says that a Gluon Bequeaths elements to the Components (Interval or Gluon) that it references. If the referenced component already has that element, the inheritance is blocked. If the referenced component lacks that that element, the inheritance is becomes part of what that Component bequeaths any Components that it references.

 

So:

 

The Active Period of an event Bequeaths its start date and time to the Stream Header which Bequeaths that to the Designated Interval in the sequence. We can say it backwards as follows. If the Designated Interval in the Stream’s Sequence includes a Start Date and Time, then that blocks Inheritance from the Stream Header. If the Stream header includes a Start Date and Time, then that blocks Inheritance  from the Active Period.

 

This handles everything but the Designated Interval.

 

The rule is that a Stream header includes an optional indicator of the Designated Interval. If this Designated Interval is absent, then the first Interval SHALL be deemed the Designated Interval. This allows us to specify, say, that a feedback request starts 1 hour before the Active Period, while inheriting the Start Date and Time of the Active Period.

 

Net changes:

 

            <xs:complexType name="StreamBaseType" abstract="true">

                        <xs:annotation>

                                    <xs:documentation>abstract base for communication of schedules for signals and observations</xs:documentation>

                        </xs:annotation>

                        <xs:complexContent>

                                    <xs:extension base="xcal:VcalendarType">

                                                <xs:sequence>

                                                            <xs:element ref="xcal:dtstart" minOccurs="0" maxOccurs="1"/>

                                                            <xs:element ref="xcal:related-to" minOccurs="0" maxOccurs="1"/>

                                                </xs:sequence>

                                    </xs:extension>

                        </xs:complexContent>

            </xs:complexType>

 

 

Notice, that if you chose to omit the dtStart and the related-to, all Signals in an Event will being when the ActivePeriod begins.

 

 


“The single biggest problem in communication is the illusion that it has taken place.”
– George Bernard Shaw.


Toby Considine
TC9, Inc

TC Chair: oBIX & WS-Calendar

TC Editor: EMIX, EnergyInterop

U.S. National Inst. of Standards and Tech. Smart Grid Architecture Committee

  

Email: Toby.Considine@gmail.com
Phone: (919)619-2104

http://www.tcnine.com/
blog: www.NewDaedalus.com

 

 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]