Class HeaderInfo

java.lang.Object
com.nt.udc.ei.node.amadirpei.configReader.HeaderInfo

public class HeaderInfo extends Object
This class is used to store a header line from the AMA config file (ex: "STRUCTURE NAME=.... CODE=...")
  • Constructor Details

    • HeaderInfo

      public HeaderInfo()
  • Method Details

    • setCode

      public void setCode(String code2)
      Set a structure or module code
      Parameters:
      code2 - structure/module code
    • setName

      public void setName(String name2)
      Set a structure or module name
      Parameters:
      name2 - structure/module code
    • getName

      public String getName()
      Get a structure or module name
      Returns:
      structure/module name
    • getCode

      public String getCode()
      Get a structure or module code
      Returns:
      structure/module code
    • toString

      public String toString()
      Convert a HeaderInfo object into a String (for debug purposes)
      Overrides:
      toString in class Object
      Returns:
      String representation of the object