public class AppVersion extends java.lang.Object implements XMLWriteable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_NAME
XML element name for a stored AppVersion object.
|
Constructor and Description |
---|
AppVersion(long sequence) |
AppVersion(long sequence,
java.util.Date time,
java.lang.String name) |
AppVersion(long sequence,
long time,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
getCodeSize() |
int |
getNumClasses() |
java.lang.String |
getReleaseName() |
long |
getSequenceNumber() |
long |
getTimestamp() |
AppVersion |
setCodeSize(int codeSize) |
AppVersion |
setNumClasses(int numClasses) |
AppVersion |
setReleaseName(java.lang.String releaseName) |
AppVersion |
setTimestamp(long timestamp) |
java.lang.String |
toString() |
void |
writeXML(XMLOutput xmlOutput)
Write this object to given XMLOutput.
|
public static final java.lang.String ELEMENT_NAME
public AppVersion(long sequence, long time, java.lang.String name)
public AppVersion(long sequence, java.util.Date time, java.lang.String name)
public AppVersion(long sequence)
public java.lang.Object clone()
clone
in class java.lang.Object
public long getSequenceNumber()
public long getTimestamp()
public java.lang.String getReleaseName()
public AppVersion setTimestamp(long timestamp)
timestamp
- The timestamp to set.public AppVersion setReleaseName(java.lang.String releaseName)
releaseName
- The releaseName to set.public void writeXML(XMLOutput xmlOutput) throws java.io.IOException
XMLWriteable
writeXML
in interface XMLWriteable
xmlOutput
- the XMLOutput for the documentjava.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public AppVersion setNumClasses(int numClasses)
numClasses
- The numClasses to set.public int getNumClasses()
public AppVersion setCodeSize(int codeSize)
codeSize
- The codeSize to set.public int getCodeSize()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.