Package gov.nih.mipav.model.file
Class XMLParameter
- java.lang.Object
-
- gov.nih.mipav.model.file.XMLParameter
-
- All Implemented Interfaces:
java.io.Serializable
public class XMLParameter extends java.lang.Object implements java.io.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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
date
Parameter date.private java.lang.String
description
Parameter description.private java.lang.String
name
Parameter name.private static long
serialVersionUID
Use serialVersionUID for interoperability.private java.lang.String
time
Parameter time.private java.lang.String
value
Parameter value.private java.lang.String
valueType
Parameter value type.
-
Constructor Summary
Constructors Constructor Description XMLParameter(java.lang.String name)
Creates a new parameter by name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDate()
Gets the parameter's date.java.lang.String
getDescription()
Gets the parameter's description.java.lang.String
getName()
Gets the parameter's name.java.lang.String
getTime()
Gets the parameter's time.java.lang.String
getValue()
Gets the parameter's value.java.lang.String
getValueType()
Gets the parameter's value-type.void
setDate(java.lang.String date)
Sets the date for the parameter.void
setDateTime(java.lang.String dateTime)
Sets the date + T + time for the parameter.void
setDescription(java.lang.String description)
Sets the description for the parameter.void
setTime(java.lang.String time)
Sets the time for the parameter.void
setValue(java.lang.String value)
Sets the value for the parameter.void
setValueType(java.lang.String valueType)
Sets the value type for the parameter.java.lang.String
toString()
String representation of parameter.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Use serialVersionUID for interoperability.- See Also:
- Constant Field Values
-
date
private java.lang.String date
Parameter date.
-
description
private java.lang.String description
Parameter description.
-
name
private java.lang.String name
Parameter name.
-
time
private java.lang.String time
Parameter time.
-
value
private java.lang.String value
Parameter value.
-
valueType
private java.lang.String valueType
Parameter value type.
-
-
Method Detail
-
getDate
public java.lang.String getDate()
Gets the parameter's date.- Returns:
- String date
-
getDescription
public java.lang.String getDescription()
Gets the parameter's description.- Returns:
- String description
-
getName
public java.lang.String getName()
Gets the parameter's name.- Returns:
- String parameter name
-
getTime
public java.lang.String getTime()
Gets the parameter's time.- Returns:
- String time
-
getValue
public java.lang.String getValue()
Gets the parameter's value.- Returns:
- String value
-
getValueType
public java.lang.String getValueType()
Gets the parameter's value-type.- Returns:
- String value-type
-
setDate
public void setDate(java.lang.String date)
Sets the date for the parameter.- Parameters:
date
- String date
-
setDateTime
public void setDateTime(java.lang.String dateTime)
Sets the date + T + time for the parameter.- Parameters:
dateTime
- String date-time
-
setDescription
public void setDescription(java.lang.String description)
Sets the description for the parameter.- Parameters:
description
- String description
-
setTime
public void setTime(java.lang.String time)
Sets the time for the parameter.- Parameters:
time
- String time
-
setValue
public void setValue(java.lang.String value)
Sets the value for the parameter.- Parameters:
value
- String value
-
setValueType
public void setValueType(java.lang.String valueType)
Sets the value type for the parameter.- Parameters:
valueType
- String value type
-
toString
public java.lang.String toString()
String representation of parameter.- Overrides:
toString
in classjava.lang.Object
- Returns:
- String string representation
-
-