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, setWritable
public DatePropertyDefinition()
public DatePropertyDefinition(boolean showTime)
public boolean isShowTime()
public void setShowTime(boolean showTime)
public FormPropertyDefinition clone()
FormPropertyDefinition
FormPropertyDefinition
instance.clone
in class FormPropertyDefinition
public void setValues(FormPropertyDefinition otherDefinition)
FormPropertyDefinition
FormPropertyDefinition
instance based in the
properties present in the given definition.setValues
in class FormPropertyDefinition
Copyright © 2016 Alfresco. All rights reserved.