public class PSBridge extends java.lang.Object implements PS
Constructor and Description |
---|
PSBridge(java.util.List<Element> contexts,
AlgorithmFamily algorithmFamily,
java.util.List<Concern> commonConcerns)
Instantiates a new PS bridge.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Equals.
|
AlgorithmFamily |
getAlgorithmFamily()
Gets the algorithm family.
|
java.util.List<Concern> |
getCommonConcerns()
Gets the common concerns.
|
java.util.List<Element> |
getContexts()
Gets the contexts.
|
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.
|
public PSBridge(java.util.List<Element> contexts, AlgorithmFamily algorithmFamily, java.util.List<Concern> commonConcerns)
contexts
- the contextsalgorithmFamily
- the algorithm familycommonConcerns
- the list of common concernspublic DesignPattern getPSOf()
public boolean isPSOf(DesignPattern designPattern)
public java.util.List<Element> getParticipants()
getParticipants
in interface PS
public java.util.List<Element> getContexts()
public AlgorithmFamily getAlgorithmFamily()
public java.util.List<Concern> getCommonConcerns()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the obj