com.atlassian.jira.functest.config.sharing
Class ConfigSharedEntityId

java.lang.Object
  extended by com.atlassian.jira.functest.config.sharing.ConfigSharedEntityId
All Implemented Interfaces:
ConfigSharedEntity

public class ConfigSharedEntityId
extends Object
implements ConfigSharedEntity

Simple implementation of ConfigSharedEntity for use in the tests.

Since:
v4.2

Constructor Summary
ConfigSharedEntityId(Long id, String entityType)
           
 
Method Summary
 boolean equals(Object o)
           
 String getEntityType()
           
 Long getId()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigSharedEntityId

public ConfigSharedEntityId(Long id,
                            String entityType)
Method Detail

getEntityType

public String getEntityType()
Specified by:
getEntityType in interface ConfigSharedEntity

getId

public Long getId()
Specified by:
getId in interface ConfigSharedEntity

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2012 Atlassian. All Rights Reserved.