Class DroolsKIESessionModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class DroolsKIESessionModel
    extends ItemModel
    Generated model class for type DroolsKIESession first defined at extension ruleengine.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _DROOLSKIEBASE2SESSION

        public static final java.lang.String _DROOLSKIEBASE2SESSION
        Generated relation code constant for relation DroolsKIEBase2Session defining source attribute kieBase in extension ruleengine.
        See Also:
        Constant Field Values
      • NAME

        public static final java.lang.String NAME
        Generated constant - Attribute key of DroolsKIESession.name attribute defined at extension ruleengine.
        See Also:
        Constant Field Values
      • SESSIONTYPE

        public static final java.lang.String SESSIONTYPE
        Generated constant - Attribute key of DroolsKIESession.sessionType attribute defined at extension ruleengine.
        See Also:
        Constant Field Values
      • KIEBASE

        public static final java.lang.String KIEBASE
        Generated constant - Attribute key of DroolsKIESession.kieBase attribute defined at extension ruleengine.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DroolsKIESessionModel

        public DroolsKIESessionModel()
        Generated constructor - Default constructor for generic creation.
      • DroolsKIESessionModel

        public DroolsKIESessionModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • DroolsKIESessionModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public DroolsKIESessionModel​(java.lang.String _name)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _name - initial attribute declared by type DroolsKIESession at extension ruleengine
      • DroolsKIESessionModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public DroolsKIESessionModel​(java.lang.String _name,
                                     ItemModel _owner)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _name - initial attribute declared by type DroolsKIESession at extension ruleengine
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getName

        @Accessor(qualifier="name",
                  type=GETTER)
        public java.lang.String getName()
        Generated method - Getter of the DroolsKIESession.name attribute defined at extension ruleengine.
        Returns:
        the name
      • getSessionType

        @Accessor(qualifier="sessionType",
                  type=GETTER)
        public DroolsSessionType getSessionType()
        Generated method - Getter of the DroolsKIESession.sessionType attribute defined at extension ruleengine.
        Returns:
        the sessionType
      • setKieBase

        @Accessor(qualifier="kieBase",
                  type=SETTER)
        public void setKieBase​(DroolsKIEBaseModel value)
        Generated method - Setter of DroolsKIESession.kieBase attribute defined at extension ruleengine.
        Parameters:
        value - the kieBase
      • setName

        @Accessor(qualifier="name",
                  type=SETTER)
        public void setName​(java.lang.String value)
        Generated method - Initial setter of DroolsKIESession.name attribute defined at extension ruleengine. Can only be used at creation of model - before first save.
        Parameters:
        value - the name
      • setSessionType

        @Accessor(qualifier="sessionType",
                  type=SETTER)
        public void setSessionType​(DroolsSessionType value)
        Generated method - Setter of DroolsKIESession.sessionType attribute defined at extension ruleengine.
        Parameters:
        value - the sessionType