public class QualifiedEnvValue extends NonQualifiedEnvValue implements Serializable, About
NonQualifiedEnvValue
and augments it by adding the reference to the resource where the environment value exists. This class fully qualifies an environment value along with the owner resource that contains it, its location within the resource, its type, and finally its value.Constructor and Description |
---|
QualifiedEnvValue(Ref owner, NonQualifiedEnvValue envValue)
Constructor
|
QualifiedEnvValue(Ref owner, String type, String location, Object value)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Ref |
about() |
boolean |
equals(Object obj) |
Ref |
getOwner()
Returns the reference to the resource that contains this environment value
|
int |
hashCode() |
getEnvValueType, getLocation, getValue, isSameEnvVariable, toString
public QualifiedEnvValue(Ref owner, NonQualifiedEnvValue envValue)
owner
- reference to the resource that contains this env valueenvValue
- the environment valuepublic QualifiedEnvValue(Ref owner, String type, String location, Object value)
owner
- reference to the resource that contains this env valuetype
- the type of the environment value. ENv value types are used as simple, and informal grouping constructs to refer to a class of env values. Cannot be null.location
- an opaque representation of the location of this env value inside the resource. The form and semantics of this location is specified and understood by the creator of this env value. Cannot be nullvalue
- The actual value. Can be nullpublic Ref getOwner()
public Ref about()
public int hashCode()
hashCode
in class NonQualifiedEnvValue
public boolean equals(Object obj)
equals
in class NonQualifiedEnvValue