public class EventSubject extends Object implements Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
EventSubject(String fullSubjectName)
Protected constructor for new subjects.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static EventSubject |
getSubject(Class<?> subjectOwner,
String subjectName)
Returns an event subject identified by the given owner and subject name.
|
String |
getSubjectName() |
int |
hashCode() |
String |
toString() |
protected EventSubject(String fullSubjectName)
fullSubjectName - the name of the new subject to be createdpublic static EventSubject getSubject(Class<?> subjectOwner, String subjectName)
subjectOwner - the Class used for uniquely identifying this subjectsubjectName - a String used as name, e.g. "MyEventTopic"IllegalArgumentException - if subjectOwner/subjectName are null
or subjectName is empty.public String getSubjectName()
public String toString()
toString in class Object<ClassName 0x123456> SomeNameObject.toString()Copyright © 2001–2023 Apache Cayenne. All rights reserved.