Class Government

java.lang.Object
org.episteme.social.politics.Government
All Implemented Interfaces:
Serializable

public class Government extends Object implements Serializable
Represents the structure and executive configuration of a national government. Groups administrative types, leadership roles, and ministerial departments. * @version 1.1
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
See Also:
  • Constructor Details

    • Government

      public Government(String countryName, GovernmentForm type)
      Initializes a new Government for a specific country.
      Parameters:
      countryName - name of the country
      type - initial government archetype
      Throws:
      NullPointerException - if any argument is null
  • Method Details

    • getCountryName

      public String getCountryName()
    • getType

      public GovernmentForm getType()
    • setType

      public void setType(GovernmentForm type)
    • getHeadOfState

      public String getHeadOfState()
    • setHeadOfState

      public void setHeadOfState(String head)
    • getHeadOfGovernment

      public String getHeadOfGovernment()
    • setHeadOfGovernment

      public void setHeadOfGovernment(String head)
    • getRulingParty

      public String getRulingParty()
    • setRulingParty

      public void setRulingParty(String party)
    • getLegislatureSeats

      public int getLegislatureSeats()
    • setLegislatureSeats

      public void setLegislatureSeats(int seats)
    • getTermYears

      public int getTermYears()
    • setTermYears

      public void setTermYears(int years)
    • getMinistries

      public List<String> getMinistries()
      Returns an unmodifiable list of government ministries or departments.
      Returns:
      list of ministry names
    • addMinistry

      public void addMinistry(String ministry)
      Registers a new ministry or executive department.
      Parameters:
      ministry - the name of the department
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • usGovernment

      public static Government usGovernment()
      Factory method for a standard US presidential government structure.
      Returns:
      US Government template