public class EnumPropertyModel extends AbstractMutablePropertyModel<EnumModel.JSEnumValue,EnumPropertyDTO>
C_CONST_ERROR_PREFIX, C_CONST_HINTS_PREFIX, C_CONST_KEY_PREFIX| Constructor and Description |
|---|
EnumPropertyModel(EnumPropertyDTO field,
String name,
EntityModel entity) |
| Modifier and Type | Method and Description |
|---|---|
EnumModel.JSEnumValue |
convertToJSObject(com.google.gwt.json.client.JSONValue v,
EntityManager em) |
EnumModel.JSEnumValue |
getDefaultValue() |
EnumModel |
getEnumModel() |
String |
getNotSetText() |
EnumModel.JSEnumValue |
getValue(JSEntity entity) |
boolean |
isValid() |
getAsNameIndex, getEnabledCondition, isReadonly, isReadonly, isRequiredgetDisplayHint, getDisplayName, getDTO, getEntityModelWrapper, getJSONValue, getName, getValue, isIdpublic EnumPropertyModel(EnumPropertyDTO field, String name, EntityModel entity)
public EnumModel getEnumModel()
public boolean isValid()
isValid in interface IPropertyDescriptor<EnumModel.JSEnumValue>isValid in class AbstractPropertyModel<EnumModel.JSEnumValue,EnumPropertyDTO>public EnumModel.JSEnumValue convertToJSObject(com.google.gwt.json.client.JSONValue v, EntityManager em)
public String getNotSetText()
public EnumModel.JSEnumValue getValue(JSEntity entity)
public EnumModel.JSEnumValue getDefaultValue()
Copyright © 2018. All rights reserved.