Class GeneratedYFormData

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable
    Direct Known Subclasses:
    YFormData

    public abstract class GeneratedYFormData
    extends GenericItem
    Generated class for type YFormData.
    See Also:
    Serialized Form
    • Constructor Detail

      • GeneratedYFormData

        public GeneratedYFormData()
    • Method Detail

      • getApplicationId

        public java.lang.String getApplicationId​(SessionContext ctx)
        Generated method - Getter of the YFormData.applicationId attribute.
        Returns:
        the applicationId
      • getApplicationId

        public java.lang.String getApplicationId()
        Generated method - Getter of the YFormData.applicationId attribute.
        Returns:
        the applicationId
      • setApplicationId

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

        public void setApplicationId​(java.lang.String value)
        Generated method - Setter of the YFormData.applicationId attribute.
        Parameters:
        value - the applicationId
      • getContent

        public java.lang.String getContent​(SessionContext ctx)
        Generated method - Getter of the YFormData.content attribute.
        Returns:
        the content
      • getContent

        public java.lang.String getContent()
        Generated method - Getter of the YFormData.content attribute.
        Returns:
        the content
      • setContent

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

        public void setContent​(java.lang.String value)
        Generated method - Setter of the YFormData.content attribute.
        Parameters:
        value - the content
      • 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
      • getFormDefinition

        public YFormDefinition getFormDefinition​(SessionContext ctx)
        Generated method - Getter of the YFormData.formDefinition attribute.
        Returns:
        the formDefinition
      • getFormDefinition

        public YFormDefinition getFormDefinition()
        Generated method - Getter of the YFormData.formDefinition attribute.
        Returns:
        the formDefinition
      • setFormDefinition

        public void setFormDefinition​(SessionContext ctx,
                                      YFormDefinition value)
        Generated method - Setter of the YFormData.formDefinition attribute.
        Parameters:
        value - the formDefinition
      • setFormDefinition

        public void setFormDefinition​(YFormDefinition value)
        Generated method - Setter of the YFormData.formDefinition attribute.
        Parameters:
        value - the formDefinition
      • getFormId

        public java.lang.String getFormId​(SessionContext ctx)
        Generated method - Getter of the YFormData.formId attribute.
        Returns:
        the formId
      • getFormId

        public java.lang.String getFormId()
        Generated method - Getter of the YFormData.formId attribute.
        Returns:
        the formId
      • setFormId

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

        public void setFormId​(java.lang.String value)
        Generated method - Setter of the YFormData.formId attribute.
        Parameters:
        value - the formId
      • getHistory

        public java.util.List<YFormDataHistory> getHistory​(SessionContext ctx)
        Generated method - Getter of the YFormData.history attribute.
        Returns:
        the history
      • getHistory

        public java.util.List<YFormDataHistory> getHistory()
        Generated method - Getter of the YFormData.history attribute.
        Returns:
        the history
      • setHistory

        public void setHistory​(SessionContext ctx,
                               java.util.List<YFormDataHistory> value)
        Generated method - Setter of the YFormData.history attribute.
        Parameters:
        value - the history
      • setHistory

        public void setHistory​(java.util.List<YFormDataHistory> value)
        Generated method - Setter of the YFormData.history attribute.
        Parameters:
        value - the history
      • addToHistory

        public void addToHistory​(SessionContext ctx,
                                 YFormDataHistory value)
        Generated method - Adds value to history.
        Parameters:
        value - the item to add to history
      • addToHistory

        public void addToHistory​(YFormDataHistory value)
        Generated method - Adds value to history.
        Parameters:
        value - the item to add to history
      • removeFromHistory

        public void removeFromHistory​(SessionContext ctx,
                                      YFormDataHistory value)
        Generated method - Removes value from history.
        Parameters:
        value - the item to remove from history
      • removeFromHistory

        public void removeFromHistory​(YFormDataHistory value)
        Generated method - Removes value from history.
        Parameters:
        value - the item to remove from history
      • getId

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

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

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

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

        public java.lang.String getRefId​(SessionContext ctx)
        Generated method - Getter of the YFormData.refId attribute.
        Returns:
        the refId
      • getRefId

        public java.lang.String getRefId()
        Generated method - Getter of the YFormData.refId attribute.
        Returns:
        the refId
      • setRefId

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

        public void setRefId​(java.lang.String value)
        Generated method - Setter of the YFormData.refId attribute.
        Parameters:
        value - the refId
      • isSystem

        public java.lang.Boolean isSystem​(SessionContext ctx)
        Generated method - Getter of the YFormData.system attribute.
        Returns:
        the system
      • isSystem

        public java.lang.Boolean isSystem()
        Generated method - Getter of the YFormData.system attribute.
        Returns:
        the system
      • isSystemAsPrimitive

        public boolean isSystemAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the YFormData.system attribute.
        Returns:
        the system
      • isSystemAsPrimitive

        public boolean isSystemAsPrimitive()
        Generated method - Getter of the YFormData.system attribute.
        Returns:
        the system
      • setSystem

        public void setSystem​(SessionContext ctx,
                              java.lang.Boolean value)
        Generated method - Setter of the YFormData.system attribute.
        Parameters:
        value - the system
      • setSystem

        public void setSystem​(java.lang.Boolean value)
        Generated method - Setter of the YFormData.system attribute.
        Parameters:
        value - the system
      • setSystem

        public void setSystem​(SessionContext ctx,
                              boolean value)
        Generated method - Setter of the YFormData.system attribute.
        Parameters:
        value - the system
      • setSystem

        public void setSystem​(boolean value)
        Generated method - Setter of the YFormData.system attribute.
        Parameters:
        value - the system
      • getType

        public EnumerationValue getType()
        Generated method - Getter of the YFormData.type attribute.
        Returns:
        the type
      • setType

        public void setType​(SessionContext ctx,
                            EnumerationValue value)
        Generated method - Setter of the YFormData.type attribute.
        Parameters:
        value - the type
      • setType

        public void setType​(EnumerationValue value)
        Generated method - Setter of the YFormData.type attribute.
        Parameters:
        value - the type