public abstract class TypeExtension extends AbstractType
| Modifier and Type | Field and Description |
|---|---|
private NamedVariableType |
extensionIdentifier
The appendant variable.
|
private java.lang.String |
meldung
Meldung to add.
|
private boolean |
variableConditionFlag
Flag to decide if variable-condition is tagged as true or false.
|
| Constructor and Description |
|---|
TypeExtension(NamedVariableType variableIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
accept(TypeExtensionVisitor vis)
accept method for visitor pattern.
|
NamedVariableType |
getExtensionIdentifier() |
java.lang.String |
getMeldung() |
boolean |
isVariableConditionFlag()
get the flag of the variable-condition (can be tagged as true or false).
|
void |
setMeldung(java.lang.String meldung) |
void |
setVariableConditionFlag(boolean variableConditionFlag)
set the flag of the variable-condition (can be set to true or false).
|
java.lang.String |
toStringResolved()
Returns the resolved string of the regexpart, with extensions and withOUT references like
(RE:LABEL).
|
getExpression, matches, setExpressionprivate final NamedVariableType extensionIdentifier
private java.lang.String meldung
private boolean variableConditionFlag
public TypeExtension(NamedVariableType variableIdentifier)
variableIdentifier - The appendant variable.public java.lang.String getMeldung()
public void setMeldung(java.lang.String meldung)
meldung - the meldung to setpublic NamedVariableType getExtensionIdentifier()
public java.lang.String toStringResolved()
throws ReferenceIsUnresolvedException
AbstractTypetoStringResolved in class AbstractTypeReferenceIsUnresolvedException - If a part is unresolved.public abstract void accept(TypeExtensionVisitor vis) throws ReferenceIsUnresolvedException, TypeDoesNotExistException, TypeExceptions
vis - the visitor.ReferenceIsUnresolvedException - ReferenceIsUnresolvedExceptionTypeExceptions - TypeExceptionsTypeDoesNotExistException - TypeDoesNotExistExceptionpublic boolean isVariableConditionFlag()
public void setVariableConditionFlag(boolean variableConditionFlag)
variableConditionFlag - the variableConditionFlag.