GrpcToCaosDBConverters#

public class GrpcToCaosDBConverters#

Utility class for converting GRPC’s native objects into our own CaosDB objects.

Author:

Timm Fitschen

Methods#

convert#

public Role convert(EntityRole role)#

convert#

public EntityInterface convert(Entity from, EntityInterface entity)#

Set the content of entity to that of the grpc message object from. Also return entity at the end.

convertAcls#

public TransactionContainer convertAcls(List<EntityACL> aclsList)#

getUnit#

public Property getUnit(String unitStr)#

getValue#

public Value getValue(String valString)#