com.sap.netweaver.bc.uwl

Class SubstitutedItemCount

java.lang.Object
  extended by com.sap.netweaver.bc.uwl.SubstitutedItemCount
All Implemented Interfaces:
Serializable, Comparable

public final class SubstitutedItemCount
extends Object
implements Serializable, Comparable

The SubstitutedItemCount class contains the user name and its count.

See Also:
Serialized Form

Constructor Summary
SubstitutedItemCount(String usr)
           
 
Method Summary
 void add(int numberOfItems)
           
 int compareTo(Object arg)
           
 int getCount()
           
 String getUser()
           
 void setCount(int numberOfItems)
           
 String toString()
          This method returns the string representation of this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubstitutedItemCount

public SubstitutedItemCount(String usr)
Method Detail

getCount

public int getCount()
Returns:
int the number of items of the type specified by this object.

getUser

public String getUser()
Returns:
String the user who is substitued

setCount

public void setCount(int numberOfItems)
Parameters:
numberOfItems - the count of items of the tipe specified for this object.

add

public void add(int numberOfItems)
Parameters:
numberOfItems - the number that needs to be added to the count.

compareTo

public int compareTo(Object arg)
Specified by:
compareTo in interface Comparable
See Also:
Object.equals(java.lang.Object)

toString

public String toString()
This method returns the string representation of this class.

Overrides:
toString in class Object
Returns:
String the concatenation of type name and count.
See Also:
Object.toString()
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] UWLJWF [sap.com] tc/kmc/bc.uwl/api default EP-BC-UWL
[sap.com] UWLJWF [sap.com] tc/kmc/bc.uwl/api - EP-BC-UWL


Copyright 2012 SAP AG Complete Copyright Notice