com.astroshare.astroonline.horoscopes
Class Synastry

java.lang.Object
  extended by com.astroshare.astroonline.horoscopes.Horoscope
      extended by com.astroshare.astroonline.horoscopes.Natal
          extended by com.astroshare.astroonline.horoscopes.Synastry
Direct Known Subclasses:
Matrix

public class Synastry
extends Natal

Implementation of online horoscope Synastry.

The interpretation of the synasty is based on the full astrological calculation containing two people's birth data. Based on this calculation an interpretation is selecting from the database.


Field Summary
protected  int[][] aspects
          array in which all the aspects for the relation are saved
protected static org.apache.log4j.Logger log
          init logging
protected  Visitor visitor2
          visitor instance holding visitor data (person 2)
 
Fields inherited from class com.astroshare.astroonline.horoscopes.Natal
visitor
 
Fields inherited from class com.astroshare.astroonline.horoscopes.Horoscope
args, databaseID, horoscopeID, language, startupMode, templateInput, templateOutput
 
Constructor Summary
Synastry()
           
 
Method Summary
protected  boolean checkHoroscopeData()
           Override method checkHoroscopeData.
 java.lang.String getFlashChartString()
           Get the Flash string for this object.
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)
           Get horoscope text from database, returning an ArrayList.
 
Methods inherited from class com.astroshare.astroonline.horoscopes.Natal
getFlashvarsProg, 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


visitor2

protected Visitor visitor2
visitor instance holding visitor data (person 2)


aspects

protected int[][] aspects
array in which all the aspects for the relation are saved

Constructor Detail

Synastry

public Synastry()
Method Detail

getInputMap

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

Override method getInputMap.

Overrides:
getInputMap in class Natal
Returns:
Input map

getHoroscopeArguments

protected void getHoroscopeArguments()

Override method getHoroscopeArguments.

Overrides:
getHoroscopeArguments in class Natal

checkHoroscopeData

protected boolean checkHoroscopeData()

Override method checkHoroscopeData.

Overrides:
checkHoroscopeData in class Natal
Returns:
TRUE=Data is valid;FALSE=Data is invalid

getOutputMap

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

Override method getOutputMap. Check atlas data, perform astrological calculations and get text from database.

Overrides:
getOutputMap in class Natal
Returns:
Output map

getTextFromDatabaseList

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

Get horoscope text from database, returning an ArrayList.

Parameters:
sql - Database connection
Returns:
ArrayList Horoscope interpretation

getFlashChartString

public java.lang.String getFlashChartString()

Get the Flash string for this object.

Returns:
Flash String


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