Class QCodeReference

java.lang.Object
com.kingsrook.qqq.backend.core.model.metadata.code.QCodeReference
All Implemented Interfaces:
QMetaDataObject, Serializable, Cloneable
Direct Known Subclasses:
AdHocScriptCodeReference, AssociatedScriptCodeReference, QCodeReferenceLambda, QCodeReferenceWithProperties

public class QCodeReference extends Object implements Serializable, Cloneable, QMetaDataObject
Pointer to code to be ran by the qqq framework, e.g., for custom behavior - maybe process steps, maybe customization to a table, etc.
See Also:
  • Constructor Details

    • QCodeReference

      public QCodeReference()
      Default empty constructor
    • QCodeReference

      public QCodeReference(String name, QCodeType codeType)
      Constructor that takes all args
    • QCodeReference

      public QCodeReference(Class<?> javaClass)
      Constructor that just takes a java class, and infers the other fields.
  • Method Details

    • clone

      public QCodeReference clone()
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getName

      public String getName()
      Getter for name
    • setName

      public void setName(String name)
      Setter for name
    • withName

      public QCodeReference withName(String name)
      Setter for name
    • getCodeType

      public QCodeType getCodeType()
      Getter for codeType
    • setCodeType

      public void setCodeType(QCodeType codeType)
      Setter for codeType
    • withCodeType

      public QCodeReference withCodeType(QCodeType codeType)
      Setter for codeType
    • getInlineCode

      public String getInlineCode()
      Getter for inlineCode
    • setInlineCode

      public void setInlineCode(String inlineCode)
      Setter for inlineCode
    • withInlineCode

      public QCodeReference withInlineCode(String inlineCode)
      Fluent setter for inlineCode