-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathToolProfile.java
More file actions
134 lines (112 loc) · 3.64 KB
/
ToolProfile.java
File metadata and controls
134 lines (112 loc) · 3.64 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
/*
* Copyright 2014 IMS Global Learning Consortium.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.imsglobal.lti2.objects.provider;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.databind.JsonNode;
import org.codehaus.jackson.annotate.JsonPropertyOrder;
import org.imsglobal.lti2.objects.consumer.ProductInstance;
/**
*
* @author paul
*/
@JsonPropertyOrder({
"@context",
"@type",
"@id"
})
@com.fasterxml.jackson.annotation.JsonPropertyOrder({
"@context",
"@type",
"@id"
})
public class ToolProfile {
@org.codehaus.jackson.annotate.JsonProperty("@context")
@com.fasterxml.jackson.annotation.JsonProperty("@context")
private Object _context;
@JsonProperty("@id")
@org.codehaus.jackson.annotate.JsonProperty("@id")
private String _id;
@org.codehaus.jackson.annotate.JsonProperty("@type")
@com.fasterxml.jackson.annotation.JsonProperty("@type")
private String _type;
private String lti_version;
private JsonNode base_url_choice;
private ProductInstance product_instance;
private List<ResourceHandler> resource_handler;
private List<Message> message;
public ToolProfile() {
}
public ToolProfile(Object _context,String _type, String _id, String lti_version, JsonNode base_url_choice, ProductInstance product_instance, List<ResourceHandler> resource_handler, List<Message> message) {
this._context = _context;
this._type = _type;
this._id = _id;
this.lti_version = lti_version;
this.base_url_choice = base_url_choice;
this.product_instance = product_instance;
this.resource_handler = resource_handler;
this.message = message;
}
public String getLti_version() {
return lti_version;
}
public void setLti_version(String lti_version) {
this.lti_version = lti_version;
}
public ProductInstance getProduct_instance() {
return product_instance;
}
public void setProduct_instance(ProductInstance product_instance) {
this.product_instance = product_instance;
}
public JsonNode getBase_url_choice() {
return base_url_choice;
}
public void setBase_url_choice(JsonNode base_url_choice) {
this.base_url_choice = base_url_choice;
}
public List<ResourceHandler> getResource_handler() {
return resource_handler;
}
public void setResource_handler(List<ResourceHandler> resource_handler) {
this.resource_handler = resource_handler;
}
public String get_id() {
return _id;
}
public void set_id(String _id) {
this._id = _id;
}
public List<Message> getMessage() {
return message;
}
public void setMessage(List<Message> message) {
this.message = message;
}
public String get_type() {
return _type;
}
public void set_type(String _type) {
this._type = _type;
}
public Object get_context() {
return _context;
}
public void set_context(Object _context) {
this._context = _context;
}
}