Class FixVersionImpl

    • Field Detail

      • bFixIDs

        protected boolean bFixIDs
      • bZappInvalid

        protected boolean bZappInvalid
      • bRepairData

        protected boolean bRepairData
      • bZappDeprecated

        protected boolean bZappDeprecated
      • bFixNewDuplicate

        protected boolean bFixNewDuplicate
      • bOK

        protected boolean bOK
      • fixICSVersions

        protected boolean fixICSVersions
      • bLayoutPrepToStripping

        protected boolean bLayoutPrepToStripping
    • Constructor Detail

      • FixVersionImpl

        public FixVersionImpl​(FixVersionImpl fixVersion)
        Parameters:
        fixVersion -
    • Method Detail

      • isFixNewDuplicate

        public boolean isFixNewDuplicate()
        Returns:
        the bFixNewDuplicate
      • setFixNewDuplicate

        public void setFixNewDuplicate​(boolean bFixNewDuplicate)
        Parameters:
        bFixNewDuplicate - the bFixNewDuplicate to set
      • isZappDeprecated

        public boolean isZappDeprecated()
        Returns:
        the bZappDeprecated
      • setZappDeprecated

        public void setZappDeprecated​(boolean bZappDeprecated)
        Parameters:
        bZappDeprecated - the bZappDeprecated to set
      • isFixICSVersions

        public boolean isFixICSVersions()
        Returns:
        the fixICSVersions
      • setFixICSVersions

        public void setFixICSVersions​(boolean pFixICSVersions)
        Parameters:
        pFixICSVersions - the fixICSVersions to set
      • isFixVersionIDFix

        public boolean isFixVersionIDFix()
        Returns:
        the bFixVersionIDFix if true then invalid, i.e. numeric ID, IDREF and IDREFS are prefixed with an '_' when calling fixVersion
      • isOK

        public boolean isOK()
        any problems on the way?
        Returns:
        the bOK
      • setFixVersionIDFix

        public void setFixVersionIDFix​(boolean fixVersionIDFix)
        Parameters:
        fixVersionIDFix - the bFixVersionIDFix to set if true then invalid, i.e. numeric ID, IDREF and IDREFS are prefixed with an '_' when calling fixVersion
      • getDefaultFirstHour

        public static int getDefaultFirstHour()
      • setDefaultFirstHour

        public static void setDefaultFirstHour​(int defaultFirstHour)
      • getDefaultLastHour

        public static int getDefaultLastHour()
      • setDefaultLastHour

        public static void setDefaultLastHour​(int defaultLastHour)
      • getNewYear

        public int getNewYear()
      • setNewYear

        public void setNewYear​(int newYear)
      • addIgnore

        public void addIgnore​(java.lang.String elementName,
                              java.lang.String attributeName)
        Parameters:
        elementName -
        attributeName -
      • setLayoutPrepToStripping

        public void setLayoutPrepToStripping​(boolean layoutPrepToStripping)
        Parameters:
        layoutPrepToStripping - the bLayoutPrepToStripping to set
      • convert

        public boolean convert​(KElement e)
        convert the element e to whichever version has been set up here
        Parameters:
        e - the element to convert - typically a JDF element
        Returns:
        true if all went well
      • updateAssemblyIDS

        protected void updateAssemblyIDS​(JDFElement e)
        Parameters:
        e - the assembly or assemblysection to update
      • lessThanVersion

        protected boolean lessThanVersion​(JDFElement.EnumVersion v)
        returns true if v is less than the target version
        Parameters:
        v -
        Returns:
      • setBZappInvalid

        public void setBZappInvalid​(boolean zappInvalid)
        Parameters:
        zappInvalid - the bZappInvalid to set
      • isXJDF

        public boolean isXJDF()
        Returns:
      • setFirsthour

        public void setFirsthour​(int firsthour)
        Parameters:
        firsthour - the firsthour to set
      • setLasthour

        public void setLasthour​(int lasthour)
        Parameters:
        lasthour - the lasthour to set
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class ElementWalker
        See Also:
        Object.toString()