Class GeneratedY2YColumnDefintion

    • Field Detail

      • POSITION

        public static final java.lang.String POSITION
        Qualifier of the Y2YColumnDefinition.position attribute
        See Also:
        Constant Field Values
      • ATTRIBUTEDESCRIPTOR

        public static final java.lang.String ATTRIBUTEDESCRIPTOR
        Qualifier of the Y2YColumnDefinition.attributeDescriptor attribute
        See Also:
        Constant Field Values
      • LANGUAGE

        public static final java.lang.String LANGUAGE
        Qualifier of the Y2YColumnDefinition.language attribute
        See Also:
        Constant Field Values
      • COLUMNNAME

        public static final java.lang.String COLUMNNAME
        Qualifier of the Y2YColumnDefinition.columnName attribute
        See Also:
        Constant Field Values
      • IMPEXHEADER

        public static final java.lang.String IMPEXHEADER
        Qualifier of the Y2YColumnDefinition.impexHeader attribute
        See Also:
        Constant Field Values
      • STREAMCONFIGURATION

        public static final java.lang.String STREAMCONFIGURATION
        Qualifier of the Y2YColumnDefinition.streamConfiguration 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

      • GeneratedY2YColumnDefintion

        public GeneratedY2YColumnDefintion()
    • Method Detail

      • getAttributeDescriptor

        public AttributeDescriptor getAttributeDescriptor​(SessionContext ctx)
        Generated method - Getter of the Y2YColumnDefinition.attributeDescriptor attribute.
        Returns:
        the attributeDescriptor
      • getAttributeDescriptor

        public AttributeDescriptor getAttributeDescriptor()
        Generated method - Getter of the Y2YColumnDefinition.attributeDescriptor attribute.
        Returns:
        the attributeDescriptor
      • setAttributeDescriptor

        protected void setAttributeDescriptor​(SessionContext ctx,
                                              AttributeDescriptor value)
        Generated method - Setter of the Y2YColumnDefinition.attributeDescriptor attribute.
        Parameters:
        value - the attributeDescriptor
      • setAttributeDescriptor

        protected void setAttributeDescriptor​(AttributeDescriptor value)
        Generated method - Setter of the Y2YColumnDefinition.attributeDescriptor attribute.
        Parameters:
        value - the attributeDescriptor
      • getColumnName

        public java.lang.String getColumnName​(SessionContext ctx)
        Generated method - Getter of the Y2YColumnDefinition.columnName attribute.
        Returns:
        the columnName
      • getColumnName

        public java.lang.String getColumnName()
        Generated method - Getter of the Y2YColumnDefinition.columnName attribute.
        Returns:
        the columnName
      • setColumnName

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

        public void setColumnName​(java.lang.String value)
        Generated method - Setter of the Y2YColumnDefinition.columnName attribute.
        Parameters:
        value - the columnName
      • 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
      • getImpexHeader

        public java.lang.String getImpexHeader​(SessionContext ctx)
        Generated method - Getter of the Y2YColumnDefinition.impexHeader attribute.
        Returns:
        the impexHeader
      • getImpexHeader

        public java.lang.String getImpexHeader()
        Generated method - Getter of the Y2YColumnDefinition.impexHeader attribute.
        Returns:
        the impexHeader
      • setImpexHeader

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

        public void setImpexHeader​(java.lang.String value)
        Generated method - Setter of the Y2YColumnDefinition.impexHeader attribute.
        Parameters:
        value - the impexHeader
      • getLanguage

        public Language getLanguage​(SessionContext ctx)
        Generated method - Getter of the Y2YColumnDefinition.language attribute.
        Returns:
        the language
      • getLanguage

        public Language getLanguage()
        Generated method - Getter of the Y2YColumnDefinition.language attribute.
        Returns:
        the language
      • setLanguage

        public void setLanguage​(SessionContext ctx,
                                Language value)
        Generated method - Setter of the Y2YColumnDefinition.language attribute.
        Parameters:
        value - the language
      • setLanguage

        public void setLanguage​(Language value)
        Generated method - Setter of the Y2YColumnDefinition.language attribute.
        Parameters:
        value - the language
      • getPosition

        public java.lang.Integer getPosition​(SessionContext ctx)
        Generated method - Getter of the Y2YColumnDefinition.position attribute.
        Returns:
        the position
      • getPosition

        public java.lang.Integer getPosition()
        Generated method - Getter of the Y2YColumnDefinition.position attribute.
        Returns:
        the position
      • getPositionAsPrimitive

        public int getPositionAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the Y2YColumnDefinition.position attribute.
        Returns:
        the position
      • getPositionAsPrimitive

        public int getPositionAsPrimitive()
        Generated method - Getter of the Y2YColumnDefinition.position attribute.
        Returns:
        the position
      • setPosition

        public void setPosition​(SessionContext ctx,
                                java.lang.Integer value)
        Generated method - Setter of the Y2YColumnDefinition.position attribute.
        Parameters:
        value - the position
      • setPosition

        public void setPosition​(java.lang.Integer value)
        Generated method - Setter of the Y2YColumnDefinition.position attribute.
        Parameters:
        value - the position
      • setPosition

        public void setPosition​(SessionContext ctx,
                                int value)
        Generated method - Setter of the Y2YColumnDefinition.position attribute.
        Parameters:
        value - the position
      • setPosition

        public void setPosition​(int value)
        Generated method - Setter of the Y2YColumnDefinition.position attribute.
        Parameters:
        value - the position
      • getStreamConfiguration

        public Y2YStreamConfiguration getStreamConfiguration​(SessionContext ctx)
        Generated method - Getter of the Y2YColumnDefinition.streamConfiguration attribute.
        Returns:
        the streamConfiguration
      • getStreamConfiguration

        public Y2YStreamConfiguration getStreamConfiguration()
        Generated method - Getter of the Y2YColumnDefinition.streamConfiguration attribute.
        Returns:
        the streamConfiguration
      • setStreamConfiguration

        protected void setStreamConfiguration​(SessionContext ctx,
                                              Y2YStreamConfiguration value)
        Generated method - Setter of the Y2YColumnDefinition.streamConfiguration attribute.
        Parameters:
        value - the streamConfiguration
      • setStreamConfiguration

        protected void setStreamConfiguration​(Y2YStreamConfiguration value)
        Generated method - Setter of the Y2YColumnDefinition.streamConfiguration attribute.
        Parameters:
        value - the streamConfiguration