Class Administration

All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Positioned<Place>, SimulationAgent, Property, TaskProcessor

public class Administration extends Organization
Represents a state-managed administrative organization (agency, ministry, police, etc.). Administrations are structured hierarchies of individuals serving a Country. * @version 1.2
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
See Also:
  • Constructor Details

    • Administration

      public Administration(String name, Country country, BusinessPlace place, Set<Account> accounts)
      Creates an Administration using a default identification strategy.
      Parameters:
      name - the name of the administration
      country - the country of affiliation
      place - the headquarters location
      accounts - financial accounts for operation
      Throws:
      NullPointerException - if any argument is null
    • Administration

      public Administration(String name, Identification identification, Country country, BusinessPlace place, Set<Account> accounts)
      Creates an Administration with explicit identification.
      Parameters:
      name - the name
      identification - unique identifier
      country - the country
      place - the location
      accounts - financial accounts
      Throws:
      NullPointerException - if any argument is null
  • Method Details

    • getCountry

      public Country getCountry()
      Returns the country associated with this administration.
      Returns:
      the country
    • toString

      public String toString()
      Overrides:
      toString in class Organization