org.resilientedge.jockey.peer
Class AppDescriptor

java.lang.Object
  |
  +--org.resilientedge.jockey.peer.AppDescriptor
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class AppDescriptor
extends java.lang.Object
implements java.lang.Comparable, java.io.Serializable

Provides information about an application

Version:
$Revision: 1.1.1.1 $
Author:
John Gardner
See Also:
Serialized Form

Constructor Summary
AppDescriptor()
          Basic constructor; sets all fields to empty values.
 
Method Summary
 int compareTo(java.lang.Object other)
          Returns a number greater than zero, less than zero.
 boolean equals(java.lang.Object other)
          Indicates whether some other object is "equal to" this app.
 java.lang.String getAppId()
          Get the application id
 java.lang.String getAppInstanceId()
          Get the application instance id
 java.lang.String getApplicationCategory()
          Returns the application category
 java.lang.String getApplicationName()
          Returns the application name
 java.lang.String getVersion()
          Get the app version.
 void setAppId(java.lang.String newValue)
          Set the application id
 void setAppInstanceId(java.lang.String newValue)
          Set the application instance id
 void setApplicationCategory(java.lang.String newValue)
          Sets the application category
 void setApplicationName(java.lang.String newValue)
          Sets the application name
 void setVersion(java.lang.String newValue)
          Set the app version.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppDescriptor

public AppDescriptor()
Basic constructor; sets all fields to empty values.
Method Detail

getApplicationName

public java.lang.String getApplicationName()
Returns the application name
Returns:
The ApplicationName value

setApplicationName

public void setApplicationName(java.lang.String newValue)
Sets the application name
Parameters:
newValue - The new ApplicationName value

getApplicationCategory

public java.lang.String getApplicationCategory()
Returns the application category
Returns:
The ApplicationCategory value

setApplicationCategory

public void setApplicationCategory(java.lang.String newValue)
Sets the application category
Parameters:
newValue - The new ApplicationCategory value

getAppId

public java.lang.String getAppId()
Get the application id
Returns:
The AppId value

setAppId

public void setAppId(java.lang.String newValue)
Set the application id
Parameters:
newValue - The new AppId value

getAppInstanceId

public java.lang.String getAppInstanceId()
Get the application instance id
Returns:
The AppInstanceId value

setAppInstanceId

public void setAppInstanceId(java.lang.String newValue)
Set the application instance id
Parameters:
newValue - The new AppInstanceId value

getVersion

public java.lang.String getVersion()
Get the app version.
Returns:
The version value

setVersion

public void setVersion(java.lang.String newValue)
Set the app version.
Parameters:
newValue - The new Version value

compareTo

public int compareTo(java.lang.Object other)
Returns a number greater than zero, less than zero. or zero, depending on whether this object is "greater than", "less than". or equal to another.
Specified by:
compareTo in interface java.lang.Comparable
Parameters:
other - network to compare
Returns:
a positive or negative integer, or zero

equals

public boolean equals(java.lang.Object other)
Indicates whether some other object is "equal to" this app.
Overrides:
equals in class java.lang.Object
Parameters:
other - object to compare
Returns:
true if equal


Copyright © 2001 Resilient Edge, Inc. All Rights Reserved.