Package net.ssehub.easy.varModel.model
Class ExplicitTypeVariableDeclaration
- java.lang.Object
-
- net.ssehub.easy.varModel.model.ModelElement
-
- net.ssehub.easy.varModel.model.ContainableModelElement
-
- net.ssehub.easy.varModel.model.AbstractVariable
-
- net.ssehub.easy.varModel.model.DecisionVariableDeclaration
-
- net.ssehub.easy.varModel.model.ExplicitTypeVariableDeclaration
-
- All Implemented Interfaces:
IVariable,IDatatypeVisitable,IDerivedDatatypeListener,IAttributableElement,IAttributeAccess,IFreezable,IModelElement
public class ExplicitTypeVariableDeclaration extends DecisionVariableDeclaration
Represents an explicitly typed declarator in a set operation.- Author:
- Holger Eichelberger
-
-
Constructor Summary
Constructors Constructor Description ExplicitTypeVariableDeclaration()Constructor for serialization.ExplicitTypeVariableDeclaration(java.lang.String name, IDatatype type, IModelElement parent)Constructor for explicitly typed variable declarator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisDeclaratorTypeExplicit()In case that this instance is used as a (set operation) declarator, was the type declared explicitly in the model?-
Methods inherited from class net.ssehub.easy.varModel.model.DecisionVariableDeclaration
accept, attribute, getAttribute, getAttribute, getAttributesCount, isAttribute, isConstant, isTemporaryDeclarator, isTemporaryVariable, propagateAttribute
-
Methods inherited from class net.ssehub.easy.varModel.model.AbstractVariable
constraintsChanged, equals, getDefaultValue, getType, hashCode, isSame, setValue, setValue, setValue
-
Methods inherited from class net.ssehub.easy.varModel.model.ContainableModelElement
accept, getNameSpace, getParent, getProject, getQualifiedName, getTopLevelParent, isTopLevel, setParent
-
Methods inherited from class net.ssehub.easy.varModel.model.ModelElement
findAttribute, getComment, getName, getUniqueName, isTransparent, setComment, setName, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.ssehub.easy.varModel.model.IAttributableElement
getName, getQualifiedName
-
Methods inherited from interface net.ssehub.easy.varModel.model.IFreezable
getName, getParent, getType
-
-
-
-
Constructor Detail
-
ExplicitTypeVariableDeclaration
ExplicitTypeVariableDeclaration()
Constructor for serialization.
-
ExplicitTypeVariableDeclaration
public ExplicitTypeVariableDeclaration(java.lang.String name, IDatatype type, IModelElement parent)Constructor for explicitly typed variable declarator.- Parameters:
name- Name of the decision variable declarationtype- type of the new VariableDeclarationparent- the object, in which this specific one is embedded
-
-
Method Detail
-
isDeclaratorTypeExplicit
public boolean isDeclaratorTypeExplicit()
Description copied from class:DecisionVariableDeclarationIn case that this instance is used as a (set operation) declarator, was the type declared explicitly in the model?- Overrides:
isDeclaratorTypeExplicitin classDecisionVariableDeclaration- Returns:
falseif not explicit,trueif explicit
-
-