Class PageTemplate

All Implemented Interfaces:
Serializable

public class PageTemplate extends Template

Java Interface for pagetemplate complex type. For internal use only

The following schema fragments specify the expected content contained within this class.

 <complexType name="bbox">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Left" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/>
         <element name="Top" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/>
         <element name="Right" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/>
         <element name="Bottom" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>

 <complexType name="template">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="UID" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> *
         <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/>
         <element name="Active" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
         <element name="Sequ" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
         <element name="ColorIndex" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
         <element name="Type" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
         <element name="AutoLink" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
         <element name="VerticalJust" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
         <element name="MinimumVJ" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/>
         <element name="StylesVJ" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/>
         <element name="MinimumVJEnabled" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
         <element name="StylesVJEnabled" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
         <element name="HasMoreObjects" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
         <element name="HasMoreFrames" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
         <element name="BuildDirection" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
         <element name="MinDistX" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/>
         <element name="MinDistY" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/>
         <element name="JustificationEnabled" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
         <element name="JustificationX" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
         <element name="JustificationY" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
         <element name="JustificationScript" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
         <element name="BBox" type="{http://comet.priint.com/configuration/entities/pagetemplate}bbox" minOccurs="1"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>

 <complexType name="templates">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="template" type="{http://comet.priint.com/configuration/entities/pagetemplate}template" minOccurs="0" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>

 <complexType name="pagetemplate">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="ID" type="{http://comet.priint.com/configuration/entities/pagetemplate}id" minOccurs="1"/>
         <element name="OwnerID" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
         <element name="Active" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
         <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/>
         <element name="DocName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/>
         <element name="PageWidth" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/>
         <element name="PageHeight" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/>
         <element name="PageNum" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
         <element name="MarginLeft" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/>
         <element name="MarginTop" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/>
         <element name="MarginRight" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/>
         <element name="MarginBottom" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/>
         <element name="PageType" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
         <element name="Barrier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/>
         <element name="StringID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/>
         <element name="Oposite" type="{http://comet.priint.com/configuration/entities/pagetemplate}id" minOccurs="1"/>
         <element name="Successor" type="{http://comet.priint.com/configuration/entities/pagetemplate}id" minOccurs="1"/>
         <element name="Masterpages" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/>
         <element name="AutoOposite" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
         <element name="AutoSuccessor" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/>
         <element name="templates" type="{http://comet.priint.com/configuration/entities/pagetemplate}templates" minOccurs="1"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Constructor Details

    • PageTemplate

      public PageTemplate()
      Instantiates a new Page template.
    • PageTemplate

      public PageTemplate(CometPageTemplate item)
      Instantiates a new Page template.
      Parameters:
      item - the item
  • Method Details

    • getId

      public int getId()
      Description copied from class: Comet3Entity
      Gets id.
      Overrides:
      getId in class Comet3Entity
      Returns:
      the id
    • setId

      public void setId(int id)
      Description copied from class: Comet3Entity
      Sets id.
      Overrides:
      setId in class Comet3Entity
      Parameters:
      id - the id
    • getID

      public PageTemplate.Id getID()
      Gets id.
      Returns:
      the id
    • setID

      public void setID(PageTemplate.Id iD)
      Sets id.
      Parameters:
      iD - the d
    • getOwnerId

      public Integer getOwnerId()
      Gets owner id.
      Returns:
      the owner id
    • setOwnerId

      public void setOwnerId(Integer ownerId)
      Sets owner id.
      Parameters:
      ownerId - the owner id
    • getActive

      public Integer getActive()
      Gets active.
      Returns:
      the active
    • setActive

      public void setActive(Integer active)
      Sets active.
      Parameters:
      active - the active
    • getDocName

      public String getDocName()
      Gets doc name.
      Returns:
      the doc name
    • setDocName

      public void setDocName(String docName)
      Sets doc name.
      Parameters:
      docName - the doc name
    • getName

      public String getName()
      Gets name.
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets name.
      Parameters:
      name - the name
    • getPageHeight

      public Double getPageHeight()
      Gets page height.
      Returns:
      the page height
    • setPageHeight

      public void setPageHeight(Double pageHeight)
      Sets page height.
      Parameters:
      pageHeight - the page height
    • getPageWidth

      public Double getPageWidth()
      Gets page width.
      Returns:
      the page width
    • setPageWidth

      public void setPageWidth(Double pageWidth)
      Sets page width.
      Parameters:
      pageWidth - the page width
    • getPageNum

      public Integer getPageNum()
      Gets page num.
      Returns:
      the page num
    • setPageNum

      public void setPageNum(Integer pageNum)
      Sets page num.
      Parameters:
      pageNum - the page num
    • getMarginLeft

      public Double getMarginLeft()
      Gets margin left.
      Returns:
      the margin left
    • setMarginLeft

      public void setMarginLeft(Double marginLeft)
      Sets margin left.
      Parameters:
      marginLeft - the margin left
    • getMarginTop

      public Double getMarginTop()
      Gets margin top.
      Returns:
      the margin top
    • setMarginTop

      public void setMarginTop(Double marginTop)
      Sets margin top.
      Parameters:
      marginTop - the margin top
    • getMarginRight

      public Double getMarginRight()
      Gets margin right.
      Returns:
      the margin right
    • setMarginRight

      public void setMarginRight(Double marginRight)
      Sets margin right.
      Parameters:
      marginRight - the margin right
    • getMarginBottom

      public Double getMarginBottom()
      Gets margin bottom.
      Returns:
      the margin bottom
    • setMarginBottom

      public void setMarginBottom(Double marginBottom)
      Sets margin bottom.
      Parameters:
      marginBottom - the margin bottom
    • getPageType

      public Integer getPageType()
      Gets page type.
      Returns:
      the page type
    • setPageType

      public void setPageType(Integer pageType)
      Sets page type.
      Parameters:
      pageType - the page type
    • getBarrier

      public Integer getBarrier()
      Gets barrier.
      Returns:
      the barrier
    • setBarrier

      public void setBarrier(Integer barrier)
      Sets barrier.
      Parameters:
      barrier - the barrier
    • getStringId

      public String getStringId()
      Gets string id.
      Returns:
      the string id
    • setStringId

      public void setStringId(String stringId)
      Sets string id.
      Parameters:
      stringId - the string id
    • getOpposite

      public PageTemplate.Id getOpposite()
      Gets opposite.
      Returns:
      the opposite
    • setOpposite

      public void setOpposite(PageTemplate.Id opposite)
      Sets opposite.
      Parameters:
      opposite - the opposite
    • getSuccessor

      public PageTemplate.Id getSuccessor()
      Gets successor.
      Returns:
      the successor
    • setSuccessor

      public void setSuccessor(PageTemplate.Id successor)
      Sets successor.
      Parameters:
      successor - the successor
    • getMasterpages

      public String getMasterpages()
      Gets masterpages.
      Returns:
      the masterpages
    • setMasterpages

      public void setMasterpages(String masterpages)
      Sets masterpages.
      Parameters:
      masterpages - the masterpages
    • getAutoOpposite

      public Integer getAutoOpposite()
      Gets auto opposite.
      Returns:
      the auto opposite
    • setAutoOpposite

      public void setAutoOpposite(Integer autoOpposite)
      Sets auto opposite.
      Parameters:
      autoOpposite - the auto opposite
    • getAutoSuccessor

      public Integer getAutoSuccessor()
      Gets auto successor.
      Returns:
      the auto successor
    • setAutoSuccessor

      public void setAutoSuccessor(Integer autoSuccessor)
      Sets auto successor.
      Parameters:
      autoSuccessor - the auto successor
    • getTemplates

      public PageTemplate.Templates getTemplates()
      Gets templates.
      Returns:
      the templates
    • setTemplates

      public void setTemplates(PageTemplate.Templates templates)
      Sets templates.
      Parameters:
      templates - the templates
    • getKind

      public String getKind()
      Description copied from class: Template
      Gets kind.
      Overrides:
      getKind in class Template
      Returns:
      the kind
    • applyValuesTo

      public void applyValuesTo(CometEntity other)
      Description copied from class: Template
      Apply values to.
      Overrides:
      applyValuesTo in class Template
      Parameters:
      other - the item
    • entityEquals

      public boolean entityEquals(CometEntity other)
      Description copied from class: Template
      Entity equals boolean.
      Overrides:
      entityEquals in class Template
      Parameters:
      other - the other
      Returns:
      the boolean
    • diff

      public Difference diff(CometPageTemplate template)