Class BgpStdCommunityType
java.lang.Object
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.types.rev151009.BgpStdCommunityType
- All Implemented Interfaces:
Serializable
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.TypeObject
,org.opendaylight.yangtools.yang.binding.UnionTypeObject
@Generated("mdsal-binding-generator")
public class BgpStdCommunityType
extends Object
implements org.opendaylight.yangtools.yang.binding.UnionTypeObject, Serializable
This class represents the following YANG schema fragment defined in module openconfig-bgp-types
typedef bgp-std-community-type { type union { type uint32 { range 65536..4294901759; } type string { pattern ([0-9]+:[0-9]+); } } }
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBgpStdCommunityType
(String _string) Creates a copy from Source Object.BgpStdCommunityType
(org.opendaylight.yangtools.yang.common.Uint32 _uint32) -
Method Summary
-
Field Details
-
PATTERN_CONSTANTS
-
-
Constructor Details
-
BgpStdCommunityType
public BgpStdCommunityType(org.opendaylight.yangtools.yang.common.Uint32 _uint32) -
BgpStdCommunityType
-
BgpStdCommunityType
Creates a copy from Source Object.- Parameters:
source
- Source object
-
-
Method Details
-
stringValue
Return a String representing the value of this union.- Returns:
- String representation of this union's value.
-
getUint32
public org.opendaylight.yangtools.yang.common.Uint32 getUint32() -
getString
-
hashCode
public int hashCode() -
equals
-
toString
-