java.lang.Object
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.policy.types.rev151009.TagType
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 TagType extends Object implements org.opendaylight.yangtools.yang.binding.UnionTypeObject, Serializable

This class represents the following YANG schema fragment defined in module openconfig-policy-types

 typedef tag-type {
   type union {
     type uint32;
     type yang:hex-string;
   }
 }
 
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final List<String>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    TagType(TagType source)
    Creates a copy from Source Object.
    TagType(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.HexString _hexString)
     
    TagType(org.opendaylight.yangtools.yang.common.Uint32 _uint32)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
     
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.HexString
     
    org.opendaylight.yangtools.yang.common.Uint32
     
    int
     
    Return a String representing the value of this union.
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • PATTERN_CONSTANTS

      public static final List<String> PATTERN_CONSTANTS
  • Constructor Details

    • TagType

      public TagType(org.opendaylight.yangtools.yang.common.Uint32 _uint32)
    • TagType

      public TagType(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.HexString _hexString)
    • TagType

      public TagType(TagType source)
      Creates a copy from Source Object.
      Parameters:
      source - Source object
  • Method Details

    • stringValue

      public String 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()
    • getHexString

      public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.HexString getHexString()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object