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
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.