public class DevicePropDesc<T>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DevicePropDesc.FormFlag |
static class |
DevicePropDesc.RangeForm<T> |
Constructor and Description |
---|
DevicePropDesc(UINT16 devicePropCode,
DataType dataType,
boolean isReadonly,
T defaultValue,
T currentValue,
DevicePropDesc.FormFlag formFlag,
DevicePropDesc.RangeForm<T> rangeForm,
java.util.List<T> enumForm) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
T |
getCurrentValue() |
DataType |
getDataType() |
T |
getDefaultValue() |
UINT16 |
getDevicePropCode() |
java.util.List<T> |
getEnumForm() |
DevicePropDesc.FormFlag |
getFormFlag() |
DevicePropDesc.RangeForm |
getRangeForm() |
int |
hashCode() |
boolean |
isReadonly() |
static DevicePropDesc<?> |
read(java.io.InputStream is) |
static DevicePropDesc<?> |
read(PtpInputStream pis) |
java.lang.String |
toString() |
public DevicePropDesc(UINT16 devicePropCode, DataType dataType, boolean isReadonly, T defaultValue, T currentValue, DevicePropDesc.FormFlag formFlag, DevicePropDesc.RangeForm<T> rangeForm, java.util.List<T> enumForm)
public static DevicePropDesc<?> read(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public static DevicePropDesc<?> read(PtpInputStream pis) throws java.io.IOException
java.io.IOException
public UINT16 getDevicePropCode()
public DataType getDataType()
public boolean isReadonly()
public T getDefaultValue()
public T getCurrentValue()
public DevicePropDesc.FormFlag getFormFlag()
public DevicePropDesc.RangeForm getRangeForm()
public java.util.List<T> getEnumForm()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object