/*- * ============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.ecore.EObject; /** * * A representation of the model object 'Security Rule'. * * *

* The following features are supported: *

* * * @see org.openecomp.ncomp.openstack.compute.ComputePackage#getSecurityRule() * @model * @generated */ public interface SecurityRule extends EObject { /** * Returns the value of the 'From port' attribute. * *

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

* * @return the value of the 'From port' attribute. * @see #setFrom_port(Integer) * @see org.openecomp.ncomp.openstack.compute.ComputePackage#getSecurityRule_From_port() * @model unique="false" * @generated */ Integer getFrom_port(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.compute.SecurityRule#getFrom_port From port}' attribute. * * * @param value the new value of the 'From port' attribute. * @see #getFrom_port() * @generated */ void setFrom_port(Integer value); /** * Returns the value of the 'Group' containment reference. * *

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

* * @return the value of the 'Group' containment reference. * @see #setGroup(SecurityGroup) * @see org.openecomp.ncomp.openstack.compute.ComputePackage#getSecurityRule_Group() * @model containment="true" * @generated */ SecurityGroup getGroup(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.compute.SecurityRule#getGroup Group}' containment reference. * * * @param value the new value of the 'Group' containment reference. * @see #getGroup() * @generated */ void setGroup(SecurityGroup value); /** * Returns the value of the 'Ip protocol' attribute. * *

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

* * @return the value of the 'Ip protocol' attribute. * @see #setIp_protocol(String) * @see org.openecomp.ncomp.openstack.compute.ComputePackage#getSecurityRule_Ip_protocol() * @model unique="false" * @generated */ String getIp_protocol(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.compute.SecurityRule#getIp_protocol Ip protocol}' attribute. * * * @param value the new value of the 'Ip protocol' attribute. * @see #getIp_protocol() * @generated */ void setIp_protocol(String value); /** * Returns the value of the 'To port' attribute. * *

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

* * @return the value of the 'To port' attribute. * @see #setTo_port(Integer) * @see org.openecomp.ncomp.openstack.compute.ComputePackage#getSecurityRule_To_port() * @model unique="false" * @generated */ Integer getTo_port(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.compute.SecurityRule#getTo_port To port}' attribute. * * * @param value the new value of the 'To port' attribute. * @see #getTo_port() * @generated */ void setTo_port(Integer value); /** * Returns the value of the 'Parent group id' attribute. * *

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

* * @return the value of the 'Parent group id' attribute. * @see #setParent_group_id(String) * @see org.openecomp.ncomp.openstack.compute.ComputePackage#getSecurityRule_Parent_group_id() * @model unique="false" * @generated */ String getParent_group_id(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.compute.SecurityRule#getParent_group_id Parent group id}' attribute. * * * @param value the new value of the 'Parent group id' attribute. * @see #getParent_group_id() * @generated */ void setParent_group_id(String value); /** * Returns the value of the 'Ip range' containment reference. * *

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

* * @return the value of the 'Ip range' containment reference. * @see #setIp_range(SecurityRange) * @see org.openecomp.ncomp.openstack.compute.ComputePackage#getSecurityRule_Ip_range() * @model containment="true" * @generated */ SecurityRange getIp_range(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.compute.SecurityRule#getIp_range Ip range}' containment reference. * * * @param value the new value of the 'Ip range' containment reference. * @see #getIp_range() * @generated */ void setIp_range(SecurityRange value); /** * 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#getSecurityRule_Id() * @model unique="false" * @generated */ String getId(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.compute.SecurityRule#getId Id}' attribute. * * * @param value the new value of the 'Id' attribute. * @see #getId() * @generated */ void setId(String value); } // SecurityRule