Class CometTemplate.Spread

All Implemented Interfaces:
Serializable
Enclosing class:
CometTemplate

@CometTypeConstraints(calculateIds=false, referenceBinding=NONE) public static class CometTemplate.Spread extends CometEntity
The Class Spread.
See Also:
  • Constructor Details

    • Spread

      public Spread()
      Instantiates a new spread.
    • Spread

      public Spread(int id, CometTemplate.Position position, int leftTemplateId, int middleTemplateId, int rightTemplateId, Integer continueTemplateId, Integer scriptId)
      Instantiates a new spread.
      Parameters:
      id - id of the spread
      position - position of the spread
      leftTemplateId - associated left spread of this spread
      middleTemplateId - associated middle spread of this spread
      rightTemplateId - associated right spread of this spread
      continueTemplateId - associated continue spread of this spread
      scriptId - script (build preparation) id of this spread
  • Method Details

    • getContinue

      public CometTemplate getContinue()
      Gets the associated continuing template of this spread
      Returns:
      the continuing template of this spread
    • getContinueTemplateId

      public Integer getContinueTemplateId()
      Gets the continuing templates id
      Returns:
      the continuing template id
    • getLeftItem

      public CometTemplate getLeftItem()
      Gets the associated left template of this spread
      Returns:
      the left template of this spread
    • getLeftTemplateId

      public Integer getLeftTemplateId()
      Gets the left templates id
      Returns:
      the left templates id
    • getMiddleItem

      public CometTemplate getMiddleItem()
      Gets the associated middle template of this spread
      Returns:
      the middle template of this spread
    • getMiddleTemplateId

      public Integer getMiddleTemplateId()
      Gets the middle templates id
      Returns:
      the middle templates id
    • getPosition

      public CometTemplate.Position getPosition()
      Gets the position of this spread
      Returns:
      the position
    • getRightItem

      public CometTemplate getRightItem()
      Gets the associated right template of this spread
      Returns:
      the right template of this spread
    • getRightTemplateId

      public Integer getRightTemplateId()
      Gets the right templates id
      Returns:
      the right templates id
    • getScript

      public CometTemplateIdScript getScript()
      Gets the script (build preparation) of this spread
      Returns:
      the script
    • getTemplateScriptId

      public Integer getTemplateScriptId()
      Gets the script id of this spread
      Returns:
      the script id of this spread
    • setContinue

      public void setContinue(CometTemplate continue_)
      Sets the continuing template of this spread
      Parameters:
      continue_ - the new continuing template of this spread
    • setContinueTemplateId

      public void setContinueTemplateId(Integer continueTemplateId)
      Sets the continuing templates id.
      Parameters:
      continueTemplateId - the new continuing templates id
    • setLeftItem

      public void setLeftItem(CometTemplate leftItem)
      Sets the left template of this spread
      Parameters:
      leftItem - the new left template of this spread
    • setLeftTemplateId

      public void setLeftTemplateId(Integer leftTemplateId)
      Sets the left templates id
      Parameters:
      leftTemplateId - the new left templates id
    • setMiddleItem

      public void setMiddleItem(CometTemplate middleItem)
      Sets the middle template of this spread
      Parameters:
      middleItem - the new middle template of this spread
    • setMiddleTemplateId

      public void setMiddleTemplateId(Integer middleTemplateId)
      Sets the middle templates id
      Parameters:
      middleTemplateId - the new middle templates id
    • setPosition

      public void setPosition(CometTemplate.Position position)
      Sets the position of this spread
      Parameters:
      position - the new position
    • setRightItem

      public void setRightItem(CometTemplate rightItem)
      Sets the right template of this spread
      Parameters:
      rightItem - the new right template
    • setRightTemplateId

      public void setRightTemplateId(Integer rightTemplateId)
      Sets the right templates id
      Parameters:
      rightTemplateId - the new right templates id
    • setScript

      public void setScript(CometTemplateIdScript script)
      Sets the script (build preparation) of this spread
      Parameters:
      script - the new script
    • setTemplateScriptId

      public void setTemplateScriptId(Integer templateScriptId)
      Sets the templates script id
      Parameters:
      templateScriptId - the new templates script id