Class Percentage
java.lang.Object
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.types.rev151009.Percentage
- All Implemented Interfaces:
Serializable
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ScalarTypeObject<org.opendaylight.yangtools.yang.common.Uint8>
,org.opendaylight.yangtools.yang.binding.TypeObject
,org.opendaylight.yangtools.yang.binding.ValueAware<org.opendaylight.yangtools.yang.common.Uint8>
@Generated("mdsal-binding-generator")
public class Percentage
extends Object
implements org.opendaylight.yangtools.yang.binding.ScalarTypeObject<org.opendaylight.yangtools.yang.common.Uint8>, Serializable
This class represents the following YANG schema fragment defined in module openconfig-bgp-types
typedef percentage { type uint8 { range 0..100; } }
- See Also:
-
Constructor Summary
ConstructorDescriptionPercentage
(Percentage source) Creates a copy from Source Object.Percentage
(org.opendaylight.yangtools.yang.common.Uint8 _value) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
static Percentage
getDefaultInstance
(String defaultValue) org.opendaylight.yangtools.yang.common.Uint8
getValue()
int
hashCode()
toString()
-
Constructor Details
-
Percentage
@ConstructorParameters("value") public Percentage(org.opendaylight.yangtools.yang.common.Uint8 _value) -
Percentage
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.yang.binding.ValueAware<org.opendaylight.yangtools.yang.common.Uint8>
-
hashCode
public int hashCode() -
equals
-
toString
-