|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface adds information to the DataMap
interface that are used for serializing the map's content.
Registered data maps that implement this interface and return true
in their isAutoSerialize
method are auto serialized by the GraphRoundtripSupport
if its isAutoWriteMapperData
property
is true
as well.
GraphRoundtripSupportBase.setAutoWriteMapperData(boolean)
,
GraphRoundtripSupportBase.isAutoWriteMapperData()
Method Summary | |
java.lang.String |
getName()
The value of the attr.name property of the key element this data map is serialized to. |
KeyScope |
getScope()
The scope this data map be serialized for. |
KeyType |
getType()
The type of the data in this data map. |
boolean |
isAutoSerialize()
Whether the content of this data map shall be auto serialized by the GraphRoundtripSupport. |
Methods inherited from interface y.base.DataProvider |
get, getBool, getDouble, getInt |
Methods inherited from interface y.base.DataAcceptor |
set, setBool, setDouble, setInt |
Method Detail |
public java.lang.String getName()
public KeyScope getScope()
public KeyType getType()
public boolean isAutoSerialize()
true
if it shall be auto-serialized, false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |