Class RecordDTOInfoParameter

java.lang.Object
org.tentackle.buildsupport.RecordDTOInfoParameter

public class RecordDTOInfoParameter extends Object
Abstraction of a record component.
  • Constructor Details

    • RecordDTOInfoParameter

      public RecordDTOInfoParameter(RecordDTOInfo info, RecordComponentElement recordComponent)
      Constructs a RecordDTOInfoParameter.
      Parameters:
      info - the parent info
      recordComponent - the record component
    • RecordDTOInfoParameter

      public RecordDTOInfoParameter(RecordDTOInfo info, StringTokenizer stok)
      Constructs a RecordDTOInfoParameter.
      Parameters:
      info - the parent info
      stok - the tokenizer to read from
  • Method Details

    • getInfo

      public RecordDTOInfo getInfo()
      Gets the parent info.
      Returns:
      the parent
    • getName

      public String getName()
      Gets the formal parameter name
      Returns:
      the parameter name
    • getType

      public String getType()
      Gets the parameter type
      Returns:
      the parameter type
    • write

      public void write(PrintWriter writer)
      Writes this parameter to the infofile.
      Parameters:
      writer - the writer bound to the infofile
    • toString

      public String toString()
      Overrides:
      toString in class Object