public class ResourceReference extends Object implements com.google.gwt.user.client.rpc.IsSerializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceReference.ResourceType
Lists the type of resources that can be linked.
|
| Constructor and Description |
|---|
ResourceReference() |
| Modifier and Type | Method and Description |
|---|---|
ResourceReference |
clone() |
EntityReference |
getEntityReference() |
Map<String,String> |
getParameters() |
ResourceReference.ResourceType |
getType() |
boolean |
isTyped() |
void |
setEntityReference(EntityReference entityReference)
Sets the entity reference.
|
void |
setType(ResourceReference.ResourceType type)
Sets the resource type.
|
void |
setTyped(boolean typed)
Sets whether the resource type has been explicitly provided or not.
|
public ResourceReference.ResourceType getType()
public void setType(ResourceReference.ResourceType type)
type - the new resource typepublic boolean isTyped()
true if the resource type has been explicitly provided, i.e. if the scheme corresponding to the
resource type was included in the resource referencepublic void setTyped(boolean typed)
typed - true if the resource type has been explicitly provided, i.e. if the scheme corresponding to
the resource type was included in the resource reference, false otherwisepublic EntityReference getEntityReference()
public void setEntityReference(EntityReference entityReference)
entityReference - the new entity referencepublic ResourceReference clone()
clone in class ObjectObject.clone()Copyright © 2004–2014 XWiki. All rights reserved.