Class GeneratedWishlist2Entry

    • Field Detail

      • PRODUCT

        public static final java.lang.String PRODUCT
        Qualifier of the Wishlist2Entry.product attribute
        See Also:
        Constant Field Values
      • DESIRED

        public static final java.lang.String DESIRED
        Qualifier of the Wishlist2Entry.desired attribute
        See Also:
        Constant Field Values
      • RECEIVED

        public static final java.lang.String RECEIVED
        Qualifier of the Wishlist2Entry.received attribute
        See Also:
        Constant Field Values
      • PRIORITY

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

        public static final java.lang.String ADDEDDATE
        Qualifier of the Wishlist2Entry.addedDate attribute
        See Also:
        Constant Field Values
      • COMMENT

        public static final java.lang.String COMMENT
        Qualifier of the Wishlist2Entry.comment attribute
        See Also:
        Constant Field Values
      • WISHLIST

        public static final java.lang.String WISHLIST
        Qualifier of the Wishlist2Entry.wishlist 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

      • GeneratedWishlist2Entry

        public GeneratedWishlist2Entry()
    • Method Detail

      • getAddedDate

        public java.util.Date getAddedDate​(SessionContext ctx)
        Generated method - Getter of the Wishlist2Entry.addedDate attribute.
        Returns:
        the addedDate
      • getAddedDate

        public java.util.Date getAddedDate()
        Generated method - Getter of the Wishlist2Entry.addedDate attribute.
        Returns:
        the addedDate
      • setAddedDate

        public void setAddedDate​(SessionContext ctx,
                                 java.util.Date value)
        Generated method - Setter of the Wishlist2Entry.addedDate attribute.
        Parameters:
        value - the addedDate
      • setAddedDate

        public void setAddedDate​(java.util.Date value)
        Generated method - Setter of the Wishlist2Entry.addedDate attribute.
        Parameters:
        value - the addedDate
      • getComment

        public java.lang.String getComment​(SessionContext ctx)
        Generated method - Getter of the Wishlist2Entry.comment attribute.
        Returns:
        the comment
      • getComment

        public java.lang.String getComment()
        Generated method - Getter of the Wishlist2Entry.comment attribute.
        Returns:
        the comment
      • setComment

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

        public void setComment​(java.lang.String value)
        Generated method - Setter of the Wishlist2Entry.comment attribute.
        Parameters:
        value - the comment
      • 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
      • getDesired

        public java.lang.Integer getDesired​(SessionContext ctx)
        Generated method - Getter of the Wishlist2Entry.desired attribute.
        Returns:
        the desired
      • getDesired

        public java.lang.Integer getDesired()
        Generated method - Getter of the Wishlist2Entry.desired attribute.
        Returns:
        the desired
      • getDesiredAsPrimitive

        public int getDesiredAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the Wishlist2Entry.desired attribute.
        Returns:
        the desired
      • getDesiredAsPrimitive

        public int getDesiredAsPrimitive()
        Generated method - Getter of the Wishlist2Entry.desired attribute.
        Returns:
        the desired
      • setDesired

        public void setDesired​(SessionContext ctx,
                               java.lang.Integer value)
        Generated method - Setter of the Wishlist2Entry.desired attribute.
        Parameters:
        value - the desired
      • setDesired

        public void setDesired​(java.lang.Integer value)
        Generated method - Setter of the Wishlist2Entry.desired attribute.
        Parameters:
        value - the desired
      • setDesired

        public void setDesired​(SessionContext ctx,
                               int value)
        Generated method - Setter of the Wishlist2Entry.desired attribute.
        Parameters:
        value - the desired
      • setDesired

        public void setDesired​(int value)
        Generated method - Setter of the Wishlist2Entry.desired attribute.
        Parameters:
        value - the desired
      • getPriority

        public EnumerationValue getPriority​(SessionContext ctx)
        Generated method - Getter of the Wishlist2Entry.priority attribute.
        Returns:
        the priority
      • getPriority

        public EnumerationValue getPriority()
        Generated method - Getter of the Wishlist2Entry.priority attribute.
        Returns:
        the priority
      • setPriority

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

        public void setPriority​(EnumerationValue value)
        Generated method - Setter of the Wishlist2Entry.priority attribute.
        Parameters:
        value - the priority
      • getProduct

        public Product getProduct​(SessionContext ctx)
        Generated method - Getter of the Wishlist2Entry.product attribute.
        Returns:
        the product
      • getProduct

        public Product getProduct()
        Generated method - Getter of the Wishlist2Entry.product attribute.
        Returns:
        the product
      • setProduct

        public void setProduct​(SessionContext ctx,
                               Product value)
        Generated method - Setter of the Wishlist2Entry.product attribute.
        Parameters:
        value - the product
      • setProduct

        public void setProduct​(Product value)
        Generated method - Setter of the Wishlist2Entry.product attribute.
        Parameters:
        value - the product
      • getReceived

        public java.lang.Integer getReceived​(SessionContext ctx)
        Generated method - Getter of the Wishlist2Entry.received attribute.
        Returns:
        the received
      • getReceived

        public java.lang.Integer getReceived()
        Generated method - Getter of the Wishlist2Entry.received attribute.
        Returns:
        the received
      • getReceivedAsPrimitive

        public int getReceivedAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the Wishlist2Entry.received attribute.
        Returns:
        the received
      • getReceivedAsPrimitive

        public int getReceivedAsPrimitive()
        Generated method - Getter of the Wishlist2Entry.received attribute.
        Returns:
        the received
      • setReceived

        public void setReceived​(SessionContext ctx,
                                java.lang.Integer value)
        Generated method - Setter of the Wishlist2Entry.received attribute.
        Parameters:
        value - the received
      • setReceived

        public void setReceived​(java.lang.Integer value)
        Generated method - Setter of the Wishlist2Entry.received attribute.
        Parameters:
        value - the received
      • setReceived

        public void setReceived​(SessionContext ctx,
                                int value)
        Generated method - Setter of the Wishlist2Entry.received attribute.
        Parameters:
        value - the received
      • setReceived

        public void setReceived​(int value)
        Generated method - Setter of the Wishlist2Entry.received attribute.
        Parameters:
        value - the received
      • getWishlist

        public Wishlist2 getWishlist​(SessionContext ctx)
        Generated method - Getter of the Wishlist2Entry.wishlist attribute.
        Returns:
        the wishlist
      • getWishlist

        public Wishlist2 getWishlist()
        Generated method - Getter of the Wishlist2Entry.wishlist attribute.
        Returns:
        the wishlist
      • setWishlist

        public void setWishlist​(SessionContext ctx,
                                Wishlist2 value)
        Generated method - Setter of the Wishlist2Entry.wishlist attribute.
        Parameters:
        value - the wishlist
      • setWishlist

        public void setWishlist​(Wishlist2 value)
        Generated method - Setter of the Wishlist2Entry.wishlist attribute.
        Parameters:
        value - the wishlist