Class SignaturePrinter


public class SignaturePrinter extends RepositorySwitch<String>
  • Constructor Details

    • SignaturePrinter

      public SignaturePrinter()
  • Method Details

    • caseCollectionDataType

      public String caseCollectionDataType(CollectionDataType object)
      Description copied from class: RepositorySwitch
      Returns the result of interpreting the object as an instance of 'Collection Data Type'. This implementation returns null; returning a non-null result will terminate the switch.
      Overrides:
      caseCollectionDataType in class RepositorySwitch<String>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Collection Data Type'.
      See Also:
    • caseCompositeDataType

      public String caseCompositeDataType(CompositeDataType object)
      Description copied from class: RepositorySwitch
      Returns the result of interpreting the object as an instance of 'Composite Data Type'. This implementation returns null; returning a non-null result will terminate the switch.
      Overrides:
      caseCompositeDataType in class RepositorySwitch<String>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Composite Data Type'.
      See Also:
    • casePrimitiveDataType

      public String casePrimitiveDataType(PrimitiveDataType object)
      Description copied from class: RepositorySwitch
      Returns the result of interpreting the object as an instance of 'Primitive Data Type'. This implementation returns null; returning a non-null result will terminate the switch.
      Overrides:
      casePrimitiveDataType in class RepositorySwitch<String>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Primitive Data Type'.
      See Also:
    • caseParameter

      public String caseParameter(Parameter object)
      Description copied from class: RepositorySwitch
      Returns the result of interpreting the object as an instance of 'Parameter'. This implementation returns null; returning a non-null result will terminate the switch.
      Overrides:
      caseParameter in class RepositorySwitch<String>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Parameter'.
      See Also:
    • caseOperationSignature

      public String caseOperationSignature(OperationSignature object)
      Description copied from class: RepositorySwitch
      Returns the result of interpreting the object as an instance of 'Operation Signature'. This implementation returns null; returning a non-null result will terminate the switch.
      Overrides:
      caseOperationSignature in class RepositorySwitch<String>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Operation Signature'.
      See Also:
    • caseInfrastructureSignature

      public String caseInfrastructureSignature(InfrastructureSignature object)
      Description copied from class: RepositorySwitch
      Returns the result of interpreting the object as an instance of 'Infrastructure Signature'. This implementation returns null; returning a non-null result will terminate the switch.
      Overrides:
      caseInfrastructureSignature in class RepositorySwitch<String>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Infrastructure Signature'.
      See Also: