Class VlanRef

  • All Implemented Interfaces:
    Serializable, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.TypeObject

    @Generated("mdsal-binding-generator")
    public class VlanRef
    extends Object
    implements org.opendaylight.yangtools.yang.binding.TypeObject, Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • VlanRef

        public VlanRef​(VlanId _vlanId)
      • VlanRef

        public VlanRef​(String _string)
      • VlanRef

        public VlanRef​(VlanRef 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.
      • getVlanId

        public VlanId getVlanId()
      • getString

        public String getString()
      • hashCode

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

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