org.apache.archiva.model
Class SnapshotVersion

java.lang.Object
  extended by org.apache.archiva.model.SnapshotVersion
All Implemented Interfaces:
Serializable

public class SnapshotVersion
extends Object
implements Serializable

The Snapshot Version.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
private  int buildNumber
          The incremental build number of the snapshot.
private static long serialVersionUID
           
private  String timestamp
          The unique timestamp for the snapshot version.
 
Constructor Summary
SnapshotVersion()
           
 
Method Summary
 int getBuildNumber()
          Get the incremental build number of the snapshot.
 String getTimestamp()
          Get the unique timestamp for the snapshot version.
 void setBuildNumber(int buildNumber)
          Set the incremental build number of the snapshot.
 void setTimestamp(String timestamp)
          Set the unique timestamp for the snapshot version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timestamp

private String timestamp
The unique timestamp for the snapshot version.


buildNumber

private int buildNumber
The incremental build number of the snapshot.


serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

SnapshotVersion

public SnapshotVersion()
Method Detail

getBuildNumber

public int getBuildNumber()
Get the incremental build number of the snapshot.

Returns:
int

getTimestamp

public String getTimestamp()
Get the unique timestamp for the snapshot version.

Returns:
String

setBuildNumber

public void setBuildNumber(int buildNumber)
Set the incremental build number of the snapshot.

Parameters:
buildNumber -

setTimestamp

public void setTimestamp(String timestamp)
Set the unique timestamp for the snapshot version.

Parameters:
timestamp -


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.