org.sapia.soto.examples
Class TypeService

java.lang.Object
  extended by org.sapia.soto.examples.TypeService
All Implemented Interfaces:
Service

public class TypeService
extends java.lang.Object
implements Service

Author:
Yanick Duchesne
Copyright:
Copyright © 2002-2004 Sapia Open Source Software . All Rights Reserved.
License:
Read the license.txt file of the jar or visit the license page at the Sapia OSS web site

Constructor Summary
TypeService()
           
 
Method Summary
 void dispose()
          Shuts down this service.
 java.lang.String[] getSomeArray()
           
 java.util.Date getSomeDate()
           
 double getSomeDouble()
           
 float getSomeFloat()
           
 int getSomeInt()
           
 long getSomeLong()
           
 short getSomeShort()
           
 void init()
          Performs initialization actions.
 boolean isSomeBoolean()
           
 void setSomeArray(java.lang.String[] someArray)
           
 void setSomeBoolean(boolean b)
           
 void setSomeDate(java.util.Date date)
           
 void setSomeDouble(double double1)
           
 void setSomeFloat(float f)
           
 void setSomeInt(int i)
           
 void setSomeLong(long l)
           
 void setSomeShort(short s)
           
 void start()
          Starts this instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeService

public TypeService()
Method Detail

isSomeBoolean

public boolean isSomeBoolean()
Returns:

getSomeDate

public java.util.Date getSomeDate()
Returns:

getSomeDouble

public double getSomeDouble()
Returns:

getSomeFloat

public float getSomeFloat()
Returns:

getSomeInt

public int getSomeInt()
Returns:

getSomeLong

public long getSomeLong()
Returns:

getSomeShort

public short getSomeShort()
Returns:

setSomeBoolean

public void setSomeBoolean(boolean b)
Parameters:
b -

setSomeDate

public void setSomeDate(java.util.Date date)
Parameters:
date -

setSomeDouble

public void setSomeDouble(double double1)
Parameters:
double1 -

setSomeFloat

public void setSomeFloat(float f)
Parameters:
f -

setSomeInt

public void setSomeInt(int i)
Parameters:
i -

setSomeLong

public void setSomeLong(long l)
Parameters:
l -

setSomeShort

public void setSomeShort(short s)
Parameters:
s -

init

public void init()
          throws java.lang.Exception
Description copied from interface: Service
Performs initialization actions.

Specified by:
init in interface Service
Throws:
java.lang.Exception - if a problem occurs while initializing.
See Also:
Service.init()

start

public void start()
           throws java.lang.Exception
Description copied from interface: Service
Starts this instance.

Specified by:
start in interface Service
Throws:
java.lang.Exception - if a problem occurs while starting.
See Also:
Service.start()

dispose

public void dispose()
Description copied from interface: Service
Shuts down this service.

Specified by:
dispose in interface Service
See Also:
Service.dispose()

getSomeArray

public java.lang.String[] getSomeArray()

setSomeArray

public void setSomeArray(java.lang.String[] someArray)


Copyright © 2010 Sapia OSS. All Rights Reserved.