public class Provider extends Object implements HasUniqueId
Modifier and Type | Class and Description |
---|---|
static class |
Provider.ProviderType |
Modifier and Type | Field and Description |
---|---|
protected String |
name |
protected Set<ServiceTemplate> |
offering |
protected Provider.ProviderType |
providerType |
protected String |
uuid |
Constructor and Description |
---|
Provider() |
Provider(String name) |
Provider(String name,
Provider.ProviderType type) |
Modifier and Type | Method and Description |
---|---|
void |
addOfferedServiceUnit(ServiceTemplate offered) |
String |
getName() |
Set<ServiceTemplate> |
getOffering() |
Provider.ProviderType |
getProviderType() |
String |
getUuid() |
Provider |
hasOfferedServiceUnit(ServiceTemplate offered) |
void |
setId(String id) |
void |
setOffering(Set<ServiceTemplate> offering) |
void |
setProviderType(Provider.ProviderType providerType) |
String |
toJson() |
protected String uuid
protected String name
protected Provider.ProviderType providerType
protected Set<ServiceTemplate> offering
public Provider()
public Provider(String name)
public Provider(String name, Provider.ProviderType type)
public Provider hasOfferedServiceUnit(ServiceTemplate offered)
public void addOfferedServiceUnit(ServiceTemplate offered)
public Provider.ProviderType getProviderType()
public String getName()
public Set<ServiceTemplate> getOffering()
public String getUuid()
getUuid
in interface HasUniqueId
public void setId(String id)
public void setProviderType(Provider.ProviderType providerType)
public void setOffering(Set<ServiceTemplate> offering)
public String toJson()
Copyright © 2016. All Rights Reserved.