Class ConfIdentityRef

All Implemented Interfaces:
Serializable, Cloneable

public class ConfIdentityRef extends ConfValue implements Cloneable, Serializable
DATA_CONTAINER - Corresponds to the YANG identityRef type.
See Also:
  • Constructor Details

    • ConfIdentityRef

      public ConfIdentityRef(String nsURI, String tagname)
      Parameters:
      nsURI -
      tagname -
    • ConfIdentityRef

      public ConfIdentityRef(ConfPath path, MountIdInterface mountIdGetter, String prefix, String tagname)
    • ConfIdentityRef

      public ConfIdentityRef(String tagname)
    • ConfIdentityRef

      public ConfIdentityRef(int ns, int tag)
      Parameters:
      ns - Namespace hash
      tag - tagHash
    • ConfIdentityRef

      public ConfIdentityRef(ConfEObject o) throws ConfException
      Throws:
      ConfException
  • Method Details

    • getTagHash

      public int getTagHash()
    • getNSHash

      public int getNSHash()
    • getTag

      public String getTag()
    • getUri

      public String getUri()
    • getConfNamespace

      public ConfNamespace getConfNamespace()
    • setConfNamespace

      public void setConfNamespace(ConfNamespace nsObj)
    • equals

      public boolean equals(Object o)
      Description copied from class: ConfValue
      Determine if two ConfValue are equal. In general, ConfObjects are equal if the components they consist of are equal.
      Specified by:
      equals in class ConfValue
      Parameters:
      o - The object to compare to.
      Returns:
      true if the objects are identical.
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class ConfValue
    • toString

      public String toString()
      Specified by:
      toString in class ConfValue
      Returns:
      the printable representation of the object.
    • encode

      public ConfEObject encode()
      Description copied from class: ConfValue
      encode value.
      Specified by:
      encode in class ConfValue