Storage Converter
public abstract class StorageConverter<I, E extends Entity<I, S>, S extends EntityState> implements Serializable
An abstract base for converters of entities into EntityRecord.
Constructors
Link copied to clipboard
protected void StorageConverter(TypeUrl entityStateType, EntityFactory<E> factory, FieldMask fieldMask)
Functions
Link copied to clipboard
Link copied to clipboard
Obtains the entity factory used by the converter.
Link copied to clipboard
Obtains the type URL of the state of entities which this converter builds.
Link copied to clipboard
Derived classes must implement providing state injection into the passed entity.
Link copied to clipboard
Derived classes may override to additionally tune the passed entity builder.
Link copied to clipboard
Creates a copy of this converter modified with the passed filed mask.