mitreid-connect
公開メンバ関数 | 静的公開変数類 | 非公開変数類 | 全メンバ一覧
org.mitre.oauth2.model.SystemScope クラス
org.mitre.oauth2.model.SystemScope 連携図
Collaboration graph

公開メンバ関数

 SystemScope ()
 
 SystemScope (String value)
 
Long getId ()
 
void setId (Long id)
 
String getValue ()
 
void setValue (String value)
 
String getDescription ()
 
void setDescription (String description)
 
String getIcon ()
 
void setIcon (String icon)
 
boolean isDefaultScope ()
 
void setDefaultScope (boolean defaultScope)
 
boolean isRestricted ()
 
void setRestricted (boolean restricted)
 
int hashCode ()
 
boolean equals (Object obj)
 
String toString ()
 

静的公開変数類

static final String QUERY_BY_VALUE = "SystemScope.getByValue"
 
static final String QUERY_ALL = "SystemScope.findAll"
 
static final String PARAM_VALUE = "value"
 

非公開変数類

Long id
 
String value
 
String description
 
String icon
 
boolean defaultScope = false
 
boolean restricted = false
 

詳解

著者
jricher

構築子と解体子

◆ SystemScope() [1/2]

org.mitre.oauth2.model.SystemScope.SystemScope ( )
inline

Make a blank system scope with no value

60  {
61 
62  }

◆ SystemScope() [2/2]

org.mitre.oauth2.model.SystemScope.SystemScope ( String  value)
inline

Make a system scope with the given scope value

引数
value
68  {
69  this.value = value;
70  }
String value
Definition: SystemScope.java:51

関数詳解

◆ equals()

boolean org.mitre.oauth2.model.SystemScope.equals ( Object  obj)
inline
183  {
184  if (this == obj) {
185  return true;
186  }
187  if (obj == null) {
188  return false;
189  }
190  if (getClass() != obj.getClass()) {
191  return false;
192  }
193  SystemScope other = (SystemScope) obj;
194  if (defaultScope != other.defaultScope) {
195  return false;
196  }
197  if (description == null) {
198  if (other.description != null) {
199  return false;
200  }
201  } else if (!description.equals(other.description)) {
202  return false;
203  }
204  if (icon == null) {
205  if (other.icon != null) {
206  return false;
207  }
208  } else if (!icon.equals(other.icon)) {
209  return false;
210  }
211  if (id == null) {
212  if (other.id != null) {
213  return false;
214  }
215  } else if (!id.equals(other.id)) {
216  return false;
217  }
218  if (restricted != other.restricted) {
219  return false;
220  }
221  if (value == null) {
222  if (other.value != null) {
223  return false;
224  }
225  } else if (!value.equals(other.value)) {
226  return false;
227  }
228  return true;
229  }
SystemScope()
Definition: SystemScope.java:60
boolean defaultScope
Definition: SystemScope.java:54
String description
Definition: SystemScope.java:52
String value
Definition: SystemScope.java:51
boolean restricted
Definition: SystemScope.java:55
boolean equals(Object obj)
Definition: SystemScope.java:183
String icon
Definition: SystemScope.java:53

◆ getDescription()

String org.mitre.oauth2.model.SystemScope.getDescription ( )
inline
戻り値
the description
106  {
107  return description;
108  }
String description
Definition: SystemScope.java:52

◆ getIcon()

String org.mitre.oauth2.model.SystemScope.getIcon ( )
inline
戻り値
the icon
120  {
121  return icon;
122  }
String icon
Definition: SystemScope.java:53

◆ getId()

Long org.mitre.oauth2.model.SystemScope.getId ( )
inline
戻り値
the id
78  {
79  return id;
80  }
Long id
Definition: SystemScope.java:50

◆ getValue()

String org.mitre.oauth2.model.SystemScope.getValue ( )
inline
戻り値
the value
92  {
93  return value;
94  }
String value
Definition: SystemScope.java:51

◆ hashCode()

int org.mitre.oauth2.model.SystemScope.hashCode ( )
inline
166  {
167  final int prime = 31;
168  int result = 1;
169  result = prime * result + (defaultScope ? 1231 : 1237);
170  result = prime * result
171  + ((description == null) ? 0 : description.hashCode());
172  result = prime * result + ((icon == null) ? 0 : icon.hashCode());
173  result = prime * result + ((id == null) ? 0 : id.hashCode());
174  result = prime * result + (restricted ? 1231 : 1237);
175  result = prime * result + ((value == null) ? 0 : value.hashCode());
176  return result;
177  }
boolean defaultScope
Definition: SystemScope.java:54
String description
Definition: SystemScope.java:52
int hashCode()
Definition: SystemScope.java:166
String value
Definition: SystemScope.java:51
boolean restricted
Definition: SystemScope.java:55
String icon
Definition: SystemScope.java:53

◆ isDefaultScope()

boolean org.mitre.oauth2.model.SystemScope.isDefaultScope ( )
inline
戻り値
the defaultScope
135  {
136  return defaultScope;
137  }
boolean defaultScope
Definition: SystemScope.java:54

◆ isRestricted()

boolean org.mitre.oauth2.model.SystemScope.isRestricted ( )
inline
戻り値
the restricted
151  {
152  return restricted;
153  }
boolean restricted
Definition: SystemScope.java:55

◆ setDefaultScope()

void org.mitre.oauth2.model.SystemScope.setDefaultScope ( boolean  defaultScope)
inline
引数
defaultScopethe defaultScope to set
142  {
143  this.defaultScope = defaultScope;
144  }
boolean defaultScope
Definition: SystemScope.java:54

◆ setDescription()

void org.mitre.oauth2.model.SystemScope.setDescription ( String  description)
inline
引数
descriptionthe description to set
112  {
113  this.description = description;
114  }
String description
Definition: SystemScope.java:52

◆ setIcon()

void org.mitre.oauth2.model.SystemScope.setIcon ( String  icon)
inline
引数
iconthe icon to set
126  {
127  this.icon = icon;
128  }
String icon
Definition: SystemScope.java:53

◆ setId()

void org.mitre.oauth2.model.SystemScope.setId ( Long  id)
inline
引数
idthe id to set
84  {
85  this.id = id;
86  }
Long id
Definition: SystemScope.java:50

◆ setRestricted()

void org.mitre.oauth2.model.SystemScope.setRestricted ( boolean  restricted)
inline
引数
restrictedthe restricted to set
158  {
159  this.restricted = restricted;
160  }
boolean restricted
Definition: SystemScope.java:55

◆ setValue()

void org.mitre.oauth2.model.SystemScope.setValue ( String  value)
inline
引数
valuethe value to set
98  {
99  this.value = value;
100  }
String value
Definition: SystemScope.java:51

◆ toString()

String org.mitre.oauth2.model.SystemScope.toString ( )
inline
235  {
236  return "SystemScope [id=" + id + ", value=" + value + ", description="
237  + description + ", icon=" + icon + ", defaultScope="
238  + defaultScope + ", restricted=" + restricted + "]";
239  }
boolean defaultScope
Definition: SystemScope.java:54
String description
Definition: SystemScope.java:52
String value
Definition: SystemScope.java:51
boolean restricted
Definition: SystemScope.java:55
String icon
Definition: SystemScope.java:53

メンバ詳解

◆ defaultScope

boolean org.mitre.oauth2.model.SystemScope.defaultScope = false
private

◆ description

String org.mitre.oauth2.model.SystemScope.description
private

◆ icon

String org.mitre.oauth2.model.SystemScope.icon
private

◆ id

Long org.mitre.oauth2.model.SystemScope.id
private

◆ PARAM_VALUE

final String org.mitre.oauth2.model.SystemScope.PARAM_VALUE = "value"
static

◆ QUERY_ALL

final String org.mitre.oauth2.model.SystemScope.QUERY_ALL = "SystemScope.findAll"
static

◆ QUERY_BY_VALUE

final String org.mitre.oauth2.model.SystemScope.QUERY_BY_VALUE = "SystemScope.getByValue"
static

◆ restricted

boolean org.mitre.oauth2.model.SystemScope.restricted = false
private

◆ value

String org.mitre.oauth2.model.SystemScope.value
private

このクラス詳解は次のファイルから抽出されました: