org.exoplatform.services.rest.ext.groovy
Class BaseResourceId
java.lang.Object
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
id
protected final String id
BaseResourceId
public BaseResourceId(String id)
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
Copyright © 2012 eXo Platform SAS. All Rights Reserved.