org.eclipse.emf.emfstore.internal.server.model.impl.api
Class ESGlobalProjectIdImpl

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.common.api.AbstractAPIImpl<ESGlobalProjectId,ProjectId>
      extended by org.eclipse.emf.emfstore.internal.server.model.impl.api.ESGlobalProjectIdImpl
All Implemented Interfaces:
ESUniqueIdentifier, InternalAPIDelegator<ESGlobalProjectId,ProjectId>, ESGlobalProjectId

public class ESGlobalProjectIdImpl
extends AbstractAPIImpl<ESGlobalProjectId,ProjectId>
implements ESGlobalProjectId

Mapping between ESGlobalProjectId and ProjectId.

Author:
emueller

Constructor Summary
ESGlobalProjectIdImpl(ProjectId projectId)
          Constructor.
 
Method Summary
 boolean equals(Object otherObject)
          
 String getId()
          Returns the actual identifier as a string.
 int hashCode()
          
 
Methods inherited from class org.eclipse.emf.emfstore.internal.common.api.AbstractAPIImpl
toInternalAPI
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ESGlobalProjectIdImpl

public ESGlobalProjectIdImpl(ProjectId projectId)
Constructor.

Parameters:
projectId - the delegate
Method Detail

getId

public String getId()
Returns the actual identifier as a string.

Specified by:
getId in interface ESUniqueIdentifier
Returns:
the ID as a string
See Also:
ESUniqueIdentifier.getId()

equals

public boolean equals(Object otherObject)

Overrides:
equals in class AbstractAPIImpl<ESGlobalProjectId,ProjectId>
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()

Overrides:
hashCode in class AbstractAPIImpl<ESGlobalProjectId,ProjectId>
See Also:
Object.hashCode()


Copyright © 2015. All Rights Reserved.