Interface MultipartReplyDesc
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<MultipartReplyDesc>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<MultipartReply>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface MultipartReplyDesc extends org.opendaylight.yangtools.yang.binding.ChildOf<MultipartReply>, org.opendaylight.yangtools.yang.binding.Augmentable<MultipartReplyDesc>
This class represents the following YANG schema fragment defined in module openflow-protocol
container multipart-reply-desc { leaf mfr_desc { type string; } leaf hw_desc { type string; } leaf sw_desc { type string; } leaf serial_num { type string; } leaf dp_desc { type string; } }
The schema path to identify an instance is openflow-protocolmultipart-replymultipart-reply-bodymultipart-reply-desc-casemultipart-reply-descTo create instances of this class use
MultipartReplyDescBuilder
.- See Also:
MultipartReplyDescBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static boolean
bindingEquals(@NonNull MultipartReplyDesc thisObj, Object obj)
Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode(@NonNull MultipartReplyDesc obj)
Default implementation ofObject.hashCode()
contract for this interface.static String
bindingToString(@NonNull MultipartReplyDesc obj)
Default implementation ofObject.toString()
contract for this interface.String
getDpDesc()
Return dpDesc, ornull
if it is not present.String
getHwDesc()
Return hwDesc, ornull
if it is not present.String
getMfrDesc()
Return mfrDesc, ornull
if it is not present.String
getSerialNum()
Return serialNum, ornull
if it is not present.String
getSwDesc()
Return swDesc, ornull
if it is not present.default Class<MultipartReplyDesc>
implementedInterface()
default @NonNull String
requireDpDesc()
Return dpDesc, guaranteed to be non-null.default @NonNull String
requireHwDesc()
Return hwDesc, guaranteed to be non-null.default @NonNull String
requireMfrDesc()
Return mfrDesc, guaranteed to be non-null.default @NonNull String
requireSerialNum()
Return serialNum, guaranteed to be non-null.default @NonNull String
requireSwDesc()
Return swDesc, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
default Class<MultipartReplyDesc> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
bindingHashCode
static int bindingHashCode(@NonNull MultipartReplyDesc obj)
Default implementation ofObject.hashCode()
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.- Parameters:
obj
- Object for which to generate hashCode() result.- Returns:
- Hash code value of data modeled by this interface.
- Throws:
NullPointerException
- ifobj
is null
-
bindingEquals
static boolean bindingEquals(@NonNull MultipartReplyDesc thisObj, Object obj)
Default implementation ofObject.equals(Object)
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.- Parameters:
thisObj
- Object acting as the receiver of equals invocationobj
- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
NullPointerException
- ifthisObj
is null
-
bindingToString
static String bindingToString(@NonNull MultipartReplyDesc obj)
Default implementation ofObject.toString()
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.- Parameters:
obj
- Object for which to generate toString() result.- Returns:
String
value of data modeled by this interface.- Throws:
NullPointerException
- ifobj
is null
-
getMfrDesc
String getMfrDesc()
Return mfrDesc, ornull
if it is not present.- Returns:
String
mfrDesc, ornull
if it is not present.
-
requireMfrDesc
default @NonNull String requireMfrDesc()
Return mfrDesc, guaranteed to be non-null.- Returns:
String
mfrDesc, guaranteed to be non-null.- Throws:
NoSuchElementException
- if mfrDesc is not present
-
getHwDesc
String getHwDesc()
Return hwDesc, ornull
if it is not present.- Returns:
String
hwDesc, ornull
if it is not present.
-
requireHwDesc
default @NonNull String requireHwDesc()
Return hwDesc, guaranteed to be non-null.- Returns:
String
hwDesc, guaranteed to be non-null.- Throws:
NoSuchElementException
- if hwDesc is not present
-
getSwDesc
String getSwDesc()
Return swDesc, ornull
if it is not present.- Returns:
String
swDesc, ornull
if it is not present.
-
requireSwDesc
default @NonNull String requireSwDesc()
Return swDesc, guaranteed to be non-null.- Returns:
String
swDesc, guaranteed to be non-null.- Throws:
NoSuchElementException
- if swDesc is not present
-
getSerialNum
String getSerialNum()
Return serialNum, ornull
if it is not present.- Returns:
String
serialNum, ornull
if it is not present.
-
requireSerialNum
default @NonNull String requireSerialNum()
Return serialNum, guaranteed to be non-null.- Returns:
String
serialNum, guaranteed to be non-null.- Throws:
NoSuchElementException
- if serialNum is not present
-
getDpDesc
String getDpDesc()
Return dpDesc, ornull
if it is not present.- Returns:
String
dpDesc, ornull
if it is not present.
-
requireDpDesc
default @NonNull String requireDpDesc()
Return dpDesc, guaranteed to be non-null.- Returns:
String
dpDesc, guaranteed to be non-null.- Throws:
NoSuchElementException
- if dpDesc is not present
-
-