public class DatePropertyDefinition extends FormPropertyDefinition
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
showTime |
displayName, mandatory, name, parameters, type, value, writable| Constructor and Description |
|---|
DatePropertyDefinition()
Creates a new field, showing both time and date components.
|
DatePropertyDefinition(boolean showTime) |
| Modifier and Type | Method and Description |
|---|---|
FormPropertyDefinition |
clone()
Create a close of this
FormPropertyDefinition instance. |
boolean |
isShowTime() |
void |
setShowTime(boolean showTime) |
void |
setValues(FormPropertyDefinition otherDefinition)
Sets the properties of this
FormPropertyDefinition instance based in the
properties present in the given definition. |
cloneParameters, getDisplayName, getName, getParameters, getType, getValue, isMandatory, isWritable, setDisplayName, setMandatory, setName, setParameters, setType, setValue, setWritablepublic DatePropertyDefinition()
public DatePropertyDefinition(boolean showTime)
public boolean isShowTime()
public void setShowTime(boolean showTime)
public FormPropertyDefinition clone()
FormPropertyDefinitionFormPropertyDefinition instance.clone in class FormPropertyDefinitionpublic void setValues(FormPropertyDefinition otherDefinition)
FormPropertyDefinitionFormPropertyDefinition instance based in the
properties present in the given definition.setValues in class FormPropertyDefinitionCopyright © 2016 Alfresco. All rights reserved.