com.bea.wli.config.env
Class QualifiedEnvValue
java.lang.Object
com.bea.wli.config.env.NonQualifiedEnvValue
com.bea.wli.config.env.QualifiedEnvValue
- All Implemented Interfaces:
- About, Serializable
public class QualifiedEnvValue
- extends NonQualifiedEnvValue
- implements Serializable, About
Represents an instance of an environment value embedded in a particular resource data.
This class extends 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.
- See Also:
- Serialized Form
Method Summary |
Ref |
about()
|
Ref |
getOwner()
Returns the reference to the resource that contains this environment value |
QualifiedEnvValue
public QualifiedEnvValue(Ref owner,
NonQualifiedEnvValue envValue)
- Constructor
- Parameters:
owner
- reference to the resource that contains this env valueenvValue
- the environment value
QualifiedEnvValue
public QualifiedEnvValue(Ref owner,
String type,
String location,
Object value)
- Constructor
- Parameters:
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 null
getOwner
public Ref getOwner()
- Returns the reference to the resource that contains this environment value
about
public Ref about()
- Specified by:
about
in interface About
- Returns:
- a reference to the project, folder or resource that is represented by this instance.