Class FixVersionImpl

Direct Known Subclasses:
FixVersion

public class FixVersionImpl extends PackageElementWalker
  • Field Details

    • bFixIDs

      protected boolean bFixIDs
    • bZappInvalid

      protected boolean bZappInvalid
    • bRepairData

      protected boolean bRepairData
    • bZappDeprecated

      protected boolean bZappDeprecated
    • bFixNewDuplicate

      protected boolean bFixNewDuplicate
    • version

      protected final JDFElement.EnumVersion version
    • bOK

      protected boolean bOK
    • fixICSVersions

      protected boolean fixICSVersions
    • bLayoutPrepToStripping

      protected boolean bLayoutPrepToStripping
  • Constructor Details

    • FixVersionImpl

      public FixVersionImpl(JDFElement.EnumVersion _version)
      Parameters:
      _version -
    • FixVersionImpl

      public FixVersionImpl(FixVersionImpl fixVersion)
      Parameters:
      fixVersion -
  • Method Details

    • 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)
    • isbRepairData

      public boolean isbRepairData()
    • setRepairData

      public void setRepairData(boolean bRepairData)
    • getNewYear

      public int getNewYear()
    • setNewYear

      public void setNewYear(int newYear)
    • addIgnore

      public void addIgnore(String elementName, 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
    • constructWalker

      protected BaseWalker constructWalker(String name)
      Overrides:
      constructWalker in class PackageElementWalker
      Returns:
      See Also:
    • 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 String toString()
      Overrides:
      toString in class ElementWalker
      See Also: