com.hack23.cia.model.application.impl.common
Enum ParliamentChart

Package class diagram package ParliamentChart
java.lang.Object
  extended by java.lang.Enum<ParliamentChart>
      extended by com.hack23.cia.model.application.impl.common.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.
 
Field Summary
static String FILE_EXTENSION
          The Constant FILE_EXTENSION.
 
Method Summary
static String getFileName(ParliamentChart chart, Ballot ballot, Language language)
          Gets the file name.
static String getFileName(ParliamentChart chart, CommitteeReport committeeReport, Language language)
          Gets the file name.
static String getFileName(ParliamentChart chart, Language language)
          Gets the file name.
static String getFileName(ParliamentChart chart, ParliamentMember parliamentMember, Language language)
          Gets the file name.
static String getFileName(ParliamentChart chart, PoliticalParty politicalParty, Language 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.

Field Detail

FILE_EXTENSION

public static final String FILE_EXTENSION
The Constant FILE_EXTENSION.

See Also:
Constant Field Values
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 final String getFileName(ParliamentChart chart,
                                       Ballot ballot,
                                       Language language)
Gets the file name.

Parameters:
chart - the chart
ballot - the ballot
language - the language
Returns:
the file name

getFileName

public static final String getFileName(ParliamentChart chart,
                                       CommitteeReport committeeReport,
                                       Language language)
Gets the file name.

Parameters:
chart - the chart
committeeReport - the committee report
language - the language
Returns:
the file name

getFileName

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

Parameters:
chart - the chart
language - the language
Returns:
the file name

getFileName

public static final String getFileName(ParliamentChart chart,
                                       ParliamentMember parliamentMember,
                                       Language language)
Gets the file name.

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

getFileName

public static final String getFileName(ParliamentChart chart,
                                       PoliticalParty politicalParty,
                                       Language language)
Gets the file name.

Parameters:
chart - the chart
politicalParty - the political party
language - the language
Returns:
the file name


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