Interface StringFormatSpecifier
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,FormatSpecifier
,IChartObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
StringFormatSpecifierImpl
A representation of the model object 'String
Format Specifier'.
StringFormatSpecifier extends type FormatSpecifier
to devote itself to formatting a string value.
The following features are supported:
-
Method Summary
Modifier and TypeMethodDescriptionFormats a value using the internally defined format specifier rulesReturns the value of the 'Pattern' attribute.void
setPattern
(String value) Sets the value of the 'Pattern
' attribute.Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getPattern
String getPattern()Returns the value of the 'Pattern' attribute. Attribute "Pattern" specifies the format pattern.- Returns:
- the value of the 'Pattern' attribute.
- See Also:
-
setPattern
Sets the value of the 'Pattern
' attribute.- Parameters:
value
- the new value of the 'Pattern' attribute.- See Also:
-
copyInstance
StringFormatSpecifier copyInstance()- Specified by:
copyInstance
in interfaceFormatSpecifier
- Specified by:
copyInstance
in interfaceIChartObject
-
format
Formats a value using the internally defined format specifier rules- Parameters:
dValue
-- Returns:
- A formatted string representation of the string value provided
-