Class GeneratedStreamConfiguration

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

public abstract class GeneratedStreamConfiguration extends GenericItem
Generated class for type StreamConfiguration.
See Also:
  • Field Details

    • STREAMID

      public static final String STREAMID
      Qualifier of the StreamConfiguration.streamId attribute
      See Also:
    • ITEMTYPEFORSTREAM

      public static final String ITEMTYPEFORSTREAM
      Qualifier of the StreamConfiguration.itemTypeForStream attribute
      See Also:
    • WHERECLAUSE

      public static final String WHERECLAUSE
      Qualifier of the StreamConfiguration.whereClause attribute
      See Also:
    • VERSIONSELECTCLAUSE

      public static final String VERSIONSELECTCLAUSE
      Qualifier of the StreamConfiguration.versionSelectClause attribute
      See Also:
    • ACTIVE

      public static final String ACTIVE
      Qualifier of the StreamConfiguration.active attribute
      See Also:
    • INFOEXPRESSION

      public static final String INFOEXPRESSION
      Qualifier of the StreamConfiguration.infoExpression attribute
      See Also:
    • CONTAINER

      public static final String CONTAINER
      Qualifier of the StreamConfiguration.container attribute
      See Also:
    • EXCLUDEDTYPES

      public static final String EXCLUDEDTYPES
      Qualifier of the StreamConfiguration.excludedTypes attribute
      See Also:
    • STREAMCONFIGURATIONEXCLUDEDSUBTYPES_SRC_ORDERED

      protected static String STREAMCONFIGURATIONEXCLUDEDSUBTYPES_SRC_ORDERED
      Relation ordering override parameter constants for StreamConfigurationExcludedSubtypes from ((deltadetection))
    • STREAMCONFIGURATIONEXCLUDEDSUBTYPES_TGT_ORDERED

      protected static String STREAMCONFIGURATIONEXCLUDEDSUBTYPES_TGT_ORDERED
    • STREAMCONFIGURATIONEXCLUDEDSUBTYPES_MARKMODIFIED

      protected static String STREAMCONFIGURATIONEXCLUDEDSUBTYPES_MARKMODIFIED
      Relation disable markmodifed parameter constants for StreamConfigurationExcludedSubtypes from ((deltadetection))
    • CONTAINERHANDLER

      protected static final BidirectionalOneToManyHandler<GeneratedStreamConfiguration> CONTAINERHANDLER
      BidirectionalOneToManyHandler for handling 1:n CONTAINER's relation attributes from 'one' side.
    • DEFAULT_INITIAL_ATTRIBUTES

      protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
  • Constructor Details

    • GeneratedStreamConfiguration

      public GeneratedStreamConfiguration()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class Item
    • isActive

      public Boolean isActive(SessionContext ctx)
      Generated method - Getter of the StreamConfiguration.active attribute.
      Returns:
      the active
    • isActive

      public Boolean isActive()
      Generated method - Getter of the StreamConfiguration.active attribute.
      Returns:
      the active
    • isActiveAsPrimitive

      public boolean isActiveAsPrimitive(SessionContext ctx)
      Generated method - Getter of the StreamConfiguration.active attribute.
      Returns:
      the active
    • isActiveAsPrimitive

      public boolean isActiveAsPrimitive()
      Generated method - Getter of the StreamConfiguration.active attribute.
      Returns:
      the active
    • setActive

      public void setActive(SessionContext ctx, Boolean value)
      Generated method - Setter of the StreamConfiguration.active attribute.
      Parameters:
      value - the active
    • setActive

      public void setActive(Boolean value)
      Generated method - Setter of the StreamConfiguration.active attribute.
      Parameters:
      value - the active
    • setActive

      public void setActive(SessionContext ctx, boolean value)
      Generated method - Setter of the StreamConfiguration.active attribute.
      Parameters:
      value - the active
    • setActive

      public void setActive(boolean value)
      Generated method - Setter of the StreamConfiguration.active attribute.
      Parameters:
      value - the active
    • getContainer

      public StreamConfigurationContainer getContainer(SessionContext ctx)
      Generated method - Getter of the StreamConfiguration.container attribute.
      Returns:
      the container
    • getContainer

      public StreamConfigurationContainer getContainer()
      Generated method - Getter of the StreamConfiguration.container attribute.
      Returns:
      the container
    • setContainer

      protected void setContainer(SessionContext ctx, StreamConfigurationContainer value)
      Generated method - Setter of the StreamConfiguration.container attribute.
      Parameters:
      value - the container
    • setContainer

      protected void setContainer(StreamConfigurationContainer value)
      Generated method - Setter of the StreamConfiguration.container attribute.
      Parameters:
      value - the container
    • 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
    • getExcludedTypes

      public Set<ComposedType> getExcludedTypes(SessionContext ctx)
      Generated method - Getter of the StreamConfiguration.excludedTypes attribute.
      Returns:
      the excludedTypes
    • getExcludedTypes

      public Set<ComposedType> getExcludedTypes()
      Generated method - Getter of the StreamConfiguration.excludedTypes attribute.
      Returns:
      the excludedTypes
    • getExcludedTypesCount

      public long getExcludedTypesCount(SessionContext ctx)
    • getExcludedTypesCount

      public long getExcludedTypesCount()
    • setExcludedTypes

      public void setExcludedTypes(SessionContext ctx, Set<ComposedType> value)
      Generated method - Setter of the StreamConfiguration.excludedTypes attribute.
      Parameters:
      value - the excludedTypes
    • setExcludedTypes

      public void setExcludedTypes(Set<ComposedType> value)
      Generated method - Setter of the StreamConfiguration.excludedTypes attribute.
      Parameters:
      value - the excludedTypes
    • addToExcludedTypes

      public void addToExcludedTypes(SessionContext ctx, ComposedType value)
      Generated method - Adds value to excludedTypes.
      Parameters:
      value - the item to add to excludedTypes
    • addToExcludedTypes

      public void addToExcludedTypes(ComposedType value)
      Generated method - Adds value to excludedTypes.
      Parameters:
      value - the item to add to excludedTypes
    • removeFromExcludedTypes

      public void removeFromExcludedTypes(SessionContext ctx, ComposedType value)
      Generated method - Removes value from excludedTypes.
      Parameters:
      value - the item to remove from excludedTypes
    • removeFromExcludedTypes

      public void removeFromExcludedTypes(ComposedType value)
      Generated method - Removes value from excludedTypes.
      Parameters:
      value - the item to remove from excludedTypes
    • getInfoExpression

      public String getInfoExpression(SessionContext ctx)
      Generated method - Getter of the StreamConfiguration.infoExpression attribute.
      Returns:
      the infoExpression
    • getInfoExpression

      public String getInfoExpression()
      Generated method - Getter of the StreamConfiguration.infoExpression attribute.
      Returns:
      the infoExpression
    • setInfoExpression

      public void setInfoExpression(SessionContext ctx, String value)
      Generated method - Setter of the StreamConfiguration.infoExpression attribute.
      Parameters:
      value - the infoExpression
    • setInfoExpression

      public void setInfoExpression(String value)
      Generated method - Setter of the StreamConfiguration.infoExpression attribute.
      Parameters:
      value - the infoExpression
    • isMarkModifiedDisabled

      @Deprecated(since="2105", forRemoval=true) public boolean isMarkModifiedDisabled(Item referencedItem)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      isMarkModifiedDisabled in class Item
    • getItemTypeForStream

      public ComposedType getItemTypeForStream(SessionContext ctx)
      Generated method - Getter of the StreamConfiguration.itemTypeForStream attribute.
      Returns:
      the itemTypeForStream
    • getItemTypeForStream

      public ComposedType getItemTypeForStream()
      Generated method - Getter of the StreamConfiguration.itemTypeForStream attribute.
      Returns:
      the itemTypeForStream
    • setItemTypeForStream

      public void setItemTypeForStream(SessionContext ctx, ComposedType value)
      Generated method - Setter of the StreamConfiguration.itemTypeForStream attribute.
      Parameters:
      value - the itemTypeForStream
    • setItemTypeForStream

      public void setItemTypeForStream(ComposedType value)
      Generated method - Setter of the StreamConfiguration.itemTypeForStream attribute.
      Parameters:
      value - the itemTypeForStream
    • getStreamId

      public String getStreamId(SessionContext ctx)
      Generated method - Getter of the StreamConfiguration.streamId attribute.
      Returns:
      the streamId
    • getStreamId

      public String getStreamId()
      Generated method - Getter of the StreamConfiguration.streamId attribute.
      Returns:
      the streamId
    • setStreamId

      protected void setStreamId(SessionContext ctx, String value)
      Generated method - Setter of the StreamConfiguration.streamId attribute.
      Parameters:
      value - the streamId
    • setStreamId

      protected void setStreamId(String value)
      Generated method - Setter of the StreamConfiguration.streamId attribute.
      Parameters:
      value - the streamId
    • getVersionSelectClause

      public String getVersionSelectClause(SessionContext ctx)
      Generated method - Getter of the StreamConfiguration.versionSelectClause attribute.
      Returns:
      the versionSelectClause
    • getVersionSelectClause

      public String getVersionSelectClause()
      Generated method - Getter of the StreamConfiguration.versionSelectClause attribute.
      Returns:
      the versionSelectClause
    • setVersionSelectClause

      public void setVersionSelectClause(SessionContext ctx, String value)
      Generated method - Setter of the StreamConfiguration.versionSelectClause attribute.
      Parameters:
      value - the versionSelectClause
    • setVersionSelectClause

      public void setVersionSelectClause(String value)
      Generated method - Setter of the StreamConfiguration.versionSelectClause attribute.
      Parameters:
      value - the versionSelectClause
    • getWhereClause

      public String getWhereClause(SessionContext ctx)
      Generated method - Getter of the StreamConfiguration.whereClause attribute.
      Returns:
      the whereClause
    • getWhereClause

      public String getWhereClause()
      Generated method - Getter of the StreamConfiguration.whereClause attribute.
      Returns:
      the whereClause
    • setWhereClause

      public void setWhereClause(SessionContext ctx, String value)
      Generated method - Setter of the StreamConfiguration.whereClause attribute.
      Parameters:
      value - the whereClause
    • setWhereClause

      public void setWhereClause(String value)
      Generated method - Setter of the StreamConfiguration.whereClause attribute.
      Parameters:
      value - the whereClause