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
-
ADD
- Defined
ModelUpdate update types
-
DELETE
-
-
MODIFY
-
-
time
- Time (in milliseconds) when this object's data was created.
-
type
- The update type.
-
typeNames
-
-
ModelUpdate(int, long)
- Construct a model update.
-
getTime()
- Gets the time when this object's data was created.
-
getType()
- Get the update type.
-
getTypeString(int)
- Get the update type.
-
toString()
- Get a string describing the model update object.
ADD
public static final int ADD
- Defined
ModelUpdate update types
DELETE
public static final int DELETE
MODIFY
public static final int MODIFY
typeNames
private static final String typeNames[]
time
private long time
- Time (in milliseconds) when this object's data was created.
type
private int type
- The update type.
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.
getType
public int getType()
- Get the update type.
- Returns:
- The update type.
getTypeString
public static String getTypeString(int type)
- Get the update type.
- Returns:
- The update type.
getTime
public long getTime()
- Gets the time when this object's data was created.
- Returns:
- the time (in milliseconds) when the data was created
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