com.bea.wli.config.env
Class QualifiedEnvValue

java.lang.Object
  extended by com.bea.wli.config.env.NonQualifiedEnvValue
      extended by 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

Constructor Summary
QualifiedEnvValue(Ref owner, NonQualifiedEnvValue envValue)
          Constructor
QualifiedEnvValue(Ref owner, String type, String location, Object value)
          Constructor
 
Method Summary
 Ref about()
           
 Ref getOwner()
          Returns the reference to the resource that contains this environment value
 
Methods inherited from class com.bea.wli.config.env.NonQualifiedEnvValue
equals, getEnvValueType, getLocation, getValue, hashCode, isSameEnvVariable
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QualifiedEnvValue

public QualifiedEnvValue(Ref owner,
                         NonQualifiedEnvValue envValue)
Constructor

Parameters:
owner - reference to the resource that contains this env value
envValue - 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 value
type - 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 null
value - The actual value. Can be null
Method Detail

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.