Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.savvasdalkitsis.jtmdb;
 
 import java.util.Date;

This class represents version information.

Author(s):
Savvas Dalkitsis
 
public abstract class VersionInfo {

The ID of the object.
	private int ID;
The name of the object.
	private String name;
The version of the object.
	private int version;
The date of the last modification of the object.
	private Date lastModified;

Contructs a VersionInfo object.

Parameters:
name The name of the object.
ID The ID of the object.
version The version of the object.
lastModified The date of the last modification of the object.
	protected VersionInfo(String nameint IDint versionDate lastModified) {
		this. = name;
		this. = ID;
		this. = version;
		this. = lastModified;
	}

The ID of the object.

Returns:
The ID of the object.
	public int getID() {
		return ;
	}

The name of the object.

Returns:
The name of the object.
	public String getName() {
		return ;
	}

The version of the object.

Returns:
The version of the object.
	public int getVersion() {
		return ;
	}

The date of the last modification of the object.

Returns:
The date of the last modification of the object.
	public Date getLastModified() {
		return ;
	}
New to GrepCode? Check out our FAQ X