Class BeanMappingMethod

    • Field Detail

      • propertyMappings

        private final java.util.List<PropertyMapping> propertyMappings
      • mappingsByParameter

        private final java.util.Map<java.lang.String,​java.util.List<PropertyMapping>> mappingsByParameter
      • constructorMappingsByParameter

        private final java.util.Map<java.lang.String,​java.util.List<PropertyMapping>> constructorMappingsByParameter
      • constantMappings

        private final java.util.List<PropertyMapping> constantMappings
      • constructorConstantMappings

        private final java.util.List<PropertyMapping> constructorConstantMappings
      • subclassMappings

        private final java.util.List<SubclassMapping> subclassMappings
      • returnTypeToConstruct

        private final Type returnTypeToConstruct
      • returnTypeBuilder

        private final BuilderType returnTypeBuilder
    • Method Detail

      • getConstantMappings

        public java.util.List<PropertyMapping> getConstantMappings()
      • getConstructorConstantMappings

        public java.util.List<PropertyMapping> getConstructorConstantMappings()
      • getSubclassMappings

        public java.util.List<SubclassMapping> getSubclassMappings()
      • propertyMappingsByParameter

        public java.util.List<PropertyMapping> propertyMappingsByParameter​(Parameter parameter)
      • constructorPropertyMappingsByParameter

        public java.util.List<PropertyMapping> constructorPropertyMappingsByParameter​(Parameter parameter)
      • getReturnTypeToConstruct

        public Type getReturnTypeToConstruct()
      • hasSubclassMappings

        public boolean hasSubclassMappings()
      • isAbstractReturnType

        public boolean isAbstractReturnType()
      • hasConstructorMappings

        public boolean hasConstructorMappings()
      • getImportTypes

        public java.util.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 NormalTypeMappingMethod
        Returns:
        A set with type referenced by this model element. Must not be null.
      • getSourceParametersExcludingPrimitives

        public java.util.List<Parameter> getSourceParametersExcludingPrimitives()
      • getSourceParametersNeedingNullCheck

        public java.util.List<Parameter> getSourceParametersNeedingNullCheck()
      • getSourceParametersNotNeedingNullCheck

        public java.util.List<Parameter> getSourceParametersNotNeedingNullCheck()
      • needsNullCheck

        private boolean needsNullCheck​(Parameter parameter)
      • doesNotNeedNullCheckForSourceParameter

        private boolean doesNotNeedNullCheckForSourceParameter​(PropertyMapping mapping)