com.bea.ales.management
Class DistributionStatus

java.lang.Object
  |
  +--com.bea.ales.management.DistributionStatus

public class DistributionStatus
extends java.lang.Object
implements java.io.Serializable

This class represents the distribution status for a specific distribution id. It contains distribution id, progress, status, time stamp and the name of user who did the distribution. It is not a persistent object.

See Also:
Serialized Form

Method Summary
 int getDistributionId()
          Get the distribution id which is an identifier for the distribution.
 int getPercentComplete()
          Get the progress in percentage of the current distribution operation.
 java.lang.String getStatus()
          Get the distribution status which is a string to describe the current status of distribution.
 java.lang.String getTimeStamp()
          Get the time stamp of the current distribution.
 java.lang.String getUser()
          Get the name of user who did the current distribution.
 java.lang.String toString()
          Convert the distribution status to a text value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public java.lang.String toString()
Convert the distribution status to a text value.

Returns:
a string value of the distribution status.
Overrides:
toString in class java.lang.Object

getDistributionId

public int getDistributionId()
Get the distribution id which is an identifier for the distribution.

Returns:
the distribution id.

getPercentComplete

public int getPercentComplete()
Get the progress in percentage of the current distribution operation.

Returns:
the percent value. For example, return value of 75 means the distribution has 75% finished.

getStatus

public java.lang.String getStatus()
Get the distribution status which is a string to describe the current status of distribution.

Returns:
the distribution status.

getTimeStamp

public java.lang.String getTimeStamp()
Get the time stamp of the current distribution.

Returns:
time stamp of the current distribution as a string.

getUser

public java.lang.String getUser()
Get the name of user who did the current distribution.

Returns:
the user name.


Copyright © 2004-2008, Oracle and/or its affiliates. All rights reserved.