Class MethodMapping
java.lang.Object
no.sikt.graphitron.definitions.mapping.MethodMapping
- Direct Known Subclasses:
JOOQMapping
Stores operations related to rendering get and set method calls.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasCamelHasCall(CodeBlock input, boolean iterable) asGet()asHas()asSet()asSetKeyCall(CodeBlock input) getName()
-
Constructor Details
-
MethodMapping
-
-
Method Details
-
getName
- Returns:
- The exact name of the data that this object corresponds to.
-
asGet
- Returns:
- The name for a get[name] method call.
-
asCamelGet
- Returns:
- The name for a get[name] method call.
-
asGetCall
- Returns:
- Format this name as a .get[name]() method call.
-
asSet
- Returns:
- The name for a set[name] method call.
-
asSetCall
- Returns:
- Format this name for a .set[name]([input]) method call.
-
asSetCall
- Returns:
- Format this name for a .set[name]([input]) method call.
-
asSetKeyCall
-
asHas
- Returns:
- The name for a has[name] method call.
-
asCamelHas
- Returns:
- The name for a has[name] method call.
-
asHasCall
- Returns:
- Format this name as a .has[name][s]([input]) method call.
-
asCamelHasCall
- Returns:
- Format this name as a .has[name][s]([input]) method call.
-