org.ogf.graap.wsag.api
Interface AgreementTemplate

All Known Implementing Classes:
AbstractComputeJobTemplate, AdvanceReservationComputeJobTemplate, ComputeJobTemplate, SampleAgreementTemplate, TemplateType

public interface AgreementTemplate

The AgreementTemplate interface implements the required methods to access the properties of an agreement template. Agreement templates are used to create new AgreementOffer instances.

Author:
Oliver Waeldrich
See Also:
AgreementOffer

Method Summary
 String getAgreementId()
           
 AgreementContextType getContext()
           
 ConstraintSectionType getCreationConstraints()
           
 String getName()
           
 String getTemplateId()
           
 TermTreeType getTerms()
           
 AgreementTemplateType getXMLObject()
           
 void setAgreementId(String id)
           
 void setContext(AgreementContextType context)
           
 void setCreationConstraints(ConstraintSectionType constraints)
           
 void setName(String name)
           
 void setTemplateId(String id)
           
 void setTerms(TermTreeType terms)
           
 

Method Detail

getName

String getName()
Returns:
the template name

setName

void setName(String name)
Parameters:
name - the template name to set

getAgreementId

String getAgreementId()
Returns:
the agreement id

setAgreementId

void setAgreementId(String id)
Parameters:
id - the agreement id to set

getTemplateId

String getTemplateId()
Returns:
the template id

setTemplateId

void setTemplateId(String id)
Parameters:
id - the template id to set

getContext

AgreementContextType getContext()
Returns:
the agreement context

setContext

void setContext(AgreementContextType context)
Parameters:
context - the context to set

getTerms

TermTreeType getTerms()
Returns:
the agreement terms

setTerms

void setTerms(TermTreeType terms)
Parameters:
terms - the terms to set

getCreationConstraints

ConstraintSectionType getCreationConstraints()
Returns:
the template creation constraints

setCreationConstraints

void setCreationConstraints(ConstraintSectionType constraints)
Parameters:
constraints - the creation constraints to set

getXMLObject

AgreementTemplateType getXMLObject()
Returns:
the XML representation of the template


Copyright © 2008-2012. All Rights Reserved.