Groovy Documentation

com.ace.mws.servicetemplates
[Groovy] Class ServiceTemplate

java.lang.Object
  com.ace.mws.servicetemplates.ServiceTemplate

class ServiceTemplate

A Service Template is a service pattern that may be modified to create custom services. Each template may be a service or a service container. Containers contain other Service Templates. An example is a virtual machine template that may contain an operating system template.


Field Summary
private Map attributes

(Map of String => String) The characteristics of this Service Template: processors, memory, etc.

private String createdBy

The name of the user that created this Service Template.

private String id

The unique identifier of this Service Template.

private List includedServices

(Map collection) A list of objects describing the dependencies that this Service Template possesses on other Service Templates.

private String label

A short description of this Service Template.

private Date modified

The most recent date this Service Template was changed.

private String name

The name of this Service Template.

private static long serialVersionUID

private List tags

(String collection) Specially-trimmed strings to group Service Templates.

private String type

The type of Service Template: VM, Storage, etc.

 
Constructor Summary
ServiceTemplate()

 
Method Summary
Map getAttributes()

(Map of String => String) The characteristics of this Service Template: processors, memory, etc.

String getCreatedBy()

The name of the user that created this Service Template.

String getId()

The unique identifier of this Service Template.

List getIncludedServices()

(Map collection) A list of objects describing the dependencies that this Service Template possesses on other Service Templates.

String getLabel()

A short description of this Service Template.

Date getModified()

The most recent date this Service Template was changed.

String getName()

The name of this Service Template.

List getTags()

(String collection) Specially-trimmed strings to group Service Templates.

String getType()

The type of Service Template: VM, Storage, etc.

void setAttributes(Map attributes)

(Map of String => String) The characteristics of this Service Template: processors, memory, etc.

void setCreatedBy(String createdBy)

The name of the user that created this Service Template.

void setId(String id)

The unique identifier of this Service Template.

void setIncludedServices(List includedServices)

(Map collection) A list of objects describing the dependencies that this Service Template possesses on other Service Templates.

void setLabel(String label)

A short description of this Service Template.

void setModified(Date modified)

The most recent date this Service Template was changed.

void setName(String name)

The name of this Service Template.

void setTags(List tags)

(String collection) Specially-trimmed strings to group Service Templates.

void setType(String type)

The type of Service Template: VM, Storage, etc.

String toString()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

attributes

private Map attributes
(Map of String => String) The characteristics of this Service Template: processors, memory, etc.
See Also:
Map


createdBy

private String createdBy
The name of the user that created this Service Template.


id

private String id
The unique identifier of this Service Template.


includedServices

private List includedServices
(Map collection) A list of objects describing the dependencies that this Service Template possesses on other Service Templates. Each entry in the includedServices list is an object containing two properties:
  1. localName: the name of the template which is unique to the holding template container.
  2. serviceTemplate: the name of the Service Template.

Example:
 "includedServices":[
 	{
 		"localName":"containerTemplate1",
 		"serviceTemplate":"template1"
 	}
 ]
See Also:
Map


label

private String label
A short description of this Service Template.


modified

private Date modified
The most recent date this Service Template was changed.


name

private String name
The name of this Service Template.


serialVersionUID

private static final long serialVersionUID


tags

private List tags
(String collection) Specially-trimmed strings to group Service Templates.
See Also:
String


type

private String type
The type of Service Template: VM, Storage, etc.


 
Constructor Detail

ServiceTemplate

ServiceTemplate()


 
Method Detail

getAttributes

Map getAttributes()
(Map of String => String) The characteristics of this Service Template: processors, memory, etc.
See Also:
Map


getCreatedBy

String getCreatedBy()
The name of the user that created this Service Template.


getId

String getId()
The unique identifier of this Service Template.


getIncludedServices

List getIncludedServices()
(Map collection) A list of objects describing the dependencies that this Service Template possesses on other Service Templates. Each entry in the includedServices list is an object containing two properties:
  1. localName: the name of the template which is unique to the holding template container.
  2. serviceTemplate: the name of the Service Template.

Example:
 "includedServices":[
 	{
 		"localName":"containerTemplate1",
 		"serviceTemplate":"template1"
 	}
 ]
See Also:
Map


getLabel

String getLabel()
A short description of this Service Template.


getModified

Date getModified()
The most recent date this Service Template was changed.


getName

String getName()
The name of this Service Template.


getTags

List getTags()
(String collection) Specially-trimmed strings to group Service Templates.
See Also:
String


getType

String getType()
The type of Service Template: VM, Storage, etc.


setAttributes

void setAttributes(Map attributes)
(Map of String => String) The characteristics of this Service Template: processors, memory, etc.
See Also:
Map


setCreatedBy

void setCreatedBy(String createdBy)
The name of the user that created this Service Template.


setId

void setId(String id)
The unique identifier of this Service Template.


setIncludedServices

void setIncludedServices(List includedServices)
(Map collection) A list of objects describing the dependencies that this Service Template possesses on other Service Templates. Each entry in the includedServices list is an object containing two properties:
  1. localName: the name of the template which is unique to the holding template container.
  2. serviceTemplate: the name of the Service Template.

Example:
 "includedServices":[
 	{
 		"localName":"containerTemplate1",
 		"serviceTemplate":"template1"
 	}
 ]
See Also:
Map


setLabel

void setLabel(String label)
A short description of this Service Template.


setModified

void setModified(Date modified)
The most recent date this Service Template was changed.


setName

void setName(String name)
The name of this Service Template.


setTags

void setTags(List tags)
(String collection) Specially-trimmed strings to group Service Templates.
See Also:
String


setType

void setType(String type)
The type of Service Template: VM, Storage, etc.


toString

String toString()


 

Groovy Documentation