public class UmaResourceRepresentation extends Object
One or more resources that the resource server manages as a set of protected resources.
For more details, OAuth-resource-reg.
Constructor and Description |
---|
UmaResourceRepresentation()
Creates a new instance.
|
UmaResourceRepresentation(String name,
Set<UmaScopeRepresentation> scopes)
Creates a new instance.
|
UmaResourceRepresentation(String name,
Set<UmaScopeRepresentation> scopes,
String uri,
String type)
Creates a new instance.
|
UmaResourceRepresentation(String name,
Set<UmaScopeRepresentation> scopes,
String uri,
String type,
String iconUri)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getIconUri() |
String |
getId() |
String |
getName() |
String |
getOwner() |
Set<UmaScopeRepresentation> |
getScopes() |
String |
getType() |
String |
getUri() |
void |
setIconUri(String iconUri) |
void |
setId(String id) |
void |
setName(String name) |
void |
setOwner(String owner) |
void |
setScopes(Set<UmaScopeRepresentation> scopes) |
void |
setType(String type) |
void |
setUri(String uri) |
public UmaResourceRepresentation(String name, Set<UmaScopeRepresentation> scopes, String uri, String type, String iconUri)
name
- a human-readable string describing a set of one or more resourcesuri
- a URI
that provides the network location for the resource set being registeredtype
- a string uniquely identifying the semantics of the resource setscopes
- the available scopes for this resource seticonUri
- a URI
for a graphic icon representing the resource setpublic UmaResourceRepresentation(String name, Set<UmaScopeRepresentation> scopes, String uri, String type)
name
- a human-readable string describing a set of one or more resourcesuri
- a URI
that provides the network location for the resource set being registeredtype
- a string uniquely identifying the semantics of the resource setscopes
- the available scopes for this resource setpublic UmaResourceRepresentation(String name, Set<UmaScopeRepresentation> scopes)
name
- a human-readable string describing a set of one or more resourcesserverUri
- a URI
that identifies this resource serverscopes
- the available scopes for this resource setpublic UmaResourceRepresentation()
public void setId(String id)
public String getId()
public String getName()
public String getUri()
public String getType()
public Set<UmaScopeRepresentation> getScopes()
public String getIconUri()
public void setName(String name)
public void setUri(String uri)
public void setType(String type)
public void setScopes(Set<UmaScopeRepresentation> scopes)
public void setIconUri(String iconUri)
public String getOwner()
public void setOwner(String owner)
Copyright © 2016 JBoss by Red Hat. All rights reserved.