com.bea.wli.config.env
Class NonQualifiedEnvValue

java.lang.Object
  extended by com.bea.wli.config.env.NonQualifiedEnvValue
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
QualifiedEnvValue

public class NonQualifiedEnvValue
extends Object
implements Serializable

Represents an instance of an environment value embedded in a particular resource data.

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Constructor Summary
NonQualifiedEnvValue(NonQualifiedEnvValue other)
          Constructor
NonQualifiedEnvValue(String envValueType, String location, Object value)
          Constructor.
 
Method Summary
 boolean equals(Object o)
           
 String getEnvValueType()
          Returns the type of this env value
 String getLocation()
          Returns the location for this env value.
 Object getValue()
          Returns the value
 int hashCode()
           
 boolean isSameEnvVariable(NonQualifiedEnvValue other)
          Returns true iff this env value and the other env value are the same type, and same location
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

NonQualifiedEnvValue

public NonQualifiedEnvValue(String envValueType,
                            String location,
                            Object value)
Constructor.

Parameters:
envValueType - 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. Must be serializable. Can be null

NonQualifiedEnvValue

public NonQualifiedEnvValue(NonQualifiedEnvValue other)
Constructor

Parameters:
other -
Method Detail

getLocation

public String getLocation()
Returns the location for this env value. This value can be null.


getValue

public Object getValue()
Returns the value


getEnvValueType

public String getEnvValueType()
Returns the type of this env value


isSameEnvVariable

public boolean isSameEnvVariable(NonQualifiedEnvValue other)
Returns true iff this env value and the other env value are the same type, and same location

Parameters:
other -

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object