CaosDBToGrpcConverters
- public class CaosDBToGrpcConverters
Constructors
CaosDBToGrpcConverters
Methods
appendMessages
- public void appendMessages(EntityInterface from, org.caosdb.api.entity.v1.EntityResponse.Builder builder)
appendMessages
- public void appendMessages(EntityInterface from, org.caosdb.api.entity.v1.IdResponse.Builder builder)
convert
- public EntityResponse.Builder convert(EntityInterface from)
convert
convert
convert
convert
convert
convert
- public Iterable<? extends Parent> convert(ParentContainer from)
convertACL
- public EntityACL convertACL(EntityInterface e)
convertProperties
- public Iterable<? extends org.caosdb.api.entity.v1.Property> convertProperties(EntityInterface from)
convertScalarValue
convertSelectResult
- public org.caosdb.api.entity.v1.SelectQueryResult.Builder convertSelectResult(RetrieveContainer container)
getMessageCode
getSelectedValue
- org.caosdb.api.entity.v1.Value.Builder getSelectedValue(Selection s, EntityInterface e)
getStringUnit
- public String getStringUnit(EntityInterface entity)
Get the unit as string.