public final class EntityModel extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
EntityModel.EntityModelMapper |
| Constructor and Description |
|---|
EntityModel(EntityModelDTO model,
ConfigurationRegistry registry) |
public EntityModel(EntityModelDTO model, ConfigurationRegistry registry)
public String getTypeDescriminator()
public EntityListView getListView(String name)
public EntityFormView getFormView(String name)
public EntityModel getSubtype(String name)
public List<EntityModel> getInstantiableTypes()
public String getTypeDiscriminatorField()
public boolean isRequiredTypeOnUpdate()
public EntityModel getEntityType(com.google.gwt.json.client.JSONObject json)
public IJSObject getEntityID(com.google.gwt.json.client.JSONObject json, EntityManager em)
public IJSObject getEntityIDFromValue(com.google.gwt.json.client.JSONValue json, EntityManager em)
public List<IPropertyDesc<?>> getDeclaredFields()
public List<IPropertyDesc<?>> getFields()
public Map<String,IPropertyDesc<?>> getFieldsMap()
public IPropertyDesc<?> getField(String name)
public IPropertyDesc<?> findProperty(String name)
public List<IPropertyDesc<?>> getIdFields()
public List<IPropertyDesc<?>> getNameProperties()
public EntityModel getParentModel()
public EntityModel getRootModel()
public boolean isParentType(EntityModel m)
public static EntityModel parseModel(String json, ConfigurationRegistry registry)
public String getKey()
public String getEntityName()
public EntityEditorsDTO getEditorsDTO()
public String getServiceArgId()
public String getServiceArgData()
public String getServiceArgPage()
public String getServiceName()
public String getServiceMethodList()
public String getServiceMethodUpdate()
public String getServiceMethodCreate()
public String getServiceMethodDelete()
public String getServiceMethodGet()
public String getServiceArgPageSize()
public boolean canDelete()
public boolean canCreate()
Copyright © 2018. All rights reserved.