@startuml skinparam classAttributeIconSize 0 class CrewMember { - name: String - position: String - rank: String - species: String - assignment: String + <> CrewMember(name: String, position: String, rank: String, species: String, assignment: String) + <> CrewMember(name: String, position: String, rank: String, species: String) + toString(): String + getName(): String + setName(name: String) + getPosition(): String + setPosition(position: String) + getRank(): String + setRank(rank: String) + getSpecies(): String + setSpecies(species: String) + getAssignment(): String + setAssignment(assignment: String) } skinparam classAttributeIconSize 0 class Starship { - name: String - registry: String - starshipClass: String - crew: ArrayList + <> Starship(name: String, registry: String, starshipClass: String) + toString(): String + addCrewMember(crewMember: CrewMember) + getNumberOfPersonnel(): Integer + getName(): String + setName(name: String) + getRegistry(): String + setRegistry(registry: String) + getCrew(): ArrayList + setCrew(crew: ArrayList) + getStarshipClass(): String + setStarshipClass(starshipClass: String) } skinparam classAttributeIconSize 0 class Fleet { - name: String - starships: ArrayList + <> Fleet(name: String) + toString(): String + getSizeOfFleet(): Integer + addStarship(starship: Starship) + getName(): String + setName(name: String) + getStarships(): ArrayList + setStarships(starships: ArrayList) +_load(manager: AssetManager) - loadFleet(fleetData: InputStream) - loadPersonnel(personnelData: InputStream) } skinparam classAttributeIconSize 0 class MainActivity { #onCreate(savedInstanceState: Bundle) - launchStarshipActivity(starship: Starship) } skinparam classAttributeIconSize 0 class StarshipActivity { #onCreate(savedInstanceState: Bundle) } set namespaceSeparator none entity activity_main.xml set namespaceSeparator none entity activity_starship.xml Fleet o-- Starship Starship o-- CrewMember MainActivity ..> StarshipActivity MainActivity --> Fleet set namespaceSeparator none MainActivity ..> activity_main.xml StarshipActivity --> Starship set namespaceSeparator none StarshipActivity ..> activity_starship.xml @enduml