Constructor and Description |
---|
PSMediator(java.util.List<Element> participants,
Concern concern)
Instantiates a new PS mediator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Equals.
|
Concern |
getConcern()
Gets the concern.
|
java.util.List<Element> |
getParticipants()
Gets the participants.
|
DesignPattern |
getPSOf()
Gets the PS of.
|
int |
hashCode()
Hash code.
|
boolean |
isPSOf(DesignPattern designPattern)
Checks if is PS of.
|
void |
setConcern(Concern concern)
Sets the concern.
|
void |
setParticipants(java.util.List<Element> participants)
Sets the participants.
|
public DesignPattern getPSOf()
public boolean isPSOf(DesignPattern designPattern)
public java.util.List<Element> getParticipants()
getParticipants
in interface PS
public void setParticipants(java.util.List<Element> participants)
participants
- the new participantspublic Concern getConcern()
public void setConcern(Concern concern)
concern
- the new concernpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the obj