Interface Translatable
public interface Translatable
Marker interface for repository domain that has one or more translatable elements. This interface
is recognized during transformation of any projections resulting from this repository domain and
used to determine whether or not translation processing should be attempted.
- Author:
- Jeff Fischer
-
Method Summary
Modifier and TypeMethodDescriptionEither theTrackable.getContextId()
, or the primary key value of the entity (if not Trackable) as a String.
-
Method Details
-
getContextId
String getContextId()Either theTrackable.getContextId()
, or the primary key value of the entity (if not Trackable) as a String.- Returns:
- The Trackable contextId, or String version of the primary key if not Trackable
-