001package jmri.beans;
002
003import javax.annotation.Nonnull;
004
005/**
006 * An Object that has an identity property that is not publicly mutable (it may be
007 * indirectly mutated).
008 * 
009 * @author Randall Wood Copyright 2020
010 * @see MutableIdentifiable
011 */
012public interface Identifiable {
013
014    /**
015     * Get the identity of the object.
016     *
017     * @return the identity
018     */
019    @Nonnull
020    String getId();
021}