org.jsesoft.mmbi.samples
Class SimpleResource

java.lang.Object
  extended by org.jsesoft.mmbi.samples.SimpleResource

public class SimpleResource
extends java.lang.Object

Provides services for a si9mple resource to manage.


Constructor Summary
SimpleResource()
          Creates new SimpleResource.
 
Method Summary
 long getCount()
          Gets count.
 void incrementCount()
          Incremetns the count.
 void setCount(long theCount)
          Sets count.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleResource

public SimpleResource()
Creates new SimpleResource.

Method Detail

incrementCount

public void incrementCount()
Incremetns the count.


getCount

public long getCount()
Gets count.

Returns:
the count

setCount

public void setCount(long theCount)
Sets count.

Parameters:
theCount - the new count to set


Copyright © 2010 JSESoft. All Rights Reserved.