Class KeyValueEntity

java.lang.Object
io.jmix.core.entity.KeyValueEntity
All Implemented Interfaces:
Entity, HasInstanceMetaClass, Serializable

public class KeyValueEntity extends Object implements HasInstanceMetaClass, Entity
Entity that contains a variable set of attributes. For example:
 KeyValueEntity company = new KeyValueEntity();
 company.setValue("email", "info@globex.com");
 company.setValue("name", "Globex Corporation");

 KeyValueEntity person = new KeyValueEntity();
 person.setValue("email", "homer.simpson@mail.com");
 person.setValue("firstName", "Homer");
 person.setValue("lastName", "Simpson");
 
See Also: