Skip to content

Variable Name

Johannes Heucher edited this page Jun 13, 2022 · 2 revisions

A variable name refers to a certain Member Variable in context of a Data Type or an Exception Type. The variable name can be used to access the value of the Member Variable inside the Java implementation of a Coded Service. The Member Variable is named with a functional and user-friendly label. By convention the variable name is the CamelCase notation of the label. In addition, the variable name follows the rules below:

  • It consists of lower-case and upper-case letters between A and Z, numbers between 0 and 9 and underscores.
  • It always starts with a lower-case letter.
  • Java Reserved Identifiers are not allowed.
  • Following Xyna Factory internal words are not allowed:
    • allSteps
    • args
    • e
    • forEachIndex
    • i
    • l
    • logger
    • Logger
    • postHandlers
    • preHandlers
    • revision
    • s
    • startSteps
    • step
    • xo
  • If the variable name correspond to an Exception Type's Member Variable, the following Xyna Factory internal words are also not allowed:
    • cause
    • code
    • localizedMessage
    • message
    • stackTrace

See Also

Clone this wiki locally