Class SecurityRuleAttributes.Protocol
- java.lang.Object
-
- org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.secgroups.rev150712.SecurityRuleAttributes.Protocol
-
- All Implemented Interfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.TypeObject
- Enclosing interface:
- SecurityRuleAttributes
public static final class SecurityRuleAttributes.Protocol extends Object implements org.opendaylight.yangtools.yang.binding.TypeObject
-
-
Constructor Summary
Constructors Constructor Description Protocol(Class<? extends ProtocolBase> _identityref)
Protocol(SecurityRuleAttributes.Protocol source)
Creates a copy from Source Object.Protocol(org.opendaylight.yangtools.yang.common.Uint8 _uint8)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Class<? extends ProtocolBase>
getIdentityref()
org.opendaylight.yangtools.yang.common.Uint8
getUint8()
int
hashCode()
String
stringValue()
Return a String representing the value of this union.String
toString()
-
-
-
Constructor Detail
-
Protocol
public Protocol(org.opendaylight.yangtools.yang.common.Uint8 _uint8)
-
Protocol
public Protocol(Class<? extends ProtocolBase> _identityref)
-
Protocol
public Protocol(SecurityRuleAttributes.Protocol source)
Creates a copy from Source Object.- Parameters:
source
- Source object
-
-
Method Detail
-
stringValue
public String stringValue()
Return a String representing the value of this union.- Returns:
- String representation of this union's value.
-
getUint8
public org.opendaylight.yangtools.yang.common.Uint8 getUint8()
-
getIdentityref
public Class<? extends ProtocolBase> getIdentityref()
-
-