control
Class OperationProperty

java.lang.Object
  extended by control.OperationProperty

public class OperationProperty
extends java.lang.Object

Class implementing a operation property. This class is used in representing the properties of an operation in the communication with gui and the user. Please see the methods getProperties() and setProperties() in Operation.

Author:
Kjell-Inge Skogstad and Trond Řivind Eriksen

Constructor Summary
OperationProperty(java.lang.String name, java.lang.String value)
          Constructor creating a new property.
 
Method Summary
 java.lang.String getName()
          Method for getting the property name.
 java.lang.String getValue()
          Method for getting the value of the property.
 void setValue(java.lang.String value)
          Method for settng teh value of the property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationProperty

public OperationProperty(java.lang.String name,
                         java.lang.String value)
Constructor creating a new property.

Parameters:
name - Property name
value - Value of the property
Method Detail

getName

public java.lang.String getName()
Method for getting the property name.

Returns:
The name

getValue

public java.lang.String getValue()
Method for getting the value of the property.

Returns:
The value

setValue

public void setValue(java.lang.String value)
Method for settng teh value of the property.

Parameters:
value - The new value