Class DataTypes
java.lang.Object
org.palladiosimulator.protocom.lang.java.util.DataTypes
Utility class for creating datatype strings. Inspired by the old datatype xpand template.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static String
_getDataType
(Void d) Handles "void" as return type.protected static String
_getDataType
(org.palladiosimulator.pcm.repository.CollectionDataType d) Collection data types can directly be resolved by their name.protected static String
_getDataType
(org.palladiosimulator.pcm.repository.CompositeDataType d) Composite data types can directly be resolved by their name.protected static String
_getDataType
(org.palladiosimulator.pcm.repository.DataType d) If this method is called, an error occured because every possible data type should be covered.protected static String
_getDataType
(org.palladiosimulator.pcm.repository.PrimitiveDataType d) Primitive types can directly be resolved.protected static String
_getDataType2
(org.palladiosimulator.pcm.repository.DataType d) protected static String
_getDataType2
(org.palladiosimulator.pcm.repository.PrimitiveDataType d) Primitive types can directly be resolved.protected static String
_getReturnDataType
(org.palladiosimulator.pcm.repository.EventType s) TODO Implement EventTypes?protected static String
_getReturnDataType
(org.palladiosimulator.pcm.repository.InfrastructureSignature s) protected static String
_getReturnDataType
(org.palladiosimulator.pcm.repository.OperationSignature s) protected static String
_getReturnDataType
(org.palladiosimulator.pcm.repository.Signature s) static String
getDataType
(org.palladiosimulator.pcm.repository.DataType d) static String
getDataType2
(org.palladiosimulator.pcm.repository.DataType d) static String
getReturnDataType
(org.palladiosimulator.pcm.repository.Signature s)
-
Constructor Details
-
DataTypes
public DataTypes()
-
-
Method Details
-
_getDataType
If this method is called, an error occured because every possible data type should be covered. -
_getDataType
Handles "void" as return type. -
_getDataType
Primitive types can directly be resolved. -
_getDataType2
-
_getDataType2
Primitive types can directly be resolved. -
_getDataType
Collection data types can directly be resolved by their name. -
_getDataType
Composite data types can directly be resolved by their name. -
_getReturnDataType
-
_getReturnDataType
protected static String _getReturnDataType(org.palladiosimulator.pcm.repository.OperationSignature s) -
_getReturnDataType
protected static String _getReturnDataType(org.palladiosimulator.pcm.repository.InfrastructureSignature s) -
_getReturnDataType
TODO Implement EventTypes? -
getDataType
-
getDataType2
-
getReturnDataType
-