public abstract class AbstractPropertyModel<T extends IJSObject,D extends AbstractPropertyDTO> extends Object implements IPropertyDescriptor<T>
| Modifier and Type | Field and Description |
|---|---|
static String |
C_CONST_ERROR_PREFIX |
static String |
C_CONST_HINTS_PREFIX |
static String |
C_CONST_KEY_PREFIX |
| Constructor and Description |
|---|
AbstractPropertyModel(D model,
String name,
EntityModel entity) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayHint(String viewName) |
String |
getDisplayName(String viewName) |
protected D |
getDTO() |
EntityModel |
getEntityModelWrapper() |
com.google.gwt.json.client.JSONValue |
getJSONValue(com.google.gwt.json.client.JSONObject entity) |
String |
getName() |
T |
getValue(com.google.gwt.json.client.JSONObject entity,
EntityManager em) |
boolean |
isId() |
boolean |
isValid() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertToJSObject, getAsNameIndex, getDefaultValue, getEnabledCondition, getValue, isReadonly, isRequiredpublic static final String C_CONST_KEY_PREFIX
public static final String C_CONST_HINTS_PREFIX
public static final String C_CONST_ERROR_PREFIX
public AbstractPropertyModel(D model, String name, EntityModel entity)
protected D getDTO()
public EntityModel getEntityModelWrapper()
getEntityModelWrapper in interface IPropertyDescriptor<T extends IJSObject>public String getName()
getName in interface IPropertyDescriptor<T extends IJSObject>public com.google.gwt.json.client.JSONValue getJSONValue(com.google.gwt.json.client.JSONObject entity)
getJSONValue in interface IPropertyDescriptor<T extends IJSObject>public final T getValue(com.google.gwt.json.client.JSONObject entity, EntityManager em)
getValue in interface IPropertyDescriptor<T extends IJSObject>public String getDisplayName(String viewName)
getDisplayName in interface IPropertyDescriptor<T extends IJSObject>public String getDisplayHint(String viewName)
getDisplayHint in interface IPropertyDescriptor<T extends IJSObject>public boolean isId()
isId in interface IPropertyDescriptor<T extends IJSObject>public boolean isValid()
isValid in interface IPropertyDescriptor<T extends IJSObject>Copyright © 2018. All rights reserved.