Class ExposedClientMethod

java.lang.Object
net.datenwerke.dtoservices.dtogenerator.analizer.ExposedClientMethod

public class ExposedClientMethod extends Object
Represents a method that is exposed to the client.
See Also:
  • Constructor Details

  • Method Details

    • isExposedClientMethod

      public static boolean isExposedClientMethod(ExecutableElement method)
    • getMethod

      public ExecutableElement getMethod()
    • isGetMethod

      public boolean isGetMethod()
    • isSetMethod

      public boolean isSetMethod()
    • getParameters

      public List<? extends VariableElement> getParameters()
    • getSimpleName

      public String getSimpleName()
    • getReturnType

      public TypeMirror getReturnType()
    • getFieldName

      public String getFieldName()
    • getFieldModifiedIndicator

      public String getFieldModifiedIndicator()
    • getFieldPropertyAccessor

      public String getFieldPropertyAccessor()
    • getConstantFieldName

      public String getConstantFieldName()
    • isGetSetMethod

      public boolean isGetSetMethod()
    • returnsPoso

      public boolean returnsPoso()
    • returnsPosoClass

      public boolean returnsPosoClass()
    • returnsPosoEnum

      public boolean returnsPosoEnum()
    • getPoso

      public PosoAnalizer getPoso()
    • returnsCollection

      public boolean returnsCollection()
    • returnsPosoCollection

      public boolean returnsPosoCollection()
    • getPosoReferencedInReturnedCollection

      public PosoAnalizer getPosoReferencedInReturnedCollection()
    • getGetMethod

      public String getGetMethod()
    • getDtoView

      public DtoView getDtoView()
    • getSetMethodForDto

      public String getSetMethodForDto()
    • getIsPropertyModifiedMethodForDto

      public String getIsPropertyModifiedMethodForDto()
    • getPropertyAccessorMethodForDto

      public String getPropertyAccessorMethodForDto()
    • getGetMethodForDto

      public String getGetMethodForDto()
    • getBaseName

      public String getBaseName()
      Returns a get/set methods base name. If the methods name is getFoo, then Foo is returned.
    • referencesEnclosedPoso

      public boolean referencesEnclosedPoso()
    • returnsSet

      public boolean returnsSet()
    • returnsList

      public boolean returnsList()
    • getReturnTypeAnalizer

      public TypeAnalizer getReturnTypeAnalizer()