Class GeneratedCxResults

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

    public abstract class GeneratedCxResults
    extends GenericItem
    Generated class for type CxResults.
    See Also:
    Serialized Form
    • Field Detail

      • KEY

        public static final java.lang.String KEY
        Qualifier of the CxResults.key attribute
        See Also:
        Constant Field Values
      • SESSIONKEY

        public static final java.lang.String SESSIONKEY
        Qualifier of the CxResults.sessionKey attribute
        See Also:
        Constant Field Values
      • CATALOGVERSION

        public static final java.lang.String CATALOGVERSION
        Qualifier of the CxResults.catalogVersion attribute
        See Also:
        Constant Field Values
      • RESULTS

        public static final java.lang.String RESULTS
        Qualifier of the CxResults.results attribute
        See Also:
        Constant Field Values
      • ADDITIONALDATA

        public static final java.lang.String ADDITIONALDATA
        Qualifier of the CxResults.additionalData attribute
        See Also:
        Constant Field Values
      • CALCULATIONTIME

        public static final java.lang.String CALCULATIONTIME
        Qualifier of the CxResults.calculationTime attribute
        See Also:
        Constant Field Values
      • ANONYMOUS

        public static final java.lang.String ANONYMOUS
        Qualifier of the CxResults.anonymous attribute
        See Also:
        Constant Field Values
      • DEFAULT

        public static final java.lang.String DEFAULT
        Qualifier of the CxResults.default attribute
        See Also:
        Constant Field Values
      • USER

        public static final java.lang.String USER
        Qualifier of the CxResults.user 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

      • GeneratedCxResults

        public GeneratedCxResults()
    • Method Detail

      • getAdditionalData

        public java.lang.Object getAdditionalData​(SessionContext ctx)
        Generated method - Getter of the CxResults.additionalData attribute.
        Returns:
        the additionalData
      • getAdditionalData

        public java.lang.Object getAdditionalData()
        Generated method - Getter of the CxResults.additionalData attribute.
        Returns:
        the additionalData
      • setAdditionalData

        public void setAdditionalData​(SessionContext ctx,
                                      java.lang.Object value)
        Generated method - Setter of the CxResults.additionalData attribute.
        Parameters:
        value - the additionalData
      • setAdditionalData

        public void setAdditionalData​(java.lang.Object value)
        Generated method - Setter of the CxResults.additionalData attribute.
        Parameters:
        value - the additionalData
      • isAnonymous

        public java.lang.Boolean isAnonymous​(SessionContext ctx)
        Generated method - Getter of the CxResults.anonymous attribute.
        Returns:
        the anonymous
      • isAnonymous

        public java.lang.Boolean isAnonymous()
        Generated method - Getter of the CxResults.anonymous attribute.
        Returns:
        the anonymous
      • isAnonymousAsPrimitive

        public boolean isAnonymousAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the CxResults.anonymous attribute.
        Returns:
        the anonymous
      • isAnonymousAsPrimitive

        public boolean isAnonymousAsPrimitive()
        Generated method - Getter of the CxResults.anonymous attribute.
        Returns:
        the anonymous
      • setAnonymous

        public void setAnonymous​(SessionContext ctx,
                                 java.lang.Boolean value)
        Generated method - Setter of the CxResults.anonymous attribute.
        Parameters:
        value - the anonymous
      • setAnonymous

        public void setAnonymous​(java.lang.Boolean value)
        Generated method - Setter of the CxResults.anonymous attribute.
        Parameters:
        value - the anonymous
      • setAnonymous

        public void setAnonymous​(SessionContext ctx,
                                 boolean value)
        Generated method - Setter of the CxResults.anonymous attribute.
        Parameters:
        value - the anonymous
      • setAnonymous

        public void setAnonymous​(boolean value)
        Generated method - Setter of the CxResults.anonymous attribute.
        Parameters:
        value - the anonymous
      • getCalculationTime

        public java.util.Date getCalculationTime​(SessionContext ctx)
        Generated method - Getter of the CxResults.calculationTime attribute.
        Returns:
        the calculationTime
      • getCalculationTime

        public java.util.Date getCalculationTime()
        Generated method - Getter of the CxResults.calculationTime attribute.
        Returns:
        the calculationTime
      • setCalculationTime

        public void setCalculationTime​(SessionContext ctx,
                                       java.util.Date value)
        Generated method - Setter of the CxResults.calculationTime attribute.
        Parameters:
        value - the calculationTime
      • setCalculationTime

        public void setCalculationTime​(java.util.Date value)
        Generated method - Setter of the CxResults.calculationTime attribute.
        Parameters:
        value - the calculationTime
      • getCatalogVersion

        public CatalogVersion getCatalogVersion​(SessionContext ctx)
        Generated method - Getter of the CxResults.catalogVersion attribute.
        Returns:
        the catalogVersion
      • getCatalogVersion

        public CatalogVersion getCatalogVersion()
        Generated method - Getter of the CxResults.catalogVersion attribute.
        Returns:
        the catalogVersion
      • setCatalogVersion

        public void setCatalogVersion​(SessionContext ctx,
                                      CatalogVersion value)
        Generated method - Setter of the CxResults.catalogVersion attribute.
        Parameters:
        value - the catalogVersion
      • setCatalogVersion

        public void setCatalogVersion​(CatalogVersion value)
        Generated method - Setter of the CxResults.catalogVersion attribute.
        Parameters:
        value - the catalogVersion
      • 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
      • isDefault

        public java.lang.Boolean isDefault​(SessionContext ctx)
        Generated method - Getter of the CxResults.default attribute.
        Returns:
        the default - Mark for default results calculated for anonymous user
      • isDefault

        public java.lang.Boolean isDefault()
        Generated method - Getter of the CxResults.default attribute.
        Returns:
        the default - Mark for default results calculated for anonymous user
      • isDefaultAsPrimitive

        public boolean isDefaultAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the CxResults.default attribute.
        Returns:
        the default - Mark for default results calculated for anonymous user
      • isDefaultAsPrimitive

        public boolean isDefaultAsPrimitive()
        Generated method - Getter of the CxResults.default attribute.
        Returns:
        the default - Mark for default results calculated for anonymous user
      • setDefault

        public void setDefault​(SessionContext ctx,
                               java.lang.Boolean value)
        Generated method - Setter of the CxResults.default attribute.
        Parameters:
        value - the default - Mark for default results calculated for anonymous user
      • setDefault

        public void setDefault​(java.lang.Boolean value)
        Generated method - Setter of the CxResults.default attribute.
        Parameters:
        value - the default - Mark for default results calculated for anonymous user
      • setDefault

        public void setDefault​(SessionContext ctx,
                               boolean value)
        Generated method - Setter of the CxResults.default attribute.
        Parameters:
        value - the default - Mark for default results calculated for anonymous user
      • setDefault

        public void setDefault​(boolean value)
        Generated method - Setter of the CxResults.default attribute.
        Parameters:
        value - the default - Mark for default results calculated for anonymous user
      • getKey

        public java.lang.String getKey​(SessionContext ctx)
        Generated method - Getter of the CxResults.key attribute.
        Returns:
        the key
      • getKey

        public java.lang.String getKey()
        Generated method - Getter of the CxResults.key attribute.
        Returns:
        the key
      • setKey

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

        public void setKey​(java.lang.String value)
        Generated method - Setter of the CxResults.key attribute.
        Parameters:
        value - the key
      • getResults

        public java.lang.Object getResults​(SessionContext ctx)
        Generated method - Getter of the CxResults.results attribute.
        Returns:
        the results
      • getResults

        public java.lang.Object getResults()
        Generated method - Getter of the CxResults.results attribute.
        Returns:
        the results
      • setResults

        public void setResults​(SessionContext ctx,
                               java.lang.Object value)
        Generated method - Setter of the CxResults.results attribute.
        Parameters:
        value - the results
      • setResults

        public void setResults​(java.lang.Object value)
        Generated method - Setter of the CxResults.results attribute.
        Parameters:
        value - the results
      • getSessionKey

        public java.lang.String getSessionKey​(SessionContext ctx)
        Generated method - Getter of the CxResults.sessionKey attribute.
        Returns:
        the sessionKey
      • getSessionKey

        public java.lang.String getSessionKey()
        Generated method - Getter of the CxResults.sessionKey attribute.
        Returns:
        the sessionKey
      • setSessionKey

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

        public void setSessionKey​(java.lang.String value)
        Generated method - Setter of the CxResults.sessionKey attribute.
        Parameters:
        value - the sessionKey
      • getUser

        public User getUser​(SessionContext ctx)
        Generated method - Getter of the CxResults.user attribute.
        Returns:
        the user
      • getUser

        public User getUser()
        Generated method - Getter of the CxResults.user attribute.
        Returns:
        the user
      • setUser

        public void setUser​(SessionContext ctx,
                            User value)
        Generated method - Setter of the CxResults.user attribute.
        Parameters:
        value - the user
      • setUser

        public void setUser​(User value)
        Generated method - Setter of the CxResults.user attribute.
        Parameters:
        value - the user