Class PageTemplate

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Constructor Detail

      • PageTemplate

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

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

      • setId

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public void setStringId​(java.lang.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 java.lang.String getMasterpages()
        Gets masterpages.
        Returns:
        the masterpages
      • setMasterpages

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

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

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

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

        public void setAutoSuccessor​(java.lang.Integer autoSuccessor)
        Sets auto successor.
        Parameters:
        autoSuccessor - the auto successor
      • setTemplates

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

        public java.lang.String getKind()
        Description copied from class: Template
        Gets kind.
        Overrides:
        getKind in class Template
        Returns:
        the kind
      • 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