com.sap.netweaver.bc.uwl
Class SubstitutedItemCount
java.lang.Object
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
SubstitutedItemCount
public SubstitutedItemCount(String usr)
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()
Copyright 2009 SAP AG Complete Copyright Notice