public class DurationPropertyModel extends AbstractMutablePropertyModel<JSTimeInterval,DurationPropertyDTO>
C_CONST_ERROR_PREFIX, C_CONST_HINTS_PREFIX, C_CONST_KEY_PREFIX| Constructor and Description |
|---|
DurationPropertyModel(DurationPropertyDTO field,
String name,
EntityModel entity) |
| Modifier and Type | Method and Description |
|---|---|
JSTimeInterval |
convertToJSObject(com.google.gwt.json.client.JSONValue jv,
EntityManager em) |
JSTimeInterval |
getDefaultValue() |
DurationFormat |
getFormat() |
DurationPrecision |
getMaxItem() |
DurationPrecision |
getPrecision() |
JSTimeInterval |
getValue(JSEntity entity) |
getAsNameIndex, getEnabledCondition, isReadonly, isReadonly, isRequiredgetDisplayHint, getDisplayName, getDTO, getEntityModelWrapper, getJSONValue, getName, getValue, isId, isValidpublic DurationPropertyModel(DurationPropertyDTO field, String name, EntityModel entity)
public DurationFormat getFormat()
public DurationPrecision getPrecision()
public DurationPrecision getMaxItem()
public JSTimeInterval getValue(JSEntity entity)
public JSTimeInterval convertToJSObject(com.google.gwt.json.client.JSONValue jv, EntityManager em)
public JSTimeInterval getDefaultValue()
Copyright © 2018. All rights reserved.