001package jmri.beans;
002
003import javax.annotation.Nonnull;
004
005/**
006 * An object that has a publicly mutable identity property.
007 *
008 * @author Randall Wood Copyright 2020
009 * @see Identifiable
010 */
011public interface MutableIdentifiable extends Identifiable {
012
013    /**
014     * Set the identity.
015     *
016     * @param id the new identity
017     */
018    void setId(@Nonnull String id);
019}