Package gov.nih.mipav.model.provenance
Class ProvenanceEntry
- java.lang.Object
-
- gov.nih.mipav.model.structures.ModelSerialCloneable
-
- gov.nih.mipav.model.provenance.ProvenanceEntry
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class ProvenanceEntry extends ModelSerialCloneable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
action
action describing the eventprivate java.lang.String
architecture
private java.lang.String
compilerVersion
java's versionprivate java.lang.String
hostName
the machine host nameprivate java.lang.String
mipavBuild
probably unusedprivate java.lang.String
mipavInputs
mipav cmd line argumentsprivate java.lang.String
mipavOutputs
probably unusedprivate java.lang.String
mipavVersion
mipav's versionprivate java.lang.String
platform
the name of the operating systemprivate java.lang.String
platformVersion
the operating system's versionprivate java.lang.String
programName
private java.lang.String
timeStamp
The timestampprivate java.lang.String
user
the user name
-
Constructor Summary
Constructors Constructor Description ProvenanceEntry()
ProvenanceEntry(java.lang.String action)
Constructor created when an action happens
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
Copies the object.java.lang.String
getAction()
java.lang.String
getArchitecture()
java.lang.String
getHostName()
java.lang.String
getJavaVersion()
java.lang.String
getMipavVersion()
java.lang.String
getPlatform()
java.lang.String
getPlatformVersion()
java.lang.String
getProgramInputs()
java.lang.String
getProgramName()
java.lang.String
getProgramOutputs()
java.lang.String
getTimeStamp()
java.lang.String
getUser()
void
setAction(java.lang.String act)
void
setArchitecture(java.lang.String arch)
void
setHostName(java.lang.String hn)
void
setJavaVersion(java.lang.String ver)
void
setPlatform(java.lang.String name)
void
setPlatformVersion(java.lang.String pv)
void
setProgram(java.lang.String version, java.lang.String build)
void
setProgramArguments(java.lang.String inputs, java.lang.String outputs)
void
setProgramName(java.lang.String pn)
void
setTimeStamp(java.lang.String ts)
void
setToCurrent()
Sets the variables to the current systemvoid
setUser(java.lang.String us)
java.lang.String
toString()
prints out a few things (not done)-
Methods inherited from class gov.nih.mipav.model.structures.ModelSerialCloneable
nativeClone
-
-
-
-
Field Detail
-
programName
private java.lang.String programName
-
timeStamp
private java.lang.String timeStamp
The timestamp
-
action
private java.lang.String action
action describing the event
-
platform
private java.lang.String platform
the name of the operating system
-
platformVersion
private java.lang.String platformVersion
the operating system's version
-
user
private java.lang.String user
the user name
-
hostName
private java.lang.String hostName
the machine host name
-
mipavVersion
private java.lang.String mipavVersion
mipav's version
-
mipavBuild
private java.lang.String mipavBuild
probably unused
-
mipavInputs
private java.lang.String mipavInputs
mipav cmd line arguments
-
mipavOutputs
private java.lang.String mipavOutputs
probably unused
-
compilerVersion
private java.lang.String compilerVersion
java's version
-
architecture
private java.lang.String architecture
-
-
Method Detail
-
setToCurrent
public void setToCurrent()
Sets the variables to the current system
-
toString
public java.lang.String toString()
prints out a few things (not done)- Overrides:
toString
in classjava.lang.Object
-
setArchitecture
public void setArchitecture(java.lang.String arch)
-
getArchitecture
public java.lang.String getArchitecture()
-
setProgram
public void setProgram(java.lang.String version, java.lang.String build)
-
getProgramName
public java.lang.String getProgramName()
-
setProgramName
public void setProgramName(java.lang.String pn)
-
setProgramArguments
public void setProgramArguments(java.lang.String inputs, java.lang.String outputs)
-
getProgramInputs
public java.lang.String getProgramInputs()
-
getProgramOutputs
public java.lang.String getProgramOutputs()
-
getTimeStamp
public java.lang.String getTimeStamp()
-
setTimeStamp
public void setTimeStamp(java.lang.String ts)
-
getUser
public java.lang.String getUser()
-
setUser
public void setUser(java.lang.String us)
-
setHostName
public void setHostName(java.lang.String hn)
-
getHostName
public java.lang.String getHostName()
-
getAction
public java.lang.String getAction()
-
setAction
public void setAction(java.lang.String act)
-
setPlatform
public void setPlatform(java.lang.String name)
-
getPlatform
public java.lang.String getPlatform()
-
setPlatformVersion
public void setPlatformVersion(java.lang.String pv)
-
getPlatformVersion
public java.lang.String getPlatformVersion()
-
getMipavVersion
public java.lang.String getMipavVersion()
-
getJavaVersion
public java.lang.String getJavaVersion()
-
setJavaVersion
public void setJavaVersion(java.lang.String ver)
-
clone
public java.lang.Object clone()
Copies the object.- Overrides:
clone
in classModelSerialCloneable
- Returns:
- Returns the cloned object.
-
-