Interface SDataType
-
- All Superinterfaces:
SType
- All Known Subinterfaces:
SEnumeration
,SPrimitiveDataType
public interface SDataType extends SType
Data types define categories of persistable values
-
-
Field Summary
-
Fields inherited from interface org.jetbrains.mps.openapi.language.SType
NOT_A_VALUE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
fromString(String string)
Returns a value of this type that is represented with given string, orSType.NOT_A_VALUE
if there is no value that is represented with given string.String
toString(Object value)
Returns textual representation of given value.-
Methods inherited from interface org.jetbrains.mps.openapi.language.SType
getDefault, isInstanceOf
-
-
-
-
Method Detail
-
fromString
@Nullable Object fromString(@Nullable String string)
Returns a value of this type that is represented with given string, orSType.NOT_A_VALUE
if there is no value that is represented with given string.
-
-