public class ResourceIdentifier extends Object
Constructor and Description |
---|
ResourceIdentifier(String type,
String id) |
Modifier and Type | Method and Description |
---|---|
Resource |
castToResource() |
boolean |
equals(Object o) |
String |
getId() |
String |
getType() |
int |
hashCode() |
PersistentResource |
toPersistentResource(RequestScope requestScope) |
public String getType()
public String getId()
public PersistentResource toPersistentResource(RequestScope requestScope) throws ForbiddenAccessException, InvalidObjectIdentifierException
public Resource castToResource()
Copyright © 2015–2021 Yahoo! Inc.. All rights reserved.