Class GeneratedRuleActionDefinitionParameter

    • Field Detail

      • ID

        public static final java.lang.String ID
        Qualifier of the RuleActionDefinitionParameter.id attribute
        See Also:
        Constant Field Values
      • NAME

        public static final java.lang.String NAME
        Qualifier of the RuleActionDefinitionParameter.name attribute
        See Also:
        Constant Field Values
      • DESCRIPTION

        public static final java.lang.String DESCRIPTION
        Qualifier of the RuleActionDefinitionParameter.description attribute
        See Also:
        Constant Field Values
      • PRIORITY

        public static final java.lang.String PRIORITY
        Qualifier of the RuleActionDefinitionParameter.priority attribute
        See Also:
        Constant Field Values
      • TYPE

        public static final java.lang.String TYPE
        Qualifier of the RuleActionDefinitionParameter.type attribute
        See Also:
        Constant Field Values
      • VALUE

        public static final java.lang.String VALUE
        Qualifier of the RuleActionDefinitionParameter.value attribute
        See Also:
        Constant Field Values
      • REQUIRED

        public static final java.lang.String REQUIRED
        Qualifier of the RuleActionDefinitionParameter.required attribute
        See Also:
        Constant Field Values
      • VALIDATORS

        public static final java.lang.String VALIDATORS
        Qualifier of the RuleActionDefinitionParameter.validators attribute
        See Also:
        Constant Field Values
      • FILTERS

        public static final java.lang.String FILTERS
        Qualifier of the RuleActionDefinitionParameter.filters attribute
        See Also:
        Constant Field Values
      • DEFAULTEDITOR

        public static final java.lang.String DEFAULTEDITOR
        Qualifier of the RuleActionDefinitionParameter.defaultEditor attribute
        See Also:
        Constant Field Values
      • DEFINITIONPOS

        public static final java.lang.String DEFINITIONPOS
        Qualifier of the RuleActionDefinitionParameter.definitionPOS attribute
        See Also:
        Constant Field Values
      • DEFINITION

        public static final java.lang.String DEFINITION
        Qualifier of the RuleActionDefinitionParameter.definition attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedRuleActionDefinitionParameter

        public GeneratedRuleActionDefinitionParameter()
    • Method Detail

      • createItem

        protected Item createItem​(SessionContext ctx,
                                  ComposedType type,
                                  Item.ItemAttributeMap allAttributes)
                           throws JaloBusinessException
        Description copied from class: Item
        Has to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) during ComposedType.newInstance(Map).

        In case this method uses any of the attribute values during creation it is required to override Item.getNonInitialAttributes(SessionContext, ItemAttributeMap) too.
        Sn example:

        
         public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext
         ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return
         man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) );
         // here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes(
         SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret =
         super.getNonInitialAttributes( ctx, allAttributes );
         // remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
        
         
        Overrides:
        createItem in class GenericItem
        Parameters:
        ctx - the current session context which this item is created within
        type - the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )
        Returns:
        the new item instance
        Throws:
        JaloBusinessException - indicates an error during creation - any changes will be rollbacked
      • getDefaultEditor

        public java.lang.String getDefaultEditor​(SessionContext ctx)
        Generated method - Getter of the RuleActionDefinitionParameter.defaultEditor attribute.
        Returns:
        the defaultEditor - default editor for the parameter
      • getDefaultEditor

        public java.lang.String getDefaultEditor()
        Generated method - Getter of the RuleActionDefinitionParameter.defaultEditor attribute.
        Returns:
        the defaultEditor - default editor for the parameter
      • setDefaultEditor

        public void setDefaultEditor​(SessionContext ctx,
                                     java.lang.String value)
        Generated method - Setter of the RuleActionDefinitionParameter.defaultEditor attribute.
        Parameters:
        value - the defaultEditor - default editor for the parameter
      • setDefaultEditor

        public void setDefaultEditor​(java.lang.String value)
        Generated method - Setter of the RuleActionDefinitionParameter.defaultEditor attribute.
        Parameters:
        value - the defaultEditor - default editor for the parameter
      • getDefinition

        public RuleActionDefinition getDefinition​(SessionContext ctx)
        Generated method - Getter of the RuleActionDefinitionParameter.definition attribute.
        Returns:
        the definition
      • getDefinition

        public RuleActionDefinition getDefinition()
        Generated method - Getter of the RuleActionDefinitionParameter.definition attribute.
        Returns:
        the definition
      • setDefinition

        public void setDefinition​(SessionContext ctx,
                                  RuleActionDefinition value)
        Generated method - Setter of the RuleActionDefinitionParameter.definition attribute.
        Parameters:
        value - the definition
      • setDefinition

        public void setDefinition​(RuleActionDefinition value)
        Generated method - Setter of the RuleActionDefinitionParameter.definition attribute.
        Parameters:
        value - the definition
      • getDescription

        public java.lang.String getDescription​(SessionContext ctx)
        Generated method - Getter of the RuleActionDefinitionParameter.description attribute.
        Returns:
        the description
      • getDescription

        public java.lang.String getDescription()
        Generated method - Getter of the RuleActionDefinitionParameter.description attribute.
        Returns:
        the description
      • getAllDescription

        public java.util.Map<Language,​java.lang.String> getAllDescription​(SessionContext ctx)
        Generated method - Getter of the RuleActionDefinitionParameter.description attribute.
        Returns:
        the localized description
      • getAllDescription

        public java.util.Map<Language,​java.lang.String> getAllDescription()
        Generated method - Getter of the RuleActionDefinitionParameter.description attribute.
        Returns:
        the localized description
      • setDescription

        public void setDescription​(SessionContext ctx,
                                   java.lang.String value)
        Generated method - Setter of the RuleActionDefinitionParameter.description attribute.
        Parameters:
        value - the description
      • setDescription

        public void setDescription​(java.lang.String value)
        Generated method - Setter of the RuleActionDefinitionParameter.description attribute.
        Parameters:
        value - the description
      • setAllDescription

        public void setAllDescription​(SessionContext ctx,
                                      java.util.Map<Language,​java.lang.String> value)
        Generated method - Setter of the RuleActionDefinitionParameter.description attribute.
        Parameters:
        value - the description
      • setAllDescription

        public void setAllDescription​(java.util.Map<Language,​java.lang.String> value)
        Generated method - Setter of the RuleActionDefinitionParameter.description attribute.
        Parameters:
        value - the description
      • getAllFilters

        public java.util.Map<java.lang.String,​java.lang.String> getAllFilters​(SessionContext ctx)
        Generated method - Getter of the RuleActionDefinitionParameter.filters attribute.
        Returns:
        the filters - The map defines narrowing filtering rules. For every entry: key corresponds to the type field name to narrow for, value corresponds to RuleActionDefinitionParameter.id to narrow by
      • getAllFilters

        public java.util.Map<java.lang.String,​java.lang.String> getAllFilters()
        Generated method - Getter of the RuleActionDefinitionParameter.filters attribute.
        Returns:
        the filters - The map defines narrowing filtering rules. For every entry: key corresponds to the type field name to narrow for, value corresponds to RuleActionDefinitionParameter.id to narrow by
      • setAllFilters

        public void setAllFilters​(SessionContext ctx,
                                  java.util.Map<java.lang.String,​java.lang.String> value)
        Generated method - Setter of the RuleActionDefinitionParameter.filters attribute.
        Parameters:
        value - the filters - The map defines narrowing filtering rules. For every entry: key corresponds to the type field name to narrow for, value corresponds to RuleActionDefinitionParameter.id to narrow by
      • setAllFilters

        public void setAllFilters​(java.util.Map<java.lang.String,​java.lang.String> value)
        Generated method - Setter of the RuleActionDefinitionParameter.filters attribute.
        Parameters:
        value - the filters - The map defines narrowing filtering rules. For every entry: key corresponds to the type field name to narrow for, value corresponds to RuleActionDefinitionParameter.id to narrow by
      • getId

        public java.lang.String getId​(SessionContext ctx)
        Generated method - Getter of the RuleActionDefinitionParameter.id attribute.
        Returns:
        the id
      • getId

        public java.lang.String getId()
        Generated method - Getter of the RuleActionDefinitionParameter.id attribute.
        Returns:
        the id
      • setId

        public void setId​(SessionContext ctx,
                          java.lang.String value)
        Generated method - Setter of the RuleActionDefinitionParameter.id attribute.
        Parameters:
        value - the id
      • setId

        public void setId​(java.lang.String value)
        Generated method - Setter of the RuleActionDefinitionParameter.id attribute.
        Parameters:
        value - the id
      • getName

        public java.lang.String getName​(SessionContext ctx)
        Generated method - Getter of the RuleActionDefinitionParameter.name attribute.
        Returns:
        the name
      • getName

        public java.lang.String getName()
        Generated method - Getter of the RuleActionDefinitionParameter.name attribute.
        Returns:
        the name
      • getAllName

        public java.util.Map<Language,​java.lang.String> getAllName​(SessionContext ctx)
        Generated method - Getter of the RuleActionDefinitionParameter.name attribute.
        Returns:
        the localized name
      • getAllName

        public java.util.Map<Language,​java.lang.String> getAllName()
        Generated method - Getter of the RuleActionDefinitionParameter.name attribute.
        Returns:
        the localized name
      • setName

        public void setName​(SessionContext ctx,
                            java.lang.String value)
        Generated method - Setter of the RuleActionDefinitionParameter.name attribute.
        Parameters:
        value - the name
      • setName

        public void setName​(java.lang.String value)
        Generated method - Setter of the RuleActionDefinitionParameter.name attribute.
        Parameters:
        value - the name
      • setAllName

        public void setAllName​(SessionContext ctx,
                               java.util.Map<Language,​java.lang.String> value)
        Generated method - Setter of the RuleActionDefinitionParameter.name attribute.
        Parameters:
        value - the name
      • setAllName

        public void setAllName​(java.util.Map<Language,​java.lang.String> value)
        Generated method - Setter of the RuleActionDefinitionParameter.name attribute.
        Parameters:
        value - the name
      • getPriority

        public java.lang.Integer getPriority​(SessionContext ctx)
        Generated method - Getter of the RuleActionDefinitionParameter.priority attribute.
        Returns:
        the priority
      • getPriority

        public java.lang.Integer getPriority()
        Generated method - Getter of the RuleActionDefinitionParameter.priority attribute.
        Returns:
        the priority
      • getPriorityAsPrimitive

        public int getPriorityAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the RuleActionDefinitionParameter.priority attribute.
        Returns:
        the priority
      • getPriorityAsPrimitive

        public int getPriorityAsPrimitive()
        Generated method - Getter of the RuleActionDefinitionParameter.priority attribute.
        Returns:
        the priority
      • setPriority

        public void setPriority​(SessionContext ctx,
                                java.lang.Integer value)
        Generated method - Setter of the RuleActionDefinitionParameter.priority attribute.
        Parameters:
        value - the priority
      • setPriority

        public void setPriority​(java.lang.Integer value)
        Generated method - Setter of the RuleActionDefinitionParameter.priority attribute.
        Parameters:
        value - the priority
      • setPriority

        public void setPriority​(SessionContext ctx,
                                int value)
        Generated method - Setter of the RuleActionDefinitionParameter.priority attribute.
        Parameters:
        value - the priority
      • setPriority

        public void setPriority​(int value)
        Generated method - Setter of the RuleActionDefinitionParameter.priority attribute.
        Parameters:
        value - the priority
      • isRequired

        public java.lang.Boolean isRequired​(SessionContext ctx)
        Generated method - Getter of the RuleActionDefinitionParameter.required attribute.
        Returns:
        the required - whether the parameter is required
      • isRequired

        public java.lang.Boolean isRequired()
        Generated method - Getter of the RuleActionDefinitionParameter.required attribute.
        Returns:
        the required - whether the parameter is required
      • isRequiredAsPrimitive

        public boolean isRequiredAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the RuleActionDefinitionParameter.required attribute.
        Returns:
        the required - whether the parameter is required
      • isRequiredAsPrimitive

        public boolean isRequiredAsPrimitive()
        Generated method - Getter of the RuleActionDefinitionParameter.required attribute.
        Returns:
        the required - whether the parameter is required
      • setRequired

        public void setRequired​(SessionContext ctx,
                                java.lang.Boolean value)
        Generated method - Setter of the RuleActionDefinitionParameter.required attribute.
        Parameters:
        value - the required - whether the parameter is required
      • setRequired

        public void setRequired​(java.lang.Boolean value)
        Generated method - Setter of the RuleActionDefinitionParameter.required attribute.
        Parameters:
        value - the required - whether the parameter is required
      • setRequired

        public void setRequired​(SessionContext ctx,
                                boolean value)
        Generated method - Setter of the RuleActionDefinitionParameter.required attribute.
        Parameters:
        value - the required - whether the parameter is required
      • setRequired

        public void setRequired​(boolean value)
        Generated method - Setter of the RuleActionDefinitionParameter.required attribute.
        Parameters:
        value - the required - whether the parameter is required
      • getType

        public java.lang.String getType​(SessionContext ctx)
        Generated method - Getter of the RuleActionDefinitionParameter.type attribute.
        Returns:
        the type
      • getType

        public java.lang.String getType()
        Generated method - Getter of the RuleActionDefinitionParameter.type attribute.
        Returns:
        the type
      • setType

        public void setType​(SessionContext ctx,
                            java.lang.String value)
        Generated method - Setter of the RuleActionDefinitionParameter.type attribute.
        Parameters:
        value - the type
      • setType

        public void setType​(java.lang.String value)
        Generated method - Setter of the RuleActionDefinitionParameter.type attribute.
        Parameters:
        value - the type
      • getValidators

        public java.util.List<java.lang.String> getValidators​(SessionContext ctx)
        Generated method - Getter of the RuleActionDefinitionParameter.validators attribute.
        Returns:
        the validators
      • getValidators

        public java.util.List<java.lang.String> getValidators()
        Generated method - Getter of the RuleActionDefinitionParameter.validators attribute.
        Returns:
        the validators
      • setValidators

        public void setValidators​(SessionContext ctx,
                                  java.util.List<java.lang.String> value)
        Generated method - Setter of the RuleActionDefinitionParameter.validators attribute.
        Parameters:
        value - the validators
      • setValidators

        public void setValidators​(java.util.List<java.lang.String> value)
        Generated method - Setter of the RuleActionDefinitionParameter.validators attribute.
        Parameters:
        value - the validators
      • getValue

        public java.lang.String getValue​(SessionContext ctx)
        Generated method - Getter of the RuleActionDefinitionParameter.value attribute.
        Returns:
        the value
      • getValue

        public java.lang.String getValue()
        Generated method - Getter of the RuleActionDefinitionParameter.value attribute.
        Returns:
        the value
      • setValue

        public void setValue​(SessionContext ctx,
                             java.lang.String value)
        Generated method - Setter of the RuleActionDefinitionParameter.value attribute.
        Parameters:
        value - the value
      • setValue

        public void setValue​(java.lang.String value)
        Generated method - Setter of the RuleActionDefinitionParameter.value attribute.
        Parameters:
        value - the value