org.xwiki.gwt.wysiwyg.client.wiki
Class Entity

java.lang.Object
  extended by org.xwiki.gwt.wysiwyg.client.wiki.Entity
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
Direct Known Subclasses:
Attachment, WikiPage

public class Entity
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable

An entity in the wiki model.

Version:
$Id: Entity.java 28844 2010-05-12 13:22:39Z mflorea $

Constructor Summary
Entity()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          
 EntityReference getReference()
           
 java.lang.String getUrl()
           
 int hashCode()
          
 void setReference(EntityReference reference)
          Sets the entity reference.
 void setUrl(java.lang.String url)
          Sets the entity URL.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Entity

public Entity()
Method Detail

getReference

public EntityReference getReference()
Returns:
the entity reference

setReference

public void setReference(EntityReference reference)
Sets the entity reference.

Parameters:
reference - the new entity reference

getUrl

public java.lang.String getUrl()
Returns:
the entity URL

setUrl

public void setUrl(java.lang.String url)
Sets the entity URL.

Parameters:
url - the new entity URL

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object
See Also:
Object.equals(Object)


Copyright © 2004-2011 XWiki. All Rights Reserved.