Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.

@Retention(CLASS) @Target({TYPE})

public @interface DiscriminatorValue

The persistent discriminator for a concrete class in an entity hierarchy.

Methods

public abstract String value()Names the unique discriminator stored for this concrete entity class.

Method details

value

public abstract String value()
Names the unique discriminator stored for this concrete entity class.

Returns

persistent discriminator value