Class InterfaceNameOrIndex
- java.lang.Object
-
- org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.v3po.rev170607.InterfaceNameOrIndex
-
- All Implemented Interfaces:
java.io.Serializable
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.TypeObject
public class InterfaceNameOrIndex extends java.lang.Object implements org.opendaylight.yangtools.yang.binding.TypeObject, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InterfaceNameOrIndex(java.lang.String _string)
InterfaceNameOrIndex(InterfaceNameOrIndex source)
Creates a copy from Source Object.InterfaceNameOrIndex(org.opendaylight.yangtools.yang.common.Uint32 _uint32)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getString()
org.opendaylight.yangtools.yang.common.Uint32
getUint32()
int
hashCode()
java.lang.String
stringValue()
Return a String representing the value of this union.java.lang.String
toString()
-
-
-
Constructor Detail
-
InterfaceNameOrIndex
public InterfaceNameOrIndex(java.lang.String _string)
-
InterfaceNameOrIndex
public InterfaceNameOrIndex(org.opendaylight.yangtools.yang.common.Uint32 _uint32)
-
InterfaceNameOrIndex
public InterfaceNameOrIndex(InterfaceNameOrIndex source)
Creates a copy from Source Object.- Parameters:
source
- Source object
-
-
Method Detail
-
stringValue
public java.lang.String stringValue()
Return a String representing the value of this union.- Returns:
- String representation of this union's value.
-
getString
public java.lang.String getString()
-
getUint32
public org.opendaylight.yangtools.yang.common.Uint32 getUint32()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public final boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-