gov.sandia.cognition.util.Identified Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cognitive-foundry Show documentation
Show all versions of cognitive-foundry Show documentation
A single jar with all the Cognitive Foundry components.
/*
* 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();
}