org.pm4j.core.pm
Interface PmAttrDate

All Superinterfaces:
java.lang.Comparable<PmObject>, PmAttr<java.util.Date>, PmDataInput, PmObject
All Known Implementing Classes:
PmAttrDateBase, PmAttrDateBase.WithFormatTooltip, PmAttrDateImpl

public interface PmAttrDate
extends PmAttr<java.util.Date>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.pm4j.core.pm.PmAttr
PmAttr.Converter<T>
 
Field Summary
static java.lang.String RESKEY_DEFAULT_FORMAT_PATTERN
          The default format resource key as defined in the Resources_xx.properties file of the pm4j Project.
 
Fields inherited from interface org.pm4j.core.pm.PmObject
STYLE_CLASS_DISABLED, STYLE_CLASS_ERROR, STYLE_CLASS_INFO, STYLE_CLASS_REQUIRED, STYLE_CLASS_WARN
 
Method Summary
 java.lang.String getOutputFormat()
          The last format definition provided by the format resource definition.
E.g.
 
Methods inherited from interface org.pm4j.core.pm.PmAttr
getFormatString, getMaxLen, getMinLen, getOptionSet, getValue, getValueAsString, getValueLocalized, isPmValueChanged, isRequired, resetPmValues, setPmValueChanged, setValue, setValueAsString
 
Methods inherited from interface org.pm4j.core.pm.PmDataInput
commitBufferedPmChanges, isBufferedPmValueMode, pmValidate, rollbackBufferedPmChanges
 
Methods inherited from interface org.pm4j.core.pm.PmObject
accept, canSetPmTitle, compareTo, getPmConversation, getPmIconPath, getPmName, getPmParent, getPmProperty, getPmRelativeName, getPmShortTitle, getPmStyleClasses, getPmTitle, getPmTooltip, isPmEnabled, isPmReadonly, isPmValid, isPmVisible, setPmEnabled, setPmParent, setPmProperty, setPmTitle, setPmVisible
 

Field Detail

RESKEY_DEFAULT_FORMAT_PATTERN

static final java.lang.String RESKEY_DEFAULT_FORMAT_PATTERN
The default format resource key as defined in the Resources_xx.properties file of the pm4j Project.

If that key was not found, the fix pattern defined in #FALLBACK_FORMAT_PATTERN will be used.

See Also:
Constant Field Values
Method Detail

getOutputFormat

java.lang.String getOutputFormat()
The last format definition provided by the format resource definition.
E.g. 'myElem.myAttr_format=yyyy.MM.dd;y.M.d' would return here 'y.M.d'

Is used for the method PmAttr.getValueAsString().

It is also intended to be used by UI help constructs such as calendar popups which provide their data as strings.

Returns:
The last item of the result of #getParseFormats()