Class GeneratedY2YColumnDefintion

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
Y2YColumnDefintion

public abstract class GeneratedY2YColumnDefintion extends GenericItem
Generated class for type Y2YColumnDefinition.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedY2YColumnDefintion

      public GeneratedY2YColumnDefintion()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class Item
    • 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 String getColumnName(SessionContext ctx)
      Generated method - Getter of the Y2YColumnDefinition.columnName attribute.
      Returns:
      the columnName
    • getColumnName

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

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

      public void setColumnName(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 String getImpexHeader(SessionContext ctx)
      Generated method - Getter of the Y2YColumnDefinition.impexHeader attribute.
      Returns:
      the impexHeader
    • getImpexHeader

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

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

      public void setImpexHeader(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 Integer getPosition(SessionContext ctx)
      Generated method - Getter of the Y2YColumnDefinition.position attribute.
      Returns:
      the position
    • getPosition

      public 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, Integer value)
      Generated method - Setter of the Y2YColumnDefinition.position attribute.
      Parameters:
      value - the position
    • setPosition

      public void setPosition(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