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 ObjectConverts aGenericObjectProto.GenericObjectPBobject to an object of any type.toGenericObjectPB(Object object) Converts an object of any type to aGenericObjectProto.GenericObjectPBobject.
-
Method Details
-
toGenericObjectPB
Converts an object of any type to aGenericObjectProto.GenericObjectPBobject.- Parameters:
object- the object to convert- Returns:
- the converted
GenericObjectProto.GenericObjectPBobject
-
fromGenericObjectPB
Converts aGenericObjectProto.GenericObjectPBobject to an object of any type.- Parameters:
objectPB- theGenericObjectProto.GenericObjectPBobject to convert- Returns:
- the converted object
-