mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
More cleanup, fixing, and general futzing. A checkpoint.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2920 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -19,8 +19,8 @@ package org.alfresco.repo.avm.hibernate;
|
||||
|
||||
|
||||
/**
|
||||
* Shared Content between files.
|
||||
* @author britt
|
||||
*
|
||||
*/
|
||||
public class ContentBeanImpl implements ContentBean
|
||||
{
|
||||
|
@@ -105,4 +105,39 @@ public class DirectoryEntry
|
||||
{
|
||||
return fType.name();
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see java.lang.Object#equals(java.lang.Object)
|
||||
*/
|
||||
@Override
|
||||
public boolean equals(Object obj)
|
||||
{
|
||||
if (this == obj)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
if (!(obj instanceof DirectoryEntry))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return fChild.equals(((DirectoryEntry)obj).fChild);
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see java.lang.Object#hashCode()
|
||||
*/
|
||||
@Override
|
||||
public int hashCode()
|
||||
{
|
||||
return fChild.hashCode();
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see java.lang.Object#toString()
|
||||
*/
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return "[" + fType.name() + "] " + fChild.getId();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user