All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gov.sandia.cognition.util.Identified Maven / Gradle / Ivy

There is a newer version: 4.0.1
Show newest version
/*
 * File:                Identified.java
 * Authors:             Justin Basilico
 * Company:             Sandia National Laboratories
 * Project:             Cognitive Foundry
 * 
 * Copyright April 25, 2011, Sandia Corporation.
 * Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive
 * license for use of this work by or on behalf of the U.S. Government. Export
 * of this program may require a license from the United States Government.
 * See CopyrightHistory.txt for complete details.
 * 
 */

package gov.sandia.cognition.util;

/**
 * Defines functionality for an object that has some type of identifier.
 * Identifiers must have valid implementations of equals and hashCode.
 *
 * @param   
 *      The type of identifier for this object. Must have valid implementations
 *      of equals and hashCode.
 * @author  Justin Basilico
 * @since   3.2.0
 */
public interface Identified
{

    /**
     * Gets the identifier for this object.
     * 
     * @return
     *      The identifier for this object.
     */
    public IdentifierType getIdentifier();
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy