All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class VisiModel.ModelUpdate

java.lang.Object
   |
   +----VisiModel.ModelUpdate

public abstract class ModelUpdate
extends Object
implements Serializable
Abstract base class for all objects updating an IP/ATM network model.

Version:
$Revision: 1.6 $, $Date: 2000/10/12 14:09:14 $
Author:
John Cavanaugh

Variable Index

 o ADD
Defined ModelUpdate update types
 o DELETE
 o MODIFY
 o time
Time (in milliseconds) when this object's data was created.
 o type
The update type.
 o typeNames

Constructor Index

 o ModelUpdate(int, long)
Construct a model update.

Method Index

 o getTime()
Gets the time when this object's data was created.
 o getType()
Get the update type.
 o getTypeString(int)
Get the update type.
 o toString()
Get a string describing the model update object.

Variables

 o ADD
 public static final int ADD
Defined ModelUpdate update types

 o DELETE
 public static final int DELETE
 o MODIFY
 public static final int MODIFY
 o typeNames
 private static final String typeNames[]
 o time
 private long time
Time (in milliseconds) when this object's data was created.

 o type
 private int type
The update type.

Constructors

 o ModelUpdate
 public ModelUpdate(int type,
                    long time)
Construct a model update.

Parameters:
type - The update type.
time - The time when the object data was created.

Methods

 o getType
 public int getType()
Get the update type.

Returns:
The update type.
 o getTypeString
 public static String getTypeString(int type)
Get the update type.

Returns:
The update type.
 o getTime
 public long getTime()
Gets the time when this object's data was created.

Returns:
the time (in milliseconds) when the data was created
 o toString
 public abstract String toString()
Get a string describing the model update object.

Returns:
A string describing the model update object.
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index