public class VerifyMandatoryOptionalVariability
extends java.lang.Object
Constructor and Description |
---|
VerifyMandatoryOptionalVariability() |
Modifier and Type | Method and Description |
---|---|
static VerifyMandatoryOptionalVariability |
getInstance() |
void |
Verify(Architecture architecture)
Verify if an element is mandatory or optional using the variability
if the element is an variant and the type is optional, then the element is optional
if the element is an variant and the type is mandatory, then the element is mandatory
|
void |
verifyMandatorySubPackage(Package pkg) |
public static VerifyMandatoryOptionalVariability getInstance()
public void Verify(Architecture architecture)
architecture
- - the architecture to be decodedpublic void verifyMandatorySubPackage(Package pkg)