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

公開メンバ関数

Long getId ()
 
void setId (Long id)
 
String getName ()
 
void setName (String name)
 
String getUri ()
 
void setUri (String uri)
 
String getType ()
 
void setType (String type)
 
Set< String > getScopes ()
 
void setScopes (Set< String > scopes)
 
String getIconUri ()
 
void setIconUri (String iconUri)
 
String getOwner ()
 
void setOwner (String owner)
 
String getClientId ()
 
void setClientId (String clientId)
 
Collection< PolicygetPolicies ()
 
void setPolicies (Collection< Policy > policies)
 
String toString ()
 
int hashCode ()
 
boolean equals (Object obj)
 

静的公開変数類

static final String QUERY_BY_OWNER = "ResourceSet.queryByOwner"
 
static final String QUERY_BY_OWNER_AND_CLIENT = "ResourceSet.queryByOwnerAndClient"
 
static final String QUERY_BY_CLIENT = "ResourceSet.queryByClient"
 
static final String QUERY_ALL = "ResourceSet.queryAll"
 
static final String PARAM_OWNER = "owner"
 
static final String PARAM_CLIENTID = "clientId"
 

非公開変数類

Long id
 
String name
 
String uri
 
String type
 
Set< String > scopes = new HashSet<>()
 
String iconUri
 
String owner
 
String clientId
 
Collection< Policypolicies = new HashSet<>()
 

詳解

関数詳解

◆ equals()

boolean org.mitre.uma.model.ResourceSet.equals ( Object  obj)
inline
248  {
249  if (this == obj) {
250  return true;
251  }
252  if (obj == null) {
253  return false;
254  }
255  if (getClass() != obj.getClass()) {
256  return false;
257  }
258  ResourceSet other = (ResourceSet) obj;
259  if (clientId == null) {
260  if (other.clientId != null) {
261  return false;
262  }
263  } else if (!clientId.equals(other.clientId)) {
264  return false;
265  }
266  if (iconUri == null) {
267  if (other.iconUri != null) {
268  return false;
269  }
270  } else if (!iconUri.equals(other.iconUri)) {
271  return false;
272  }
273  if (id == null) {
274  if (other.id != null) {
275  return false;
276  }
277  } else if (!id.equals(other.id)) {
278  return false;
279  }
280  if (name == null) {
281  if (other.name != null) {
282  return false;
283  }
284  } else if (!name.equals(other.name)) {
285  return false;
286  }
287  if (owner == null) {
288  if (other.owner != null) {
289  return false;
290  }
291  } else if (!owner.equals(other.owner)) {
292  return false;
293  }
294  if (policies == null) {
295  if (other.policies != null) {
296  return false;
297  }
298  } else if (!policies.equals(other.policies)) {
299  return false;
300  }
301  if (scopes == null) {
302  if (other.scopes != null) {
303  return false;
304  }
305  } else if (!scopes.equals(other.scopes)) {
306  return false;
307  }
308  if (type == null) {
309  if (other.type != null) {
310  return false;
311  }
312  } else if (!type.equals(other.type)) {
313  return false;
314  }
315  if (uri == null) {
316  if (other.uri != null) {
317  return false;
318  }
319  } else if (!uri.equals(other.uri)) {
320  return false;
321  }
322  return true;
323  }
String type
Definition: ResourceSet.java:59
String iconUri
Definition: ResourceSet.java:61
Set< String > scopes
Definition: ResourceSet.java:60
boolean equals(Object obj)
Definition: ResourceSet.java:248
String uri
Definition: ResourceSet.java:58
String name
Definition: ResourceSet.java:57
Collection< Policy > policies
Definition: ResourceSet.java:66
String owner
Definition: ResourceSet.java:63
String clientId
Definition: ResourceSet.java:64

◆ getClientId()

String org.mitre.uma.model.ResourceSet.getClientId ( )
inline
戻り値
the clientId
190  {
191  return clientId;
192  }
String clientId
Definition: ResourceSet.java:64

◆ getIconUri()

String org.mitre.uma.model.ResourceSet.getIconUri ( )
inline
戻り値
the iconUri
158  {
159  return iconUri;
160  }
String iconUri
Definition: ResourceSet.java:61

◆ getId()

Long org.mitre.uma.model.ResourceSet.getId ( )
inline
戻り値
the id
74  {
75  return id;
76  }
Long id
Definition: ResourceSet.java:56

◆ getName()

String org.mitre.uma.model.ResourceSet.getName ( )
inline
戻り値
the name
90  {
91  return name;
92  }
String name
Definition: ResourceSet.java:57

◆ getOwner()

String org.mitre.uma.model.ResourceSet.getOwner ( )
inline
戻り値
the owner
174  {
175  return owner;
176  }
String owner
Definition: ResourceSet.java:63

◆ getPolicies()

Collection<Policy> org.mitre.uma.model.ResourceSet.getPolicies ( )
inline
戻り値
the claimsRequired
206  {
207  return policies;
208  }
Collection< Policy > policies
Definition: ResourceSet.java:66

◆ getScopes()

Set<String> org.mitre.uma.model.ResourceSet.getScopes ( )
inline
戻り値
the scopes
142  {
143  return scopes;
144  }
Set< String > scopes
Definition: ResourceSet.java:60

◆ getType()

String org.mitre.uma.model.ResourceSet.getType ( )
inline
戻り値
the type
122  {
123  return type;
124  }
String type
Definition: ResourceSet.java:59

◆ getUri()

String org.mitre.uma.model.ResourceSet.getUri ( )
inline
戻り値
the uri
106  {
107  return uri;
108  }
String uri
Definition: ResourceSet.java:58

◆ hashCode()

int org.mitre.uma.model.ResourceSet.hashCode ( )
inline
229  {
230  final int prime = 31;
231  int result = 1;
232  result = prime * result + ((clientId == null) ? 0 : clientId.hashCode());
233  result = prime * result + ((iconUri == null) ? 0 : iconUri.hashCode());
234  result = prime * result + ((id == null) ? 0 : id.hashCode());
235  result = prime * result + ((name == null) ? 0 : name.hashCode());
236  result = prime * result + ((owner == null) ? 0 : owner.hashCode());
237  result = prime * result + ((policies == null) ? 0 : policies.hashCode());
238  result = prime * result + ((scopes == null) ? 0 : scopes.hashCode());
239  result = prime * result + ((type == null) ? 0 : type.hashCode());
240  result = prime * result + ((uri == null) ? 0 : uri.hashCode());
241  return result;
242  }
String type
Definition: ResourceSet.java:59
String iconUri
Definition: ResourceSet.java:61
Set< String > scopes
Definition: ResourceSet.java:60
int hashCode()
Definition: ResourceSet.java:229
String uri
Definition: ResourceSet.java:58
String name
Definition: ResourceSet.java:57
Collection< Policy > policies
Definition: ResourceSet.java:66
String owner
Definition: ResourceSet.java:63
String clientId
Definition: ResourceSet.java:64

◆ setClientId()

void org.mitre.uma.model.ResourceSet.setClientId ( String  clientId)
inline
引数
clientIdthe clientId to set
197  {
198  this.clientId = clientId;
199  }
String clientId
Definition: ResourceSet.java:64

◆ setIconUri()

void org.mitre.uma.model.ResourceSet.setIconUri ( String  iconUri)
inline
引数
iconUrithe iconUri to set
165  {
166  this.iconUri = iconUri;
167  }
String iconUri
Definition: ResourceSet.java:61

◆ setId()

void org.mitre.uma.model.ResourceSet.setId ( Long  id)
inline
引数
idthe id to set
81  {
82  this.id = id;
83  }
Long id
Definition: ResourceSet.java:56

◆ setName()

void org.mitre.uma.model.ResourceSet.setName ( String  name)
inline
引数
namethe name to set
97  {
98  this.name = name;
99  }
String name
Definition: ResourceSet.java:57

◆ setOwner()

void org.mitre.uma.model.ResourceSet.setOwner ( String  owner)
inline
引数
ownerthe owner to set
181  {
182  this.owner = owner;
183  }
String owner
Definition: ResourceSet.java:63

◆ setPolicies()

void org.mitre.uma.model.ResourceSet.setPolicies ( Collection< Policy policies)
inline
引数
policiesthe claimsRequired to set
213  {
214  this.policies = policies;
215  }
Collection< Policy > policies
Definition: ResourceSet.java:66

◆ setScopes()

void org.mitre.uma.model.ResourceSet.setScopes ( Set< String >  scopes)
inline
引数
scopesthe scopes to set
149  {
150  this.scopes = scopes;
151  }
Set< String > scopes
Definition: ResourceSet.java:60

◆ setType()

void org.mitre.uma.model.ResourceSet.setType ( String  type)
inline
引数
typethe type to set
129  {
130  this.type = type;
131  }
String type
Definition: ResourceSet.java:59

◆ setUri()

void org.mitre.uma.model.ResourceSet.setUri ( String  uri)
inline
引数
urithe uri to set
113  {
114  this.uri = uri;
115  }
String uri
Definition: ResourceSet.java:58

◆ toString()

String org.mitre.uma.model.ResourceSet.toString ( )
inline
221  {
222  return "ResourceSet [id=" + id + ", name=" + name + ", uri=" + uri + ", type=" + type + ", scopes=" + scopes + ", iconUri=" + iconUri + ", owner=" + owner + ", clientId=" + clientId + ", policies=" + policies + "]";
223  }
String type
Definition: ResourceSet.java:59
String iconUri
Definition: ResourceSet.java:61
Set< String > scopes
Definition: ResourceSet.java:60
String uri
Definition: ResourceSet.java:58
String name
Definition: ResourceSet.java:57
Collection< Policy > policies
Definition: ResourceSet.java:66
String owner
Definition: ResourceSet.java:63
String clientId
Definition: ResourceSet.java:64

メンバ詳解

◆ clientId

String org.mitre.uma.model.ResourceSet.clientId
private

◆ iconUri

String org.mitre.uma.model.ResourceSet.iconUri
private

◆ id

Long org.mitre.uma.model.ResourceSet.id
private

◆ name

String org.mitre.uma.model.ResourceSet.name
private

◆ owner

String org.mitre.uma.model.ResourceSet.owner
private

◆ PARAM_CLIENTID

final String org.mitre.uma.model.ResourceSet.PARAM_CLIENTID = "clientId"
static

◆ PARAM_OWNER

final String org.mitre.uma.model.ResourceSet.PARAM_OWNER = "owner"
static

◆ policies

Collection<Policy> org.mitre.uma.model.ResourceSet.policies = new HashSet<>()
private

◆ QUERY_ALL

final String org.mitre.uma.model.ResourceSet.QUERY_ALL = "ResourceSet.queryAll"
static

◆ QUERY_BY_CLIENT

final String org.mitre.uma.model.ResourceSet.QUERY_BY_CLIENT = "ResourceSet.queryByClient"
static

◆ QUERY_BY_OWNER

final String org.mitre.uma.model.ResourceSet.QUERY_BY_OWNER = "ResourceSet.queryByOwner"
static

◆ QUERY_BY_OWNER_AND_CLIENT

final String org.mitre.uma.model.ResourceSet.QUERY_BY_OWNER_AND_CLIENT = "ResourceSet.queryByOwnerAndClient"
static

◆ scopes

Set<String> org.mitre.uma.model.ResourceSet.scopes = new HashSet<>()
private

◆ type

String org.mitre.uma.model.ResourceSet.type
private

◆ uri

String org.mitre.uma.model.ResourceSet.uri
private

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