public abstract class AbstractSymbolicAssociationValueContainer extends AbstractElement implements ISymbolicAssociationValueContainer
ISymbolicAssociationValueContainer.| Modifier and Type | Field and Description | 
|---|---|
private ImmutableList<ISymbolicAssociation> | 
associations
The contained  
ISymbolicAssociations. | 
private ImmutableList<ISymbolicValue> | 
values
The contained  
ISymbolicValues. | 
| Constructor and Description | 
|---|
AbstractSymbolicAssociationValueContainer(IModelSettings settings)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addAssociation(ISymbolicAssociation association)
Adds a new  
ISymbolicAssociation. | 
void | 
addValue(ISymbolicValue value)
Adds a new  
ISymbolicValue. | 
ISymbolicAssociation | 
getAssociation(IProgramVariable programVariable,
              boolean isArrayIndex,
              Term arrayIndex,
              Term condition)
Returns the  
ISymbolicAssociation with the given IProgramVariable. | 
ImmutableList<ISymbolicAssociation> | 
getAssociations()
Returns the contained associations. 
 | 
ISymbolicValue | 
getValue(IProgramVariable programVariable,
        boolean isArrayIndex,
        Term arrayIndex,
        Term condition)
Returns the  
ISymbolicValue with the given IProgramVariable. | 
ImmutableList<ISymbolicValue> | 
getValues()
Returns the contained values. 
 | 
formatTerm, getSettingsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSettingsprivate ImmutableList<ISymbolicAssociation> associations
ISymbolicAssociations.private ImmutableList<ISymbolicValue> values
ISymbolicValues.public AbstractSymbolicAssociationValueContainer(IModelSettings settings)
settings - The IModelSettings to use.public ImmutableList<ISymbolicAssociation> getAssociations()
getAssociations in interface ISymbolicAssociationValueContainerpublic void addAssociation(ISymbolicAssociation association)
ISymbolicAssociation.value - The new ISymbolicAssociation to add.public ISymbolicAssociation getAssociation(IProgramVariable programVariable, boolean isArrayIndex, Term arrayIndex, Term condition)
ISymbolicAssociation with the given IProgramVariable.getAssociation in interface ISymbolicAssociationValueContainerprogramVariable - The IProgramVariable for which the ISymbolicAssociation is requested.isArrayIndex - Is array index?arrayIndex - The array index.condition - The optional condition under which this association is valid.ISymbolicAssociation or null if no ISymbolicAssociation is available with the given IProgramVariable.public ImmutableList<ISymbolicValue> getValues()
getValues in interface ISymbolicAssociationValueContainerpublic void addValue(ISymbolicValue value)
ISymbolicValue.value - The new ISymbolicValue to add.public ISymbolicValue getValue(IProgramVariable programVariable, boolean isArrayIndex, Term arrayIndex, Term condition)
ISymbolicValue with the given IProgramVariable.getValue in interface ISymbolicAssociationValueContainerprogramVariable - The IProgramVariable for which the ISymbolicValue is requested.isArrayIndex - Is array index?arrayIndex - The array index.condition - The optional condition under which this value is valid.ISymbolicValue or null if no ISymbolicValue is available with the given IProgramVariable.