com.tek42.perforce.model
Class Counter

java.lang.Object
  extended by com.tek42.perforce.model.Counter

public class Counter
extends Object

Represents a Perforce counter.

Author:
Kamlesh Sangani

Constructor Summary
Counter()
           
 
Method Summary
 String getName()
          Returns counter name
 int getValue()
          Returns counter value
 void setName(String name)
          Sets counter name
 void setValue(int value)
          Sets counter value
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Counter

public Counter()
Method Detail

getName

public String getName()
Returns counter name

Returns:
counter name

setName

public void setName(String name)
Sets counter name

Parameters:
name - counter name

getValue

public int getValue()
Returns counter value

Returns:
counter value

setValue

public void setValue(int value)
Sets counter value

Parameters:
value - counter value

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2012 Hudson. All Rights Reserved.