dz.alkhwarizmix.trouvauto.java.model.vo.ReservautoExtensionData.java Source code

Java tutorial

Introduction

Here is the source code for dz.alkhwarizmix.trouvauto.java.model.vo.ReservautoExtensionData.java

Source

////////////////////////////////////////////////////////////////////////////////
//     
//
//   ?    ?  (Copyright 2015 Fares Belhaouas)
//  ?  ? (All Rights Reserved)
//
//  NOTICE: Fares Belhaouas permits you to use, modify, and distribute this file
//  in accordance with the terms of the license agreement accompanying it.
//
////////////////////////////////////////////////////////////////////////////////

package dz.alkhwarizmix.trouvauto.java.model.vo;

import java.io.Serializable;

import org.apache.commons.lang.builder.ToStringBuilder;

import dz.alkhwarizmix.framework.java.AlKhwarizmixException;
import dz.alkhwarizmix.framework.java.domain.AbstractAlKhwarizmixDomainObject;
import dz.alkhwarizmix.framework.java.domain.IAlKhwarizmixJsonObject;

/**
 * <p>
 * TODO: Javadoc
 * </p>
 *
 * @author ?  (Fares Belhaouas)
 * @since     (December 25, 2015)
 */
public class ReservautoExtensionData extends AbstractAlKhwarizmixDomainObject
        implements IAlKhwarizmixJsonObject, Serializable, Cloneable {

    // --------------------------------------------------------------------------
    //
    // Constants
    //
    // --------------------------------------------------------------------------

    private static final long serialVersionUID = 7079181472718940435L;

    // --------------------------------------------------------------------------
    //
    // Constructors
    //
    // --------------------------------------------------------------------------

    public ReservautoExtensionData() {
        super();
    }

    protected ReservautoExtensionData(final ReservautoExtensionData other) {
        super(other);
    }

    // --------------------------------------------------------------------------
    //
    // Properties
    //
    // --------------------------------------------------------------------------

    // EMPTY

    // --------------------------------------------------------------------------
    //
    // Methods
    //
    // --------------------------------------------------------------------------

    /**
     */
    @Override
    public Object clone() {
        return new ReservautoExtensionData(this);
    }

    /**
     */
    @Override
    protected ToStringBuilder toStringBuilder() {
        return super.toStringBuilder();
    }

    /*
     * (non-Javadoc)
     *
     * @see java.lang.Object#hashCode()
     */
    @Override
    public int hashCode() {
        final int result = super.hashCode();
        return result;
    }

    /*
     * (non-Javadoc)
     *
     * @see java.lang.Object#equals(java.lang.Object)
     */
    @Override
    public boolean equals(final Object other) {
        final boolean result = super.equals(other) && (getObjectAsThisClass(other) != null);
        return result;
    }

    private ReservautoExtensionData getObjectAsThisClass(final Object other) {
        return (other instanceof ReservautoExtensionData) ? (ReservautoExtensionData) other : null;
    }

    /**
     */
    @Override
    public void updateFrom(final Object sourceObject) throws AlKhwarizmixException {
        // NOOP
    }

    /**
     */
    @Override
    public void beforeDaoSaveOrUpdate(final AbstractAlKhwarizmixDomainObject object) {
        // NOOP
    }

    // --------------------------------------------------------------------------
    //
    // Getters & Setters
    //
    // --------------------------------------------------------------------------

    // EMPTY

} // Class