public class SubjectDescriptorImpl extends Object implements Subject, Serializable
SubjectAccessor.SubjectMutator, SubjectAccessor.SubjectProperty
Constructor and Description |
---|
SubjectDescriptorImpl(Object aSubject)
Creates a new
Subject instance. |
Modifier and Type | Method and Description |
---|---|
<S> S |
getSubject()
Retrieves the subject from the subject property.
|
String |
toString() |
public <S> S getSubject()
SubjectAccessor
getSubject
in interface SubjectAccessor
S
- The expected type of the subject.Copyright © 2016. All rights reserved.