plugins
Interface IMatchHelper

All Known Implementing Classes:
MatchHelper

public interface IMatchHelper

Helper class to retrieve match related information.

Author:
aik

Field Summary
static int AWAY_DERBY
           
static int AWAY_MATCH
           
static int FOREIGN_MATCH
           
static int HOME_MATCH
           
static int NEUTRAL_GROUND
           
static int UNKNOWN
           
 
Method Summary
 short getLocation(IMatchKurzInfo match)
          Get the match location.
 short getLocation(int matchId)
          Get the match location.
 short getLocation(int homeTeamId, int awayTeamId, int matchId, int matchType)
          Get the match location.
 

Field Detail

UNKNOWN

static final int UNKNOWN
See Also:
Constant Field Values

NEUTRAL_GROUND

static final int NEUTRAL_GROUND
See Also:
Constant Field Values

FOREIGN_MATCH

static final int FOREIGN_MATCH
See Also:
Constant Field Values

AWAY_MATCH

static final int AWAY_MATCH
See Also:
Constant Field Values

HOME_MATCH

static final int HOME_MATCH
See Also:
Constant Field Values

AWAY_DERBY

static final int AWAY_DERBY
See Also:
Constant Field Values
Method Detail

getLocation

short getLocation(IMatchKurzInfo match)
Get the match location. (using constants from IMatchHelper)

Parameters:
match - match short info

getLocation

short getLocation(int matchId)
Get the match location. (using constants from IMatchHelper)

Parameters:
matchId - match Id

getLocation

short getLocation(int homeTeamId,
                  int awayTeamId,
                  int matchId,
                  int matchType)
Get the match location. (using constants from IMatchHelper)

Parameters:
homeTeamId - home team Id
awayTeamId - away team Id
matchId - match Id
matchType - match Type (league, cup, friendly...) from IMatchLineup