Class ProtocolVersion
java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.ProtocolVersion
- All Implemented Interfaces:
Serializable
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.ScalarTypeObject<org.opendaylight.yangtools.yang.common.Uint8>
,org.opendaylight.yangtools.binding.TypeObject
,org.opendaylight.yangtools.binding.ValueAware<org.opendaylight.yangtools.yang.common.Uint8>
@Generated("mdsal-binding-generator")
public class ProtocolVersion
extends Object
implements org.opendaylight.yangtools.binding.ScalarTypeObject<org.opendaylight.yangtools.yang.common.Uint8>, Serializable
This class represents the following YANG schema fragment defined in module bgp-message
typedef protocol-version { type uint8 { range 1..7; } }
- See Also:
-
Constructor Summary
ConstructorDescriptionProtocolVersion
(ProtocolVersion source) Creates a copy from Source Object.ProtocolVersion
(org.opendaylight.yangtools.yang.common.Uint8 _value) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
static ProtocolVersion
getDefaultInstance
(String defaultValue) org.opendaylight.yangtools.yang.common.Uint8
getValue()
int
hashCode()
toString()
-
Constructor Details
-
ProtocolVersion
@ConstructorParameters("value") public ProtocolVersion(org.opendaylight.yangtools.yang.common.Uint8 _value) -
ProtocolVersion
Creates a copy from Source Object.- Parameters:
source
- Source object
-
-
Method Details
-
getDefaultInstance
-
getValue
public org.opendaylight.yangtools.yang.common.Uint8 getValue()- Specified by:
getValue
in interfaceorg.opendaylight.yangtools.binding.ValueAware<org.opendaylight.yangtools.yang.common.Uint8>
-
hashCode
public int hashCode() -
equals
-
toString
-