class Element implements Serializable, Cloneable {

    public final boolean equals(Object object) {
        if (object == null || !(object instanceof Element)) {
            return false;
        }

        Element element = (Element) object;
        if (key == null || element.getObjectKey() == null) {
            return false;
        }

        return key.equals(element.getObjectKey());
    }

    public  Element(Serializable key, Serializable value, long version);
    public  Element(Object key, Object value, long version);
    public  Element(Object key, Object value, long version,
                   long creationTime, long lastAccessTime,
                   long nextToLastAccessTime, long lastUpdateTime,
                   long hitCount);
    public  Element(Object key, Object value,
                   Boolean eternal, Integer timeToIdleSeconds, Integer timeToLiveSeconds);
    public  Element(Serializable key, Serializable value);
    public  Element(Object key, Object value);

}