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
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 Summary
ConstructorsConstructorDescriptionDefault empty constructorQCodeReference
(Class<?> javaClass) Constructor that just takes a java class, and infers the other fields.QCodeReference
(String name, QCodeType codeType) Constructor that takes all args -
Method Summary
Modifier and TypeMethodDescriptionclone()
Getter for codeTypeGetter for inlineCodegetName()
Getter for namevoid
setCodeType
(QCodeType codeType) Setter for codeTypevoid
setInlineCode
(String inlineCode) Setter for inlineCodevoid
Setter for nametoString()
withCodeType
(QCodeType codeType) Setter for codeTypewithInlineCode
(String inlineCode) Fluent setter for inlineCodeSetter for name
-
Constructor Details
-
QCodeReference
public QCodeReference()Default empty constructor -
QCodeReference
-
QCodeReference
Constructor that just takes a java class, and infers the other fields.
-
-
Method Details
-
clone
-
toString
-
getName
Getter for name -
setName
Setter for name -
withName
Setter for name -
getCodeType
Getter for codeType -
setCodeType
Setter for codeType -
withCodeType
Setter for codeType -
getInlineCode
Getter for inlineCode -
setInlineCode
Setter for inlineCode -
withInlineCode
Fluent setter for inlineCode
-