@OpenApiAll public class DateTimeProperty extends StringProperty
DEFAULT_PROPERTY_RESOURCE_PROVIDER, EDITABLE, mAdditionalProperties, mDescriptionID, mEditable, mGroupName, mID, mResourceProvider, mSources, mSupport, mUndefinedState, mValue, NULL, NULL_ID_PROPERTY_RESOURCE_PROVIDER, UNDEFINED, VALUE
Constructor and Description |
---|
DateTimeProperty()
Default constructor.
|
DateTimeProperty(java.lang.String id,
java.lang.Object value,
boolean multiline,
Type type) |
Modifier and Type | Method and Description |
---|---|
void |
accept(PropertyVisitor v)
Accepts the given visitor.
|
java.lang.String |
getClassType()
Returns property class type.
|
Type |
getType()
Returns type of property
|
static boolean |
isDateTimeType(Type type)
Check if type is date type
|
getString, getValueStringRepresentation, isMultiline, setMultiline
_isFrozen, _setFrozen, addPropertyChangeListener, addSource, addSources, areValuesEqual, clone, createCellEditor, createEditor, createTableCellRenderer, equals, firePropertyChange, generateDefaultDescriptionID, getAdditionalProperties, getAdditionalProperty, getDescription, getDescriptionID, getGroup, getID, getName, getNonEditableReason, getPureDescription, getResourceProvider, getResourceProviderID, getSources, getUndefinedString, getUndefinedString, getValue, hashCode, isEditable, isUndefinedState, removePropertyChangeListener, setAdditionalProperties, setAdditionalProperty, setDescription, setDescriptionID, setEditable, setGroup, setID, setNonEditableReason, setResourceProvider, setResourceProviderID, setSources, setUndefinedState, setValue, toString
public DateTimeProperty()
public DateTimeProperty(java.lang.String id, @CheckForNull java.lang.Object value, boolean multiline, @CheckForNull Type type)
public Type getType()
public void accept(PropertyVisitor v) throws java.lang.Exception
accept
in interface PropertyVisitorAcceptor
accept
in class StringProperty
v
- the PropertyVisitor.java.lang.Exception
public java.lang.String getClassType()
getClassType
in interface PropertyVisitorAcceptor
getClassType
in class StringProperty
PropertyID.DATETIME_PROPERTY
public static boolean isDateTimeType(Type type)
type
- of property