@Entity public class ResourceServer extends AbstractEntity
| Modifier and Type | Field and Description |
|---|---|
static String |
SCOPE_PATTERN |
| Constructor and Description |
|---|
ResourceServer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsClient(Client client) |
Set<Client> |
getClients() |
String |
getContactEmail() |
String |
getContactName() |
String |
getDescription() |
String |
getKey() |
String |
getName() |
String |
getOwner() |
List<String> |
getScopes() |
String |
getSecret() |
String |
getThumbNailUrl() |
void |
setClients(Set<Client> clients) |
void |
setContactEmail(String contactEmail) |
void |
setContactName(String contactName) |
void |
setDescription(String description) |
void |
setKey(String key) |
void |
setName(String name) |
void |
setOwner(String owner) |
void |
setScopes(List<String> scopes) |
void |
setSecret(String secret) |
void |
setThumbNailUrl(String thumbNailUrl) |
boolean |
validate(javax.validation.ConstraintValidatorContext context)
Template method that validates the state of an
AbstractEntity. |
equals, getCreationDate, getId, getModificationDate, hashCode, setId, toString, updateTimeStamps, violationpublic static final String SCOPE_PATTERN
public String getName()
public void setName(String name)
public String getSecret()
public void setSecret(String secret)
public String getContactName()
public void setContactName(String contactName)
public String getContactEmail()
public void setContactEmail(String contactEmail)
public String getThumbNailUrl()
public void setThumbNailUrl(String thumbNailUrl)
thumbNailUrl - the thumbNailUrl to setpublic void setOwner(String owner)
public String getOwner()
public String getKey()
public void setKey(String key)
key - the key to setpublic String getDescription()
public void setDescription(String description)
description - the description to setpublic boolean containsClient(Client client)
client - the Clientpublic boolean validate(javax.validation.ConstraintValidatorContext context)
AbstractEntityAbstractEntity. Can
be used prior to saving/ updating the AbstractEntityvalidate in class AbstractEntitycontext - the ConstraintValidatorContextCopyright © 2012-2013 SURFnet bv, The Netherlands. All Rights Reserved.