/*- * ============LICENSE_START========================================== * OPENECOMP - DCAE * =================================================================== * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. * =================================================================== * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * ============LICENSE_END============================================ */ /** */ package org.openecomp.ncomp.openstack.compute; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'Flavor'. * * *

* The following features are supported: *

* * * @see org.openecomp.ncomp.openstack.compute.ComputePackage#getFlavor() * @model * @generated */ public interface Flavor extends EObject { /** * Returns the value of the 'Id' attribute. * *

* If the meaning of the 'Id' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Id' attribute. * @see #setId(String) * @see org.openecomp.ncomp.openstack.compute.ComputePackage#getFlavor_Id() * @model unique="false" * @generated */ String getId(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.compute.Flavor#getId Id}' attribute. * * * @param value the new value of the 'Id' attribute. * @see #getId() * @generated */ void setId(String value); /** * Returns the value of the 'Name' attribute. * *

* If the meaning of the 'Name' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Name' attribute. * @see #setName(String) * @see org.openecomp.ncomp.openstack.compute.ComputePackage#getFlavor_Name() * @model unique="false" * @generated */ String getName(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.compute.Flavor#getName Name}' attribute. * * * @param value the new value of the 'Name' attribute. * @see #getName() * @generated */ void setName(String value); /** * Returns the value of the 'Ram' attribute. * *

* If the meaning of the 'Ram' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Ram' attribute. * @see #setRam(int) * @see org.openecomp.ncomp.openstack.compute.ComputePackage#getFlavor_Ram() * @model unique="false" * @generated */ int getRam(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.compute.Flavor#getRam Ram}' attribute. * * * @param value the new value of the 'Ram' attribute. * @see #getRam() * @generated */ void setRam(int value); /** * Returns the value of the 'Disk' attribute. * *

* If the meaning of the 'Disk' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Disk' attribute. * @see #setDisk(int) * @see org.openecomp.ncomp.openstack.compute.ComputePackage#getFlavor_Disk() * @model unique="false" * @generated */ int getDisk(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.compute.Flavor#getDisk Disk}' attribute. * * * @param value the new value of the 'Disk' attribute. * @see #getDisk() * @generated */ void setDisk(int value); /** * Returns the value of the 'Vcpus' attribute. * *

* If the meaning of the 'Vcpus' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Vcpus' attribute. * @see #setVcpus(int) * @see org.openecomp.ncomp.openstack.compute.ComputePackage#getFlavor_Vcpus() * @model unique="false" * @generated */ int getVcpus(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.compute.Flavor#getVcpus Vcpus}' attribute. * * * @param value the new value of the 'Vcpus' attribute. * @see #getVcpus() * @generated */ void setVcpus(int value); /** * Returns the value of the 'Swap' attribute. * *

* If the meaning of the 'Swap' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Swap' attribute. * @see #setSwap(String) * @see org.openecomp.ncomp.openstack.compute.ComputePackage#getFlavor_Swap() * @model unique="false" * @generated */ String getSwap(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.compute.Flavor#getSwap Swap}' attribute. * * * @param value the new value of the 'Swap' attribute. * @see #getSwap() * @generated */ void setSwap(String value); /** * Returns the value of the 'Rxtx factor' attribute. * *

* If the meaning of the 'Rxtx factor' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Rxtx factor' attribute. * @see #setRxtx_factor(double) * @see org.openecomp.ncomp.openstack.compute.ComputePackage#getFlavor_Rxtx_factor() * @model unique="false" * @generated */ double getRxtx_factor(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.compute.Flavor#getRxtx_factor Rxtx factor}' attribute. * * * @param value the new value of the 'Rxtx factor' attribute. * @see #getRxtx_factor() * @generated */ void setRxtx_factor(double value); /** * Returns the value of the 'OS FLV EXT DATA ephemeral' attribute. * *

* If the meaning of the 'OS FLV EXT DATA ephemeral' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'OS FLV EXT DATA ephemeral' attribute. * @see #setOS_FLV_EXT_DATA_ephemeral(int) * @see org.openecomp.ncomp.openstack.compute.ComputePackage#getFlavor_OS_FLV_EXT_DATA_ephemeral() * @model unique="false" * @generated */ int getOS_FLV_EXT_DATA_ephemeral(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.compute.Flavor#getOS_FLV_EXT_DATA_ephemeral OS FLV EXT DATA ephemeral}' attribute. * * * @param value the new value of the 'OS FLV EXT DATA ephemeral' attribute. * @see #getOS_FLV_EXT_DATA_ephemeral() * @generated */ void setOS_FLV_EXT_DATA_ephemeral(int value); /** * Returns the value of the 'OS FLV DISABLED disabled' attribute. * *

* If the meaning of the 'OS FLV DISABLED disabled' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'OS FLV DISABLED disabled' attribute. * @see #setOS_FLV_DISABLED_disabled(boolean) * @see org.openecomp.ncomp.openstack.compute.ComputePackage#getFlavor_OS_FLV_DISABLED_disabled() * @model unique="false" * @generated */ boolean isOS_FLV_DISABLED_disabled(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.compute.Flavor#isOS_FLV_DISABLED_disabled OS FLV DISABLED disabled}' attribute. * * * @param value the new value of the 'OS FLV DISABLED disabled' attribute. * @see #isOS_FLV_DISABLED_disabled() * @generated */ void setOS_FLV_DISABLED_disabled(boolean value); /** * Returns the value of the 'Os flavor access is public' attribute. * *

* If the meaning of the 'Os flavor access is public' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Os flavor access is public' attribute. * @see #setOs_flavor_access_is_public(boolean) * @see org.openecomp.ncomp.openstack.compute.ComputePackage#getFlavor_Os_flavor_access_is_public() * @model unique="false" * @generated */ boolean isOs_flavor_access_is_public(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.compute.Flavor#isOs_flavor_access_is_public Os flavor access is public}' attribute. * * * @param value the new value of the 'Os flavor access is public' attribute. * @see #isOs_flavor_access_is_public() * @generated */ void setOs_flavor_access_is_public(boolean value); /** * Returns the value of the 'Links' containment reference list. * The list contents are of type {@link org.openecomp.ncomp.openstack.compute.Link}. * *

* If the meaning of the 'Links' containment reference list isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Links' containment reference list. * @see org.openecomp.ncomp.openstack.compute.ComputePackage#getFlavor_Links() * @model containment="true" * @generated */ EList getLinks(); } // Flavor