com.wrq.vhi.sconfig
Class Model

java.lang.Object
  extended by com.wrq.vhi.sconfig.Model
All Implemented Interfaces:
java.io.Serializable

public final class Model
extends java.lang.Object
implements java.io.Serializable

Container class for accessing information about a VHI model.

See Also:
Serialized Form

Constructor Summary
Model(java.lang.String modelName, java.lang.String hostName, int hostPort, java.lang.String version, java.lang.String validationString)
          Constructor
 
Method Summary
 java.lang.String getHostName()
          Get the host name for this model.
 int getHostPort()
          Get the host TCP port for this model.
 java.lang.String getModelName()
          Get the name of this model.
 java.lang.String getValidationString()
          Deprecated.  
 java.lang.String getVersion()
          Get the Version of this model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Model

public Model(java.lang.String modelName,
             java.lang.String hostName,
             int hostPort,
             java.lang.String version,
             java.lang.String validationString)
Constructor

Parameters:
modelName - Name of the VHI model
hostName - Name of the host system.
hostPort - TCP port of the host system.
version - Model version represented as time/date.
validationString - String unique to a particular version of the model.
Method Detail

getModelName

public java.lang.String getModelName()
Get the name of this model.

Returns:
Name of this model.

getHostName

public java.lang.String getHostName()
Get the host name for this model.

Returns:
Host name for this model.

getHostPort

public int getHostPort()
Get the host TCP port for this model.

Returns:
Host TCP port for this model.

getVersion

public java.lang.String getVersion()
Get the Version of this model.

Returns:
Version of this model.

getValidationString

public java.lang.String getValidationString()
Deprecated. 

Get the validation string for this model.

This method is deprecated. The model validation string is intended for internal server use only.

Returns:
null