public class EntityReference extends Object implements com.google.gwt.user.client.rpc.IsSerializable
| Modifier and Type | Class and Description |
|---|---|
static class |
EntityReference.EntityType
Represents a type of entity that can be referenced from the client.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
components
The entity reference components.
|
| Constructor and Description |
|---|
EntityReference() |
| Modifier and Type | Method and Description |
|---|---|
EntityReference |
clone() |
boolean |
equals(Object obj) |
String |
getComponent(String componentName) |
EntityReference.EntityType |
getType() |
int |
hashCode() |
void |
setComponent(String componentName,
String componentValue)
Sets the value of a reference component.
|
void |
setType(EntityReference.EntityType type)
Sets the type of entity being referenced.
|
public EntityReference.EntityType getType()
public void setType(EntityReference.EntityType type)
type - the entity typepublic String getComponent(String componentName)
componentName - the name of a reference componentpublic void setComponent(String componentName, String componentValue)
componentName - the name of the reference componentcomponentValue - the value of the reference componentpublic EntityReference clone()
clone in class ObjectObject.clone()Copyright © 2004–2016 XWiki. All rights reserved.