Package com.j_spaces.sadapter.datasource
Interface IDataConverter<I>
- Type Parameters:
I- internal space type e.g. IEntryPacket, EntryHolder...
- All Known Implementing Classes:
EntryPacketDataConverter
public interface IDataConverter<I>
Converts user objects to internal representations.
- Since:
- 6.5
- Author:
- Asy
-
Method Summary
Modifier and TypeMethodDescriptiontoDocument(I entryPacket) toInternal(Object obj) Converts to internal representationConverts from internal representation
-
Method Details
-
toObject
Converts from internal representation- Parameters:
insternalPacket- internal representation- Returns:
- The original user Entry Object
-
toInternal
Converts to internal representation- Parameters:
obj- The object to convert to internal representation- Returns:
- The converted object in internal representation format
- Throws:
RemoteExceptionUnusableEntryExceptionUnknownTypeException
-
toDocument
-