java.lang.Object
org.palladiosimulator.protocom.lang.java.util.DataTypes

public class DataTypes extends Object
Utility class for creating datatype strings. Inspired by the old datatype xpand template.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static String
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DataTypes

      public DataTypes()
  • Method Details

    • _getDataType

      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.
    • _getDataType

      protected static String _getDataType(Void d)
      Handles "void" as return type.
    • _getDataType

      protected static String _getDataType(org.palladiosimulator.pcm.repository.PrimitiveDataType d)
      Primitive types can directly be resolved.
    • _getDataType2

      protected static String _getDataType2(org.palladiosimulator.pcm.repository.DataType d)
    • _getDataType2

      protected static String _getDataType2(org.palladiosimulator.pcm.repository.PrimitiveDataType d)
      Primitive types can directly be resolved.
    • _getDataType

      protected static String _getDataType(org.palladiosimulator.pcm.repository.CollectionDataType d)
      Collection data types can directly be resolved by their name.
    • _getDataType

      protected static String _getDataType(org.palladiosimulator.pcm.repository.CompositeDataType d)
      Composite data types can directly be resolved by their name.
    • _getReturnDataType

      protected static String _getReturnDataType(org.palladiosimulator.pcm.repository.Signature s)
    • _getReturnDataType

      protected static String _getReturnDataType(org.palladiosimulator.pcm.repository.OperationSignature s)
    • _getReturnDataType

      protected static String _getReturnDataType(org.palladiosimulator.pcm.repository.InfrastructureSignature s)
    • _getReturnDataType

      protected static String _getReturnDataType(org.palladiosimulator.pcm.repository.EventType s)
      TODO Implement EventTypes?
    • getDataType

      public static String getDataType(org.palladiosimulator.pcm.repository.DataType d)
    • getDataType2

      public static String getDataType2(org.palladiosimulator.pcm.repository.DataType d)
    • getReturnDataType

      public static String getReturnDataType(org.palladiosimulator.pcm.repository.Signature s)