-
-
Notifications
You must be signed in to change notification settings - Fork 201
Expand file tree
/
Copy pathU3853.java
More file actions
74 lines (60 loc) · 1.72 KB
/
Copy pathU3853.java
File metadata and controls
74 lines (60 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/*
* Jooby https://jooby.io
* Apache License Version 2.0 https://jooby.io/LICENSE.txt
* Copyright 2014 Edgar Espina
*/
package io.jooby.i3853;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import io.avaje.jsonb.Json;
@Json
public class U3853 {
private final String id;
private final String name;
private final A3853 address;
private final List<R3853> roles;
private final Map<String, String> meta;
public U3853(String id, String name, A3853 address, List<R3853> roles, Map<String, String> meta) {
this.id = id;
this.name = name;
this.address = address;
this.roles = roles;
this.meta = meta;
}
public String getId() {
return id;
}
public String getName() {
return name;
}
public A3853 getAddress() {
return address;
}
public List<R3853> getRoles() {
return roles;
}
public Map<String, String> getMeta() {
return meta;
}
public static U3853 createUser() {
// Nested Location: The Fortress in the Snow (Level 3)
L3853 fortress = new L3853(80.0, -20.0);
// Address: Represents the "Dream Layer"
A3853 dreamLayer = new A3853("Snow Fortress (Level 3)", fortress);
// Roles: The Extraction Team
List<R3853> roles =
List.of(
new R3853("The Extractor", 10),
new R3853("The Architect", 9),
new R3853("The Point Man", 8),
new R3853("The Forger", 8));
// Metadata: Mission specs
Map<String, String> meta = new LinkedHashMap<>();
meta.put("target", "Robert Fischer");
meta.put("objective", "Inception");
meta.put("status", "Synchronizing Kicks");
// Root User: Dom Cobb
return new U3853("cobb-001", "Dom Cobb", dreamLayer, roles, meta);
}
}