Class VoidType
java.lang.Object
net.ssehub.easy.varModel.model.datatypes.BasisDatatype
net.ssehub.easy.varModel.model.datatypes.VoidType
- All Implemented Interfaces:
IDatatype,IDatatypeVisitable
The AnyType is the "Object" of OCL, a type to which all types are compatible.
We need this type to specify generic operations (return values)
- Author:
- Holger Eichelberger
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final DelegatingTypestatic final IDatatype -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(IDatatypeVisitor visitor) Accepts a specialized visitor for creating a textual representation of the identity of this type.booleanisAssignableFrom(IDatatype type) Determines if the data type represented by this object is either the same as, or is a supertype oftype.Methods inherited from class net.ssehub.easy.varModel.model.datatypes.BasisDatatype
getGenericType, getGenericTypeCount, getName, getNameSpace, getOperation, getOperationCount, getQualifiedName, getType, getTypeClass, getUniqueName, isPrimitive, isPseudoType
-
Field Details
-
DTYPE
-
TYPE
-
-
Constructor Details
-
VoidType
private VoidType()Constructor for a new VoidType.
-
-
Method Details
-
isAssignableFrom
Description copied from class:BasisDatatypeDetermines if the data type represented by this object is either the same as, or is a supertype oftype.- Specified by:
isAssignableFromin interfaceIDatatype- Overrides:
isAssignableFromin classBasisDatatype- Parameters:
type- the type being checked- Returns:
trueif this type is either the same or a supertype oftype,trueelse
-
accept
Description copied from interface:IDatatypeVisitableAccepts a specialized visitor for creating a textual representation of the identity of this type.- Specified by:
acceptin interfaceIDatatypeVisitable- Specified by:
acceptin classBasisDatatype- Parameters:
visitor- the visitor to accept
-