public class NewServiceModel extends Object
Constructor and Description |
---|
NewServiceModel()
Instantiates a new service model.
|
Modifier and Type | Method and Description |
---|---|
static void |
extractGroups(ToscaModel serviceToscaModel,
NewServiceModel serviceModel) |
static Service |
extractService(ToscaModel serviceToscaModel,
Service asdcServiceMetadata)
Extract service.
|
Map<String,Network> |
getNetworks()
Gets the networks.
|
Service |
getService()
Gets the service.
|
Map<String,VfModule> |
getVfModules()
Gets the vf modules.
|
Map<String,VNF> |
getVnfs()
Gets the vnfs.
|
Map<String,VolumeGroup> |
getVolumeGroups()
Gets the volume groups.
|
void |
setNetworks(Map<String,Network> networks)
Sets the networks.
|
void |
setService(Service service)
Sets the service.
|
void |
setVfModules(Map<String,VfModule> vfModules)
Sets the vf modules.
|
void |
setVnfs(Map<String,VNF> vnfs)
Sets the vnfs.
|
void |
setVolumeGroups(Map<String,VolumeGroup> volumeGroups)
Sets the volume groups.
|
public Service getService()
public void setService(Service service)
service
- the new servicepublic void setNetworks(Map<String,Network> networks)
networks
- the networkspublic Map<String,VfModule> getVfModules()
public Map<String,VolumeGroup> getVolumeGroups()
public void setVfModules(Map<String,VfModule> vfModules)
vfModules
- the vf modulespublic void setVolumeGroups(Map<String,VolumeGroup> volumeGroups)
volumeGroups
- the volume groupspublic static Service extractService(ToscaModel serviceToscaModel, Service asdcServiceMetadata)
serviceToscaModel
- the service tosca modelasdcServiceMetadata
- the asdc service metadatapublic static void extractGroups(ToscaModel serviceToscaModel, NewServiceModel serviceModel)
Copyright © 2017. All rights reserved.