public abstract class AbstractPropertyModel<T extends IJSObject> extends Object implements IPropertyDesc<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(PropertyModelDTO model,
String name,
EntityModel entity) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.user.cellview.client.Column<JSEntity,?> |
createTableColumn() |
Integer |
getAsNameIndex() |
String |
getDisplayHint(String viewName) |
String |
getDisplayName(String viewName) |
String |
getEnabledCondition() |
EntityModel |
getEntityModelWrapper() |
String |
getError(String code,
String viewName) |
String |
getName() |
int |
getOrderInListView(String viewName) |
FieldType |
getType() |
com.google.gwt.json.client.JSONValue |
getValue(com.google.gwt.json.client.JSONObject entity) |
T |
getValue(com.google.gwt.json.client.JSONObject entity,
EntityManager em) |
FormViewAttributesDTO |
isInFormView(String viewName) |
ListViewAttributesDTO |
isInListView(String viewName) |
boolean |
isReadonly() |
boolean |
isReadonly(boolean isNewObject) |
boolean |
isRequired() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertToJSObject, createEditor, getDefaultValue, getRawValuepublic 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(PropertyModelDTO model, String name, EntityModel entity)
public boolean isRequired()
isRequired in interface IPropertyDesc<T extends IJSObject>public com.google.gwt.json.client.JSONValue getValue(com.google.gwt.json.client.JSONObject entity)
getValue in interface IPropertyDesc<T extends IJSObject>public final T getValue(com.google.gwt.json.client.JSONObject entity, EntityManager em)
getValue in interface IPropertyDesc<T extends IJSObject>public Integer getAsNameIndex()
getAsNameIndex in interface IPropertyDesc<T extends IJSObject>public EntityModel getEntityModelWrapper()
getEntityModelWrapper in interface IPropertyDesc<T extends IJSObject>public FieldType getType()
getType in interface IPropertyDesc<T extends IJSObject>public String getName()
getName in interface IPropertyDesc<T extends IJSObject>public boolean isReadonly()
public boolean isReadonly(boolean isNewObject)
isReadonly in interface IPropertyDesc<T extends IJSObject>public ListViewAttributesDTO isInListView(String viewName)
isInListView in interface IPropertyDesc<T extends IJSObject>public FormViewAttributesDTO isInFormView(String viewName)
isInFormView in interface IPropertyDesc<T extends IJSObject>public int getOrderInListView(String viewName)
getOrderInListView in interface IPropertyDesc<T extends IJSObject>public com.google.gwt.user.cellview.client.Column<JSEntity,?> createTableColumn()
createTableColumn in interface IPropertyDesc<T extends IJSObject>public String getDisplayName(String viewName)
getDisplayName in interface IPropertyDesc<T extends IJSObject>public String getDisplayHint(String viewName)
getDisplayHint in interface IPropertyDesc<T extends IJSObject>public String getEnabledCondition()
getEnabledCondition in interface IPropertyDesc<T extends IJSObject>Copyright © 2018. All rights reserved.