org.eclipse.gmt.modisco.infra.discoverymanager.ui.launch.data
Class DiscoveryParameterDisplayImpl

java.lang.Object
  extended by org.eclipse.gmt.modisco.infra.discoverymanager.ui.launch.data.DiscoveryParameterDisplayImpl
All Implemented Interfaces:
DiscoveryParameter, DiscoveryParameterDisplay

Deprecated. use org.eclipse.modisco.infra.discovery.core framework

@Deprecated
public class DiscoveryParameterDisplayImpl
extends java.lang.Object
implements DiscoveryParameterDisplay

Author:
GBarbier

Constructor Summary
DiscoveryParameterDisplayImpl(DiscoveryParameter realParameterInput, DiscovererUpdate updater)
          Deprecated.  
 
Method Summary
 java.lang.String getDescription()
          Deprecated.  
 java.lang.String getName()
          Deprecated.  
 DiscoveryParameterDirectionKind getParameterDirectionKind()
          Deprecated.  
 java.lang.Class<?> getType()
          Deprecated.  
 java.lang.Object getValue()
          Deprecated. To associate a value with a discoverer parameter in the context of launch configuration, we have a technical limitation due to serialization of parameters.
 boolean isMultivalued()
          Deprecated.  
 boolean isRequired()
          Deprecated.  
 void setValue(java.lang.Object value)
          Deprecated. To initialize the value of the discoverer parameter.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscoveryParameterDisplayImpl

public DiscoveryParameterDisplayImpl(DiscoveryParameter realParameterInput,
                                     DiscovererUpdate updater)
Deprecated. 
Method Detail

getValue

public java.lang.Object getValue()
Deprecated. 
Description copied from interface: DiscoveryParameterDisplay
To associate a value with a discoverer parameter in the context of launch configuration, we have a technical limitation due to serialization of parameters. The value have to be an instance of int, boolean, String, List or Map. For other types, each discoverer will have to provide a serialization method to obtain a String which represent the value, and a dezerialization method to obtain a value from a String. Null indicates there is no value (it is not possible to use null as a valid value)

Specified by:
getValue in interface DiscoveryParameterDisplay
Returns:
the value

setValue

public void setValue(java.lang.Object value)
Deprecated. 
Description copied from interface: DiscoveryParameterDisplay
To initialize the value of the discoverer parameter.

Specified by:
setValue in interface DiscoveryParameterDisplay
Parameters:
value - the value to set

getDescription

public java.lang.String getDescription()
Deprecated. 
Specified by:
getDescription in interface DiscoveryParameter
Returns:
the description of the discoverer parameter

getName

public java.lang.String getName()
Deprecated. 
Specified by:
getName in interface DiscoveryParameter
Returns:
the name of the discoverer parameter

getParameterDirectionKind

public DiscoveryParameterDirectionKind getParameterDirectionKind()
Deprecated. 
Specified by:
getParameterDirectionKind in interface DiscoveryParameter
Returns:
the direction (in, out, inout) of the discoverer parameter

getType

public java.lang.Class<?> getType()
Deprecated. 
Specified by:
getType in interface DiscoveryParameter
Returns:
the type (class) of values for the discoverer parameter

isRequired

public boolean isRequired()
Deprecated. 
Specified by:
isRequired in interface DiscoveryParameter
Returns:
true if a value for this discoverer parameter is mandatory to use the discoverer.

isMultivalued

public boolean isMultivalued()
Deprecated. 
Specified by:
isMultivalued in interface DiscoveryParameter
Returns:
true if the parameter is a collection or an array of indicated type.