java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.entity.owners.norev.EntityName
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 EntityName extends Object implements org.opendaylight.yangtools.yang.binding.UnionTypeObject, Serializable

This class represents the following YANG schema fragment defined in module odl-entity-owners

 typedef entity-name {
   type union {
     type instance-identifier;
     type string {
       length 1..max;
     }
   }
 }
 
See Also:
  • Constructor Details

    • EntityName

      public EntityName(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> _instanceIdentifier)
    • EntityName

      public EntityName(String _string)
    • EntityName

      public EntityName(EntityName 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.
    • getInstanceIdentifier

      public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> getInstanceIdentifier()
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object