Class NamingOpts

java.lang.Object
dk.mada.jaxrs.model.naming.NamingOpts

public class NamingOpts extends Object
Definitions of naming options. These can be overridden via options provided by the user.
  • Constructor Details

    • NamingOpts

      public NamingOpts(OptionReader or)
      Constructs new instance.
      Parameters:
      or - the option reader
  • Method Details

    • isRenameCaseConflicts

      public boolean isRenameCaseConflicts()
      Returns true if types should be renamed to avoid conflicts on Windows.
      Returns:
      true if types should be renamed to avoid conflicts on Windows
    • getRenameCaseConflictsOrder

      public NamingOpts.SchemaOrder getRenameCaseConflictsOrder()
      Returns the order by which name conflicts should be resolved.
      Returns:
      the order by which name conflicts should be resolved
    • getTypeConflictRenaming

      public String getTypeConflictRenaming()
      Returns the renaming configuration for a conflicting type name.
      Returns:
      the renaming configuration for a conflicting type name
    • getEntityNaming

      public String getEntityNaming()
      Returns the naming configuration for entity parameter.
      Returns:
      the naming configuration for entity parameter
    • getEnumConstantNaming

      public String getEnumConstantNaming()
      Returns the naming configuration for enumeration constants.
      Returns:
      the naming configuration for enumeration constants
    • getEnumNumberConstantNaming

      public String getEnumNumberConstantNaming()
      Returns the naming configuration for enumeration number constants.
      Returns:
      the naming configuration for enumeration number constants
    • getPropertyEnumTypeNaming

      public String getPropertyEnumTypeNaming()
      Returns the naming configuration for single-property enumeration types.
      Returns:
      the naming configuration for single-property enumeration types
    • getPropertyNaming

      public String getPropertyNaming()
      Returns the naming configuration for properties.
      Returns:
      the naming configuration for properties
    • getOperationNaming

      public String getOperationNaming()
      Returns the naming configuration for operations.
      Returns:
      the naming configuration for operations
    • getOperationIdNaming

      public String getOperationIdNaming()
      Returns the naming configuration for operationIds.
      Returns:
      the naming configuration for operationIds
    • getParameterNaming

      public String getParameterNaming()
      Returns the naming configuration for parameter names.
      Returns:
      the naming configuration for parameter names
    • getApiNaming

      public String getApiNaming()
      Returns the naming configuration for api groups.
      Returns:
      the naming configuration for api groups
    • getTypeNaming

      public String getTypeNaming()
      Returns the naming configuration for types.
      Returns:
      the naming configuration for types
    • getMultipartTypeNaming

      public String getMultipartTypeNaming()
      Returns the naming configuration for multipart types.
      Returns:
      the naming configuration for multipart types
    • getMpSchemaNaming

      public String getMpSchemaNaming()
      Returns the naming configuration for MP schema name.
      Returns:
      the naming configuration for MP schema name