/*- * ============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.core; import org.openecomp.ncomp.core.NamedEntity; /** * * A representation of the model object 'Security Rule'. * * *

* The following features are supported: *

*

* * @see org.openecomp.ncomp.openstack.core.CorePackage#getSecurityRule() * @model * @generated */ public interface SecurityRule extends NamedEntity { /** * Returns the value of the 'Port Range Start' attribute. * *

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

* * @return the value of the 'Port Range Start' attribute. * @see #setPortRangeStart(Integer) * @see org.openecomp.ncomp.openstack.core.CorePackage#getSecurityRule_PortRangeStart() * @model unique="false" * @generated */ Integer getPortRangeStart(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.core.SecurityRule#getPortRangeStart Port Range Start}' attribute. * * * @param value the new value of the 'Port Range Start' attribute. * @see #getPortRangeStart() * @generated */ void setPortRangeStart(Integer value); /** * Returns the value of the 'Port Range End' attribute. * *

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

* * @return the value of the 'Port Range End' attribute. * @see #setPortRangeEnd(Integer) * @see org.openecomp.ncomp.openstack.core.CorePackage#getSecurityRule_PortRangeEnd() * @model unique="false" * @generated */ Integer getPortRangeEnd(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.core.SecurityRule#getPortRangeEnd Port Range End}' attribute. * * * @param value the new value of the 'Port Range End' attribute. * @see #getPortRangeEnd() * @generated */ void setPortRangeEnd(Integer value); /** * Returns the value of the 'Prefix' attribute. * *

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

* * @return the value of the 'Prefix' attribute. * @see #setPrefix(String) * @see org.openecomp.ncomp.openstack.core.CorePackage#getSecurityRule_Prefix() * @model unique="false" * @generated */ String getPrefix(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.core.SecurityRule#getPrefix Prefix}' attribute. * * * @param value the new value of the 'Prefix' attribute. * @see #getPrefix() * @generated */ void setPrefix(String value); /** * Returns the value of the 'Ip Protocol' attribute. * The literals are from the enumeration {@link org.openecomp.ncomp.openstack.core.SecurityRuleProtocol}. * *

* 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 org.openecomp.ncomp.openstack.core.SecurityRuleProtocol * @see #setIpProtocol(SecurityRuleProtocol) * @see org.openecomp.ncomp.openstack.core.CorePackage#getSecurityRule_IpProtocol() * @model unique="false" * @generated */ SecurityRuleProtocol getIpProtocol(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.core.SecurityRule#getIpProtocol Ip Protocol}' attribute. * * * @param value the new value of the 'Ip Protocol' attribute. * @see org.openecomp.ncomp.openstack.core.SecurityRuleProtocol * @see #getIpProtocol() * @generated */ void setIpProtocol(SecurityRuleProtocol value); } // SecurityRule