- All Known Subinterfaces:
SubjectAccessor.SubjectProperty,SubjectDescriptor,SubjectInstance
public interface SubjectAccessor
Provides an accessor for a subject property.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceSubjectAccessor.SubjectBuilder<B extends SubjectAccessor.SubjectBuilder<B>>Provides a builder method for the according property returning the builder for applying multiple build operations.static interfaceSubjectAccessor.SubjectMutatorProvides a mutator for a subject property.static interfaceSubjectAccessor.SubjectPropertyProvides a subject property. -
Method Summary
Modifier and Type Method Description <S> SgetSubject()Retrieves the subject from the subject property.
-
Method Details
-
getSubject
<S> S getSubject()Retrieves the subject from the subject property.- Type Parameters:
S- The expected type of the subject.- Returns:
- The subject stored by the subject property.
-