Class GenericObjectProtoHelper
java.lang.Object
com.inductiveautomation.ignition.gateway.storeforward.serialization.util.GenericObjectProtoHelper
A utility class
that provides methods for converting between
GenericObjectProto.GenericObjectPB
objects and other types of objects.-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
Converts aGenericObjectProto.GenericObjectPB
object to an object of any type.toGenericObjectPB
(Object object) Converts an object of any type to aGenericObjectProto.GenericObjectPB
object.
-
Method Details
-
toGenericObjectPB
Converts an object of any type to aGenericObjectProto.GenericObjectPB
object.- Parameters:
object
- the object to convert- Returns:
- the converted
GenericObjectProto.GenericObjectPB
object
-
fromGenericObjectPB
Converts aGenericObjectProto.GenericObjectPB
object to an object of any type.- Parameters:
objectPB
- theGenericObjectProto.GenericObjectPB
object to convert- Returns:
- the converted object
-