public class Scope
extends java.lang.Object
Constructor and Description |
---|
Scope()
Instantiates a new scope.
|
Modifier and Type | Method and Description |
---|---|
void |
addPS(PS ps)
Adds the PS.
|
void |
addPSPLA(PSPLA psPla)
Adds the PSPLA.
|
boolean |
equals(java.lang.Object obj)
Equals.
|
java.util.List<Element> |
getElements()
Gets the elements.
|
java.util.List<PS> |
getPSs()
Gets the PSs.
|
java.util.List<PS> |
getPSs(DesignPattern designPattern)
Gets the design pattern PSs
|
java.util.List<PSPLA> |
getPSsPLA()
Gets the PSPLAs.
|
java.util.List<PSPLA> |
getPSsPLA(DesignPattern designPattern)
Gets desing pattern PSPLAs
|
int |
hashCode()
Hash code.
|
boolean |
isPS()
Checks if is ps.
|
boolean |
isPSPLA()
Checks if is pspla.
|
public java.util.List<Element> getElements()
public java.util.List<PS> getPSs()
public java.util.List<PSPLA> getPSsPLA()
public java.util.List<PS> getPSs(DesignPattern designPattern)
designPattern
- the design patternpublic java.util.List<PSPLA> getPSsPLA(DesignPattern designPattern)
designPattern
- the design patternpublic void addPS(PS ps)
ps
- the PSpublic void addPSPLA(PSPLA psPla)
psPla
- the PSPLApublic boolean isPS()
public boolean isPSPLA()
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