eXo WS :: REST :: Extentions 2.3.0-GA

org.exoplatform.services.rest.ext.groovy
Class BaseResourceId

java.lang.Object
  extended by org.exoplatform.services.rest.ext.groovy.BaseResourceId
All Implemented Interfaces:
ResourceId

public class BaseResourceId
extends Object
implements ResourceId

Base implementation of ResourceId.

Version:
$Id$
Author:
Andrey Parfonov

Field Summary
protected  String id
           
 
Constructor Summary
BaseResourceId(String id)
           
 
Method Summary
 boolean equals(Object obj)
          
 String getId()
          Gets the id of resource as string
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected final String id
Constructor Detail

BaseResourceId

public BaseResourceId(String id)
Method Detail

getId

public String getId()
Gets the id of resource as string

Specified by:
getId in interface ResourceId
Returns:
the resource id

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

toString

public String toString()

Overrides:
toString in class Object

eXo WS :: REST :: Extentions 2.3.0-GA

Copyright © 2012 eXo Platform SAS. All Rights Reserved.