Package com.nomagic.magicdraw.properties
Class DateTimeProperty
java.lang.Object
com.nomagic.magicdraw.properties.Property
com.nomagic.magicdraw.properties.StringProperty
com.nomagic.magicdraw.properties.DateTimeProperty
- All Implemented Interfaces:
 PropertyVisitorAcceptor,Cloneable
- 
Field Summary
Fields inherited from class com.nomagic.magicdraw.properties.Property
DEFAULT_PROPERTY_RESOURCE_PROVIDER, EDITABLE, NULL, NULL_ID_PROPERTY_RESOURCE_PROVIDER, TO, UNDEFINED, VALUE, VALUE_ANNOTATIONS - 
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.DateTimeProperty(String id, Object value, boolean multiline, Type type) Deprecated.DateTimeProperty(String id, String value, boolean multiline, Type type)  - 
Method Summary
Methods inherited from class com.nomagic.magicdraw.properties.StringProperty
getString, getValueStringRepresentation, isMultiline, setMultiline, setValueMethods inherited from class com.nomagic.magicdraw.properties.Property
_getValue, _isFrozen, _setFrozen, _setValue, addAnnotation, addPropertyChangeListener, addSource, addSources, areEqualByValue, areValuesEqual, checkFrozen, checkFrozen, createCellEditor, createTableCellRenderer, equals, firePropertyChange, generateDefaultDescriptionID, getAdditionalProperties, getAdditionalProperty, getAnnotation, getAnnotations, getDescription, getDescriptionID, getFirstElementFromSources, getGroup, getID, getIntroductoryVersion, getName, getNonEditableReason, getProjectFromSourcesOrActive, getPureDescription, getResourceProvider, getResourceProviderID, getSortableValueStringRepresentation, getSourceAsElement, getSources, getSourcesAsStream, getUndefinedString, getUndefinedString, getValue, hashCode, isEditable, isUndefinedState, isValueCompatible, removeAnnotation, removePropertyChangeListener, setAdditionalProperties, setAdditionalProperty, setAnnotations, setDescription, setDescriptionID, setEditable, setGroup, setID, setIntroductoryVersion, setNonEditableReason, setResourceProvider, setResourceProviderID, setSources, setUndefinedState, toString 
- 
Constructor Details
- 
DateTimeProperty
public DateTimeProperty()Default constructor. Value of the property will be null. ID will be empty string. Property is editable. - 
DateTimeProperty
@Deprecated public DateTimeProperty(String id, @CheckForNull Object value, boolean multiline, @CheckForNull Type type) Deprecated. - 
DateTimeProperty
 
 - 
 - 
Method Details
- 
getType
Returns type of property- Returns:
 - type of property
 
 - 
accept
Description copied from class:StringPropertyAccepts the given visitor.- Specified by:
 acceptin interfacePropertyVisitorAcceptor- Overrides:
 acceptin classStringProperty- Parameters:
 v- the PropertyVisitor.- Throws:
 Exception
 - 
getClassType
Description copied from class:StringPropertyReturns property class type.- Specified by:
 getClassTypein interfacePropertyVisitorAcceptor- Overrides:
 getClassTypein classStringProperty- Returns:
 - PropertyID.STRING_PROPERTY
 - See Also:
 
 - 
clone
Description copied from class:PropertyClones the property. Clone is not deep, the clone will have the same instance of value. The clone will not have registered PropertyChangeListeners.- Overrides:
 clonein classStringProperty- Returns:
 - the cloned property.
 
 
 - 
 
DateTimeProperty(String, String, boolean, Type)