io.sarl.lang.services
Interface ITypeDefaultValueProvider
All Known Implementing Classes:
TypeDefaultValueProviderImpl
interface ITypeDefaultValueProvider
Replies the default value that is associated to a JvmType.
Action Summary
Modifier and type Action and description
abstract java.lang.Object getDefaultValue(String)
Replies the default value that is associated to the given type.
abstract java.lang.Object getDefaultValue(JvmType)
Replies the default value that is associated to the given type.
abstract java.lang.String getDefaultValueInSarlSyntax(String)
Replies the default value in Sarl syntax and that is associated to the given type.
abstract java.lang.String getDefaultValueInSarlSyntax(JvmType)
Replies the default value in Sarl syntax and that is associated to the given type.
abstract org.eclipse.xtext.xbase.XExpression getDefaultValueXExpression(String,Notifier)
Replies the XExpression for the default value that is associated to the given type.
abstract org.eclipse.xtext.xbase.XExpression getDefaultValueXExpression(JvmType,Notifier)
Replies the XExpression for the default value that is associated to the given type.
Action Details
getDefaultValue(String)
def getDefaultValue(String) : java.lang.Object
Replies the default value that is associated to the given type.
Parameters:
typeName - the name of the type to consider.
Returns:
the default value
getDefaultValue(JvmType)
def getDefaultValue(JvmType) : java.lang.Object
Replies the default value that is associated to the given type.
Parameters:
type - the type to consider.
Returns:
the default value
getDefaultValueInSarlSyntax(String)
def getDefaultValueInSarlSyntax(String) : java.lang.String
Replies the default value in Sarl syntax and that is associated to the given type.
Parameters:
typeName - the name of the type to consider.
Returns:
the default value in Sarl syntax
getDefaultValueInSarlSyntax(JvmType)
def getDefaultValueInSarlSyntax(JvmType) : java.lang.String
Replies the default value in Sarl syntax and that is associated to the given type.
Parameters:
type - the type to consider.
Returns:
the default value in Sarl syntax
getDefaultValueXExpression(String,Notifier)
def getDefaultValueXExpression(String,Notifier) : org.eclipse.xtext.xbase.XExpression
Replies the XExpression for the default value that is associated to the given type.
Parameters:
typeName - the type to consider.
notifier - the context from whic a type must be loaded if needed.
Returns:
the XExpression for the default value
getDefaultValueXExpression(JvmType,Notifier)
def getDefaultValueXExpression(JvmType,Notifier) : org.eclipse.xtext.xbase.XExpression
Replies the XExpression for the default value that is associated to the given type.
Parameters:
type - the type to consider.
notifier - the context from whic a type must be loaded if needed.
Returns:
the XExpression for the default value