Package dk.mada.jaxrs.model.naming
Class NamingOpts
java.lang.Object
dk.mada.jaxrs.model.naming.NamingOpts
Definitions of naming options.
These can be overridden via options provided by the user.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Ordering preference when renaming due to name conflicts. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the naming configuration for api groups.Returns the naming configuration for entity parameter.Returns the naming configuration for enumeration constants.Returns the naming configuration for enumeration number constants.Returns the naming configuration for MP schema name.Returns the naming configuration for multipart types.Returns the naming configuration for operationIds.Returns the naming configuration for operations.Returns the naming configuration for parameter names.Returns the naming configuration for single-property enumeration types.Returns the naming configuration for properties.Returns the order by which name conflicts should be resolved.Returns the renaming configuration for a conflicting type name.Returns the naming configuration for types.boolean
Returns true if types should be renamed to avoid conflicts on Windows.
-
Constructor Details
-
NamingOpts
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
Returns the order by which name conflicts should be resolved.- Returns:
- the order by which name conflicts should be resolved
-
getTypeConflictRenaming
Returns the renaming configuration for a conflicting type name.- Returns:
- the renaming configuration for a conflicting type name
-
getEntityNaming
Returns the naming configuration for entity parameter.- Returns:
- the naming configuration for entity parameter
-
getEnumConstantNaming
Returns the naming configuration for enumeration constants.- Returns:
- the naming configuration for enumeration constants
-
getEnumNumberConstantNaming
Returns the naming configuration for enumeration number constants.- Returns:
- the naming configuration for enumeration number constants
-
getPropertyEnumTypeNaming
Returns the naming configuration for single-property enumeration types.- Returns:
- the naming configuration for single-property enumeration types
-
getPropertyNaming
Returns the naming configuration for properties.- Returns:
- the naming configuration for properties
-
getOperationNaming
Returns the naming configuration for operations.- Returns:
- the naming configuration for operations
-
getOperationIdNaming
Returns the naming configuration for operationIds.- Returns:
- the naming configuration for operationIds
-
getParameterNaming
Returns the naming configuration for parameter names.- Returns:
- the naming configuration for parameter names
-
getApiNaming
Returns the naming configuration for api groups.- Returns:
- the naming configuration for api groups
-
getTypeNaming
Returns the naming configuration for types.- Returns:
- the naming configuration for types
-
getMultipartTypeNaming
Returns the naming configuration for multipart types.- Returns:
- the naming configuration for multipart types
-
getMpSchemaNaming
Returns the naming configuration for MP schema name.- Returns:
- the naming configuration for MP schema name
-