Class XMLParameter

java.lang.Object
gov.nih.mipav.model.file.XMLParameter
All Implemented Interfaces:
Serializable

public class XMLParameter extends Object implements Serializable

Title: Parameter

Description: Public class to store information for a parameter associated with the image (infinite parameters allowed per)

Copyright: Copyright (c) 2004

Company:

Version:
1.0
Author:
not attributable
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Use serialVersionUID for interoperability.
      See Also:
    • date

      private String date
      Parameter date.
    • description

      private String description
      Parameter description.
    • name

      private String name
      Parameter name.
    • time

      private String time
      Parameter time.
    • value

      private String value
      Parameter value.
    • valueType

      private String valueType
      Parameter value type.
  • Constructor Details

    • XMLParameter

      public XMLParameter(String name)
      Creates a new parameter by name.
      Parameters:
      name - String parameter name
  • Method Details

    • getDate

      public String getDate()
      Gets the parameter's date.
      Returns:
      String date
    • getDescription

      public String getDescription()
      Gets the parameter's description.
      Returns:
      String description
    • getName

      public String getName()
      Gets the parameter's name.
      Returns:
      String parameter name
    • getTime

      public String getTime()
      Gets the parameter's time.
      Returns:
      String time
    • getValue

      public String getValue()
      Gets the parameter's value.
      Returns:
      String value
    • getValueType

      public String getValueType()
      Gets the parameter's value-type.
      Returns:
      String value-type
    • setDate

      public void setDate(String date)
      Sets the date for the parameter.
      Parameters:
      date - String date
    • setDateTime

      public void setDateTime(String dateTime)
      Sets the date + T + time for the parameter.
      Parameters:
      dateTime - String date-time
    • setDescription

      public void setDescription(String description)
      Sets the description for the parameter.
      Parameters:
      description - String description
    • setTime

      public void setTime(String time)
      Sets the time for the parameter.
      Parameters:
      time - String time
    • setValue

      public void setValue(String value)
      Sets the value for the parameter.
      Parameters:
      value - String value
    • setValueType

      public void setValueType(String valueType)
      Sets the value type for the parameter.
      Parameters:
      valueType - String value type
    • toString

      public String toString()
      String representation of parameter.
      Overrides:
      toString in class Object
      Returns:
      String string representation