com.hack23.cia.model.api.application
Enum ParliamentChart

Package class diagram package ParliamentChart
java.lang.Object
  extended by java.lang.Enum<ParliamentChart>
      extended by com.hack23.cia.model.api.application.ParliamentChart
All Implemented Interfaces:
Serializable, Comparable<ParliamentChart>

public enum ParliamentChart
extends Enum<ParliamentChart>

The Enum ParliamentChart.


Enum Constant Summary
Outcome
          The Outcome.
PoliticalPartyBehavior
          The Political party behavior.
ProffessionalBehavior
          The Proffessional behavior.
Summary
          The Summary.
 
Method Summary
static String getFileName(ParliamentChart chart, ParliamentYearData parliamentYearData, BallotData ballot, LanguageData language)
          Gets the file name.
static String getFileName(ParliamentChart chart, ParliamentYearData parliamentYearData, CommitteeReportData committeeReport, LanguageData language)
          Gets the file name.
static String getFileName(ParliamentChart chart, ParliamentYearData parliamentYearData, LanguageData language)
          Gets the file name.
static String getFileName(ParliamentChart chart, ParliamentYearData parliamentYearData, ParliamentMemberData parliamentMember, LanguageData language)
          Gets the file name.
static String getFileName(ParliamentChart chart, ParliamentYearData parliamentYearData, PoliticalPartyData politicalParty, LanguageData language)
          Gets the file name.
static ParliamentChart valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ParliamentChart[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Outcome

public static final ParliamentChart Outcome
The Outcome.


PoliticalPartyBehavior

public static final ParliamentChart PoliticalPartyBehavior
The Political party behavior.


ProffessionalBehavior

public static final ParliamentChart ProffessionalBehavior
The Proffessional behavior.


Summary

public static final ParliamentChart Summary
The Summary.

Method Detail

values

public static ParliamentChart[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ParliamentChart c : ParliamentChart.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ParliamentChart valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getFileName

public static String getFileName(ParliamentChart chart,
                                 ParliamentYearData parliamentYearData,
                                 BallotData ballot,
                                 LanguageData language)
Gets the file name.

Parameters:
chart - the chart
ballot - the ballot
language - the language
parliamentYearData - the parliament year data
Returns:
the file name

getFileName

public static final String getFileName(ParliamentChart chart,
                                       ParliamentYearData parliamentYearData,
                                       CommitteeReportData committeeReport,
                                       LanguageData language)
Gets the file name.

Parameters:
chart - the chart
committeeReport - the committee report
language - the language
parliamentYearData - the parliament year data
Returns:
the file name

getFileName

public static final String getFileName(ParliamentChart chart,
                                       ParliamentYearData parliamentYearData,
                                       LanguageData language)
Gets the file name.

Parameters:
chart - the chart
language - the language
parliamentYearData - the parliament year data
Returns:
the file name

getFileName

public static final String getFileName(ParliamentChart chart,
                                       ParliamentYearData parliamentYearData,
                                       ParliamentMemberData parliamentMember,
                                       LanguageData language)
Gets the file name.

Parameters:
chart - the chart
parliamentMember - the parliament member
language - the language
parliamentYearData - the parliament year data
Returns:
the file name

getFileName

public static final String getFileName(ParliamentChart chart,
                                       ParliamentYearData parliamentYearData,
                                       PoliticalPartyData politicalParty,
                                       LanguageData language)
Gets the file name.

Parameters:
chart - the chart
politicalParty - the political party
language - the language
parliamentYearData - the parliament year data
Returns:
the file name


Copyright © 2008-2009 www.hack23.com. All Rights Reserved.