org.seedstack.business.domain.LegacyEntity Maven / Gradle / Ivy
/*
* Copyright © 2013-2018, The SeedStack authors
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.seedstack.business.domain;
@Deprecated
public interface LegacyEntity extends Entity {
@Override
default I getId() {
// Removes the automatic detection of identity
return getEntityId();
}
I getEntityId();
}