org.objectweb.dsrg.sofa.deployment
Class Capability

java.lang.Object
  extended by org.objectweb.dsrg.sofa.deployment.Capability
All Implemented Interfaces:
java.io.Serializable

public class Capability
extends java.lang.Object
implements java.io.Serializable

An environment capabilty.

See Also:
Serialized Form

Constructor Summary
Capability(java.lang.String name, java.lang.String value, CapabilityKind kind, boolean dynamic)
          Constructor.
 
Method Summary
 CapabilityKind getKind()
          Returns capability kind.
 java.lang.String getName()
          Returns name.
 java.lang.String getValue()
          Returns value.
 boolean isDynamic()
          Returns whether the capability can change its value during life of the dock.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Capability

public Capability(java.lang.String name,
                  java.lang.String value,
                  CapabilityKind kind,
                  boolean dynamic)
Constructor.

Parameters:
name - name
value - value
kind - kind
dynamic - dynamic
Method Detail

getName

public java.lang.String getName()
Returns name.

Returns:
name.

getValue

public java.lang.String getValue()
Returns value.

Returns:
value

getKind

public CapabilityKind getKind()
Returns capability kind.

Returns:
capability kind

isDynamic

public boolean isDynamic()
Returns whether the capability can change its value during life of the dock.

Returns:
true if the capability can change its value during life of the dock