public class PackageRule
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<Option> |
options
represents the List of options.
|
private Path |
path
represents the path.
|
private Position |
position
represents the position of the package rule.
|
private RegEx |
value
the value which the variable should have.
|
private java.util.List<AbstractVariableDefinition> |
variableDefinition
represents the List of the variable definitions.
|
| Constructor and Description |
|---|
PackageRule(RegEx value,
Path path,
java.util.List<AbstractVariableDefinition> variableDef,
Position position,
java.util.List<Option> options) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Option> |
getOptions() |
Path |
getPath() |
Position |
getPosition() |
RegEx |
getValue() |
java.util.List<AbstractVariableDefinition> |
getVariableDefinition() |
int |
hashCode() |
java.lang.String |
toString() |
private final RegEx value
private final transient java.util.List<Option> options
private final transient Path path
private final transient java.util.List<AbstractVariableDefinition> variableDefinition
private final transient Position position
public PackageRule(RegEx value, Path path, java.util.List<AbstractVariableDefinition> variableDef, Position position, java.util.List<Option> options)
value - String of valueoptions - of the rulepath - of the rulevariableDef - is the list of variableDefinitions, which the assigmentparser owns. ruleposition - of the rulepublic RegEx getValue()
public java.util.List<Option> getOptions()
public Path getPath()
public java.util.List<AbstractVariableDefinition> getVariableDefinition()
public Position getPosition()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object