public class HardwareVersion extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static HardwareVersion |
get(int value)
Returns the
HardwareVersion object associated to the given
numeric value. |
static HardwareVersion |
get(int value,
String description)
Returns the
HardwareVersion object associated to the given
numeric value and description. |
String |
getDescription()
Returns the Hardware version description.
|
int |
getValue()
Returns the Hardware version numeric value.
|
int |
hashCode() |
String |
toString() |
public static HardwareVersion get(int value)
HardwareVersion object associated to the given
numeric value.value - Numeric value of the HardwareVersion retrieve.HardwareVersion associated to the given value,
null if there is not any HardwareVersion with
that value.public static HardwareVersion get(int value, String description)
HardwareVersion object associated to the given
numeric value and description.value - Numeric value of the HardwareVersion retrieve.description - Description of the HardwareVersion retrieve.HardwareVersion associated to the given value and
description, null if there is not any
HardwareVersion associated to those values.IllegalArgumentException - if value < 0 or
if description.length() < 1.NullPointerException - if description == null.public String getDescription()
public int getValue()
© Copyright 2014?2015 Digi International Inc. All rights reserved.