com.astroshare.astroonline.horoscopes
Class Sign

java.lang.Object
  extended by com.astroshare.astroonline.horoscopes.Horoscope
      extended by com.astroshare.astroonline.horoscopes.Sign

public class Sign
extends Horoscope

Implementation of online horoscope Sign.

This horoscope is only based on a sign.


Field Summary
protected static org.apache.log4j.Logger log
          init logging
protected  java.lang.String sign
          variable in which the sign is stored
 
Fields inherited from class com.astroshare.astroonline.horoscopes.Horoscope
args, databaseID, horoscopeID, language, startupMode, templateInput, templateOutput
 
Constructor Summary
Sign()
           
 
Method Summary
protected  boolean checkHoroscopeData()
           Override method checkHoroscopeData.
protected  void getHoroscopeArguments()
           Override method getHoroscopeArguments.
protected  java.util.HashMap<java.lang.String,java.lang.Object> getInputMap()
           Override method getInputMap.
protected  java.util.HashMap<java.lang.String,java.lang.Object> getOutputMap()
           Override method getOutputMap.
protected  java.util.ArrayList<java.lang.Object> getTextFromDatabaseList(Sql sql)
           Overwrite method getTextFromDatabaseList.
 
Methods inherited from class com.astroshare.astroonline.horoscopes.Horoscope
getFormText, getHoroscope, getInputPage, getMap, getOutputPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.log4j.Logger log
init logging


sign

protected java.lang.String sign
variable in which the sign is stored

Constructor Detail

Sign

public Sign()
Method Detail

getInputMap

protected java.util.HashMap<java.lang.String,java.lang.Object> getInputMap()

Override method getInputMap.

Specified by:
getInputMap in class Horoscope
Returns:
Input map.

getOutputMap

protected java.util.HashMap<java.lang.String,java.lang.Object> getOutputMap()

Override method getOutputMap.

Specified by:
getOutputMap in class Horoscope
Returns:
Output map

getHoroscopeArguments

protected void getHoroscopeArguments()

Override method getHoroscopeArguments.

Specified by:
getHoroscopeArguments in class Horoscope

checkHoroscopeData

protected boolean checkHoroscopeData()

Override method checkHoroscopeData. This method does not have to be implemented for sign only horoscopes.

Specified by:
checkHoroscopeData in class Horoscope
Returns:
Returns FALSE

getTextFromDatabaseList

protected java.util.ArrayList<java.lang.Object> getTextFromDatabaseList(Sql sql)

Overwrite method getTextFromDatabaseList. Get horoscope text from database, returning an ArrayList.

Parameters:
sql - Database connection
Returns:
ArrayList Horoscope interpretation


Astro-Online © 2001 − 2008 Astro Share
Documentation generated on: Thursday August 12th 2008 (PS)