Subversion Repositories bacoAlunos

Rev

Rev 1945 | Blame | Compare with Previous | Last modification | View Log | RSS feed

package pt.estgp.estgweb.domain;

import java.io.Serializable;

/**
 * @author Jorge Machado
 * @date 2/Mar/2008
 * @time 10:27:25
 * @see pt.estgp.estgweb.domain
 */

public class SessionObjectImpl extends SessionObject
{
    public 1.5.0/docs/api/java/io/Serializable.html">Serializable getSerializable()
    {
        return getId();
    }

    public boolean equals(5+0%2Fdocs%2Fapi+Object">Object o)
    {
        return o instanceof SessionObject &&
                ((SessionObject)o).getId() != null &&
                ((SessionObject)o).getId().getKeyId() != null &&
                getId() != null &&
                getId().getKeyId() != null &&
                ((SessionObject)o).getId().getKeyId().equals(getId().getKeyId());
    }

}