|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.gwt.wysiwyg.client.wiki.EntityReference
public class EntityReference
References a server side entity.
| Nested Class Summary | |
|---|---|
static class |
EntityReference.EntityType
Represents a type of entity that can be referenced from the client. |
| Field Summary | |
|---|---|
protected Map<String,String> |
components
The entity reference components. |
| Constructor Summary | |
|---|---|
EntityReference()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Map<String,String> components
| Constructor Detail |
|---|
public EntityReference()
| Method Detail |
|---|
public EntityReference.EntityType getType()
public void setType(EntityReference.EntityType type)
type - the entity typepublic String getComponent(String componentName)
componentName - the name of a reference component
public void setComponent(String componentName,
String componentValue)
componentName - the name of the reference componentcomponentValue - the value of the reference componentpublic int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class Objectpublic EntityReference clone()
clone in class ObjectObject.clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||