fr.cnes.sitools.plugins.resources.model
Class ResourceParameter

java.lang.Object
  extended by fr.cnes.sitools.common.model.ExtensionParameter
      extended by fr.cnes.sitools.plugins.resources.model.ResourceParameter

public final class ResourceParameter
extends ExtensionParameter

Class for parameters of resources

Author:
m.marseille (AKKA Technologies)

Constructor Summary
ResourceParameter()
          Constructor
ResourceParameter(ResourceParameter clone)
          Constructor by copy
ResourceParameter(java.lang.String name, java.lang.String description, ResourceParameterType type)
          Constructor
 
Method Summary
 int getSequence()
          Gets the sequence value
 ResourceParameterType getType()
          Gets the type value
 java.lang.Boolean getUserUpdatable()
          Gets the userUpdatable value
 java.lang.Object getValueObject()
          Gets the object value
 void setSequence(int sequence)
          Sets the value of sequence
 void setType(ResourceParameterType type)
          Sets the value of type
 void setUserUpdatable(java.lang.Boolean userUpdatable)
          Sets the value of userUpdatable
 void setValueObject(java.lang.Object valueObject)
          Sets the object
 
Methods inherited from class fr.cnes.sitools.common.model.ExtensionParameter
getDescription, getName, getValue, getValueType, setDescription, setName, setValue, setValueType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceParameter

public ResourceParameter()
Constructor


ResourceParameter

public ResourceParameter(ResourceParameter clone)
Constructor by copy

Parameters:
clone - ResourceParameter

ResourceParameter

public ResourceParameter(java.lang.String name,
                         java.lang.String description,
                         ResourceParameterType type)
Constructor

Parameters:
name - the name of the parameter
description - the description of the parameter
type - the type of the parameter
Method Detail

setType

public void setType(ResourceParameterType type)
Sets the value of type

Parameters:
type - the type to set

getType

public ResourceParameterType getType()
Gets the type value

Returns:
the type

getValueObject

public java.lang.Object getValueObject()
Gets the object value

Returns:
the object

setValueObject

public void setValueObject(java.lang.Object valueObject)
Sets the object

Parameters:
valueObject - the object to set

getUserUpdatable

public java.lang.Boolean getUserUpdatable()
Gets the userUpdatable value

Returns:
the userUpdatable

setUserUpdatable

public void setUserUpdatable(java.lang.Boolean userUpdatable)
Sets the value of userUpdatable

Parameters:
userUpdatable - the userUpdatable to set

getSequence

public int getSequence()
Gets the sequence value

Returns:
the sequence

setSequence

public void setSequence(int sequence)
Sets the value of sequence

Parameters:
sequence - the sequence to set


Copyright © 2010-2013 CNES. All Rights Reserved.