Interface DecimalFloatLiteral
- All Superinterfaces:
AdditiveExpressionChild,AndExpressionChild,AnnotationValue,ArrayInitializationValue,AssignmentExpressionChild,Commentable,ConditionalAndExpressionChild,ConditionalExpressionChild,ConditionalOrExpressionChild,EObject,EqualityExpressionChild,ExclusiveOrExpressionChild,Expression,FloatLiteral,InclusiveOrExpressionChild,InstanceOfExpressionChild,LambdaBody,Literal,MethodReferenceExpressionChild,MultiplicativeExpressionChild,Notifier,PrimaryExpression,RelationExpressionChild,ShiftExpressionChild,UnaryExpressionChild,UnaryModificationExpressionChild
- All Known Implementing Classes:
DecimalFloatLiteralImpl
A representation of the model object 'Decimal Float Literal'.
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
-
Method Summary
Modifier and TypeMethodDescriptionfloatReturns the value of the 'Decimal Value' attribute.voidsetDecimalValue(float value) Sets the value of the 'Decimal Value' attribute.Methods inherited from interface org.emftext.language.java.commons.Commentable
addAfterContainingStatement, addBeforeContainingStatement, getAnnotationInterface, getChildrenByEType, getChildrenByType, getClassClass, getConcreteClassifier, getConcreteClassifiers, getContainingAnnotationInstance, getContainingAnonymousClass, getContainingCompilationUnit, getContainingConcreteClassifier, getContainingContainerName, getContainingPackageName, getFirstChildByEType, getFirstChildByType, getLayoutInformations, getLibClass, getLibInterface, getObjectClass, getParentByEType, getParentByType, getParentConcreteClassifier, getStringClassMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.emftext.language.java.expressions.Expression
getAlternativeType, getArrayDimension, getOneTypeReference, getTypeMethods inherited from interface org.emftext.language.java.literals.Literal
getOneTypeMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getDecimalValue
float getDecimalValue()Returns the value of the 'Decimal Value' attribute.- Returns:
- the value of the 'Decimal Value' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true"
-
setDecimalValue
void setDecimalValue(float value) Sets the value of the 'Decimal Value' attribute.- Parameters:
value- the new value of the 'Decimal Value' attribute.- See Also:
- Generated class or method.
-