Class MethodInterfaceDescription

java.lang.Object
de.fraunhofer.iese.mydata.common.MyDataEntity
de.fraunhofer.iese.mydata.component.information.method.MethodInterfaceDescription

@Entity public class MethodInterfaceDescription extends MyDataEntity
Describes an interface of a method. Contains of a name, a list of parameters and a return type.
Author:
Fraunhofer IESE
  • Field Details

    • id

      protected Long id
      The component_id.
    • methodName

      @NotBlank protected @NotBlank String methodName
      The name of the method.
    • description

      protected String description
      A description of the method.
    • returnType

      @NotBlank protected @NotBlank String returnType
      The return type of the method.
    • pipComponentInformation

      protected PipComponentInformation pipComponentInformation
    • pepComponentInformation

      protected PepComponentInformation pepComponentInformation
    • pxpComponentInformation

      protected PxpComponentInformation pxpComponentInformation
  • Constructor Details

    • MethodInterfaceDescription

      public MethodInterfaceDescription(String methodName, Class<?> returnType, String description)
      Instantiates a new interface description.
      Parameters:
      methodName - name of the method
      returnType - return type of the method
      description - description of the method
    • MethodInterfaceDescription

      public MethodInterfaceDescription(String methodName, Class<?> returnType, String description, InputParameterDescription... parameters)
      Instantiates a new interface description.
      Parameters:
      methodName - name of the method
      returnType - return type of the method
      description - description of the method
      parameters - a list of parameters for the method
    • MethodInterfaceDescription

      public MethodInterfaceDescription(String methodName, Class<?> returnType, String description, @Nonnull List<InputParameterDescription> parameters)
      Instantiates a new interface description.
      Parameters:
      methodName - name of the method
      returnType - return type of the method
      description - description of the method
      parameters - a list of parameters for the method
  • Method Details