package performa.orm;

import oneit.objstore.StorageException;
import oneit.utils.CollectionUtils;

public class ShortenedURL extends BaseShortenedURL
{
    private static final long serialVersionUID = 0L;
    
    // This constructor should not be called
    public ShortenedURL ()
    {
        // Do not add any code to this, always put it in initialiseNewObject
    }

    @Override
    public boolean filterByCode(String code) throws StorageException 
    {
        return CollectionUtils.equals(code, getCode());
    }
}