Class KeepProperty

    • Field Detail

      • isCachedValue

        private boolean isCachedValue
      • withinLine

        private Property withinLine
      • withinColumn

        private Property withinColumn
      • withinPage

        private Property withinPage
    • Constructor Detail

      • KeepProperty

        public KeepProperty()
    • Method Detail

      • setComponent

        public void setComponent​(int cmpId,
                                 Property cmpnValue,
                                 boolean bIsDefault)
        Sets a component of the compound datatype.
        Specified by:
        setComponent in interface CompoundDatatype
        Parameters:
        cmpId - ID of the component
        cmpnValue - value of the component
        bIsDefault - Indicates if it's the default value
      • getComponent

        public Property getComponent​(int cmpId)
        Returns a component of the compound datatype.
        Specified by:
        getComponent in interface CompoundDatatype
        Parameters:
        cmpId - ID of the component
        Returns:
        the value of the component
      • setWithinLine

        public void setWithinLine​(Property withinLine,
                                  boolean bIsDefault)
        Parameters:
        withinLine - withinLine property to set
        bIsDefault - not used (??)
      • setWithinColumn

        protected void setWithinColumn​(Property withinColumn,
                                       boolean bIsDefault)
        Parameters:
        withinColumn - withinColumn property to set
        bIsDefault - not used (??)
      • setWithinPage

        public void setWithinPage​(Property withinPage,
                                  boolean bIsDefault)
        Parameters:
        withinPage - withinPage property to set
        bIsDefault - not used (??)
      • getWithinLine

        public Property getWithinLine()
        Returns:
        the withinLine property
      • getWithinColumn

        public Property getWithinColumn()
        Returns:
        the withinColumn property
      • getWithinPage

        public Property getWithinPage()
        Returns:
        the withinPage property
      • toString

        public java.lang.String toString()
        Not sure what to do here. There isn't really a meaningful single value.
        Overrides:
        toString in class Property
        Returns:
        String representation
      • getKeep

        public KeepProperty getKeep()
        Description copied from class: Property
        This method expects to be overridden by subclasses
        Overrides:
        getKeep in class Property
        Returns:
        the canonical KeepProperty instance corresponding to this property
      • getObject

        public java.lang.Object getObject()
        Description copied from class: Property
        This method expects to be overridden by subclasses
        Overrides:
        getObject in class Property
        Returns:
        this.keep cast as Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object