This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/discussion/do/listPosts/projects.ggf-editor/discussion.rec_ws_agreement_spec.occurance_of_assessmentinterval at Thu, 03 Nov 2022 23:15:33 GMT SourceForge : Post

Project Home

Tracker

Documents

Tasks

Source Code

Discussions

File Releases

Wiki

Project Admin
Project: Editor     Discussion > REC: WS-Agreement spec > Occurance of AssessmentInterval in Comp.Type > List of Posts
Forum Topic - Occurance of AssessmentInterval in Comp.Type: (1 Item)
View:  as 
 
 
Occurance of AssessmentInterval in Comp.Type
We should set the occurance of the sequence including the assessment interval to "unbounded", as shown here:

	<xs:complexType name="CompensationType">
		<xs:sequence maxOccurs="unbounded">
			<xs:element name="AssessmentInterval">
...

Using this change, we can express diffferent penalties etc. in different intervals, which meets an important business 
requirement.

Illustration:

<wsag:BusinessValueList>
	<wsag:Penalty>
		<wsag:AssessmentInterval>
 		  <wsag:TimeInterval>PT1M</wsag:TimeInterval>
		</wsag:AssessmentInterval>		
 	        <wsag:ValueUnit>USD</wsag:ValueUnit>
		<wsag:ValueExpression>5</wsag:ValueExpression>
		<wsag:AssessmentInterval>
	   	  <wsag:TimeInterval>PT10M</wsag:TimeInterval>
		</wsag:AssessmentInterval>
		<wsag:ValueUnit>USD</wsag:ValueUnit>
		<wsag:ValueExpression>10
                </wsag:ValueExpression>
	</wsag:Penalty>
</wsag:BusinessValueList>

 
 


The Open Grid Forum Contact Webmaster | Report a problem | GridForge Help
This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/discussion/do/listPosts/projects.ggf-editor/discussion.rec_ws_agreement_spec.occurance_of_assessmentinterval at Thu, 03 Nov 2022 23:15:34 GMT