public abstract class AbstractRefState
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
value
The string representation of the reference.
|
| Constructor and Description |
|---|
AbstractRefState(java.lang.String value)
Constructor for an AbstractRefState, just sets the field value.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) abstract void |
accept(RefStateVisitor vis)
accept method for visitor pattern.
|
abstract NamedVariableType |
getType()
Returns the field type, if it is an RefResState, else an exception is thrown.
|
java.lang.String |
getValue()
Returns the field value.
|
public AbstractRefState(java.lang.String value)
value - The value to set.public java.lang.String getValue()
public abstract NamedVariableType getType() throws ReferenceIsUnresolvedException
ReferenceIsUnresolvedException - If the state isnt a RefResState.abstract void accept(RefStateVisitor vis) throws TypeDoesNotExistException, TypeExceptions
vis - the visitor.TypeDoesNotExistException - if a part is not resolvableTypeExceptions - if a cycle is detected or ReferenceIsUnresolved