public class LiteralQualification extends Qualification
Qualification
that specifies a literal value, such as an Integer
, Boolean
, or String
literal, that identifies an element of a Source
for an Assignment
of a Model
.Constructor and Description |
---|
LiteralQualification(Source qualifiedSource, java.lang.Object literal)
Creates a
LiteralQualification object that qualifies a Source by specifying a single element of that Source . |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getLiteral()
Gets the literal value of this
LiteralQualification . |
getQualifiedSource
public LiteralQualification(Source qualifiedSource, java.lang.Object literal)
LiteralQualification
object that qualifies a Source
by specifying a single element of that Source
. The Source
must be an input of the Model
associated with the Assignment
with which the LiteralQualification
is associated.qualifiedSource
- A Source
that has the element for which you want to assign a value.literal
- The literal value of the qualifiedSource
element for which you want to assign a value.