Projection Class
public final class ProjectionClass<P extends Projection> extends EntityClass<E> implements EventReceiverClass, SubscribingClass, StateSubscribingClass
Provides type information on a projection class.
Parameters
<P>
the type of projections
Functions
Link copied to clipboard
Obtains a model class for the passed raw class.
Link copied to clipboard
Obtains a set of domestic events which this class receives.
Link copied to clipboard
Obtains domestic entity states to which the class is subscribed.
Link copied to clipboard
Obtains a set of external events which this class receives.
Link copied to clipboard
Obtains external entity states to which the class is subscribed.
Link copied to clipboard
public final ImmutableSet<SubscriberMethod> subscribersOf(EventClass eventClass, MessageClass<?> originClass)
Obtains all subscriber methods that handle the passed event class.
Inherited functions
Link copied to clipboard
Obtains an entity class for the passed raw class.
Link copied to clipboard
Obtains constructor for the entities of this class.
Link copied to clipboard
Creates a new instance of the factory for creating entities.
Link copied to clipboard
Obtains the default state for this class of entities.
Link copied to clipboard
Obtains the factory for creating entities.
Link copied to clipboard
protected static ModelClass<T> get<T, M extends ModelClass<T>>(Class<T> rawClass, Class<M> requestedModelClass, Supplier<ModelClass<T>> supplier)
Obtains the model class for the passed raw class.
Link copied to clipboard
Obtains the class of the state of entities of this class.
Link copied to clipboard
Retrieves the state class of the passed entity class.
Link copied to clipboard
Obtains type URL of the state of entities of this class.
Link copied to clipboard
Obtains a method that handles the passed class of events.
Link copied to clipboard
Verifies if this class is subscribed to updates of entity states, either domestic or external.
Link copied to clipboard
Obtains the visibility of this entity type as declared in the Protobuf definition.