Class SupportingMappingMethod

    • Constructor Detail

      • SupportingMappingMethod

        public SupportingMappingMethod​(BuiltInMethod method,
                                       Set<Field> existingFields)
      • SupportingMappingMethod

        public SupportingMappingMethod​(HelperMethod method)
    • Method Detail

      • getImportTypes

        public Set<Type> getImportTypes()
        Description copied from class: ModelElement
        Returns a set containing those Types referenced by this model element for which an import statement needs to be declared.
        Overrides:
        getImportTypes in class MappingMethod
        Returns:
        A set with type referenced by this model element. Must not be null.
      • findType

        public Type findType​(String name)
        Finds a Type by a given name. The name will be compared to the fully-qualified and also simple names of the importTypes.
        Parameters:
        name - Fully-qualified or simple name of the type.
        Returns:
        Found type, never null.
        Throws:
        IllegalArgumentException - In case no Type was found for given name.
      • getSupportingField

        public Field getSupportingField()
      • getTemplateParameter

        public Map<String,​Object> getTemplateParameter()