| Constructor and Description |
|---|
ResourceRef(String identifier,
ResourceType type) |
ResourceRef(String identifier,
ResourceType type,
List<Resource> dependencies) |
| Modifier and Type | Method and Description |
|---|---|
List<Resource> |
getDependencies()
A list of dependent resources.
|
String |
getIdentifier()
An identifier that is unique among all the resources of the same type
(see
Resource.getResourceType()). |
ResourceType |
getResourceType()
Get the resource type classifier
|
void |
setDependencies(List<Resource> deps) |
void |
setIdentifier(String identifier) |
void |
setResourceType(ResourceType type) |
public ResourceRef(String identifier, ResourceType type)
public ResourceRef(String identifier, ResourceType type, List<Resource> dependencies)
public String getIdentifier()
ResourceResource.getResourceType()).getIdentifier in interface Resourcepublic void setIdentifier(String identifier)
public ResourceType getResourceType()
ResourcegetResourceType in interface Resourcepublic void setResourceType(ResourceType type)
public List<Resource> getDependencies()
Resource
The dependency list is used for instance to determine if a user can access a given resource. Should the access to all its dependencies is denied, it is denied for this instance as well.
getDependencies in interface ResourceCopyright © 2012–2021 JBoss by Red Hat. All rights reserved.