|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.keridwen.core.data.storage.packet.DoubleAccessor
public class DoubleAccessor
Constructor Summary | |
---|---|
DoubleAccessor()
|
Method Summary | |
---|---|
Double |
getContent()
|
Class<?>[] |
getDataTypes()
get the list of data types this accessor can manage |
AccessorId |
getId()
Get the Id |
AccessorMode |
getMode()
tell if the accessor is safe or not |
void |
readSafe(DataPacketSafe<Double> packet)
read data from a DataPacket in safe mode |
void |
safeWrite(DataPacketSafe<Double> packet)
write data to the DataPacket in safe mode |
void |
setContent(Double value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DoubleAccessor()
Method Detail |
---|
public AccessorId getId()
Accessor
getId
in interface Accessor<Double>
Accessor.getId()
public Class<?>[] getDataTypes()
Accessor
getDataTypes
in interface Accessor<Double>
Accessor.getDataTypes()
public void readSafe(DataPacketSafe<Double> packet) throws DataIOException
AccessorSafe
readSafe
in interface AccessorSafe<Double>
DataIOException
org.keridwen.core.data.storage.packet.Accessor#read(org.keridwen.core.data.storage.packet.DataPacket)
public void safeWrite(DataPacketSafe<Double> packet) throws DataIOException
AccessorSafe
safeWrite
in interface AccessorSafe<Double>
DataIOException
org.keridwen.core.data.storage.packet.Accessor#write(org.keridwen.core.data.storage.packet.DataPacket)
public Double getContent()
getContent
in interface AccessorSafe<Double>
public void setContent(Double value)
setContent
in interface AccessorSafe<Double>
value
- the value to setpublic AccessorMode getMode()
Accessor
getMode
in interface Accessor<Double>
org.keridwen.core.data.storage.packet.Accessor#isSafe()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |