fr.cnes.sitools.dataset.services.model
Class ServiceModel

java.lang.Object
  extended by fr.cnes.sitools.dataset.services.model.ServiceModel

public class ServiceModel
extends java.lang.Object

Model class to represent a Service on a dataset. It can be either a GUI service or a Server service. This model class contains the common fields between a GuiServicePluginModel and a ResourceModel

Author:
m.gond

Constructor Summary
ServiceModel()
           
 
Method Summary
 java.lang.String getCategory()
          Gets the category value
 DataSetSelectionType getDataSetSelection()
          Gets the dataSetSelection value
 java.lang.String getDescription()
          Gets the description value
 java.lang.String getIcon()
          Gets the icon value
 java.lang.String getId()
          Gets the id value
 java.lang.String getLabel()
          Gets the label value
 java.lang.String getName()
          Gets the name value
 java.lang.String getPosition()
          Gets the position value
 ServiceEnum getType()
          Gets the type value
 boolean isVisible()
          Gets the visible value
 void setCategory(java.lang.String category)
          Sets the value of category
 void setDataSetSelection(DataSetSelectionType dataSetSelection)
          Sets the value of dataSetSelection
 void setDescription(java.lang.String description)
          Sets the value of description
 void setIcon(java.lang.String icon)
          Sets the value of icon
 void setId(java.lang.String id)
          Sets the value of id
 void setLabel(java.lang.String label)
          Sets the value of label
 void setName(java.lang.String name)
          Sets the value of name
 void setPosition(java.lang.String position)
          Sets the value of position
 void setType(ServiceEnum type)
          Sets the value of type
 void setVisible(boolean visible)
          Sets the value of visible
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceModel

public ServiceModel()
Method Detail

getId

public java.lang.String getId()
Gets the id value

Returns:
the id

setId

public void setId(java.lang.String id)
Sets the value of id

Parameters:
id - the id to set

getType

public ServiceEnum getType()
Gets the type value

Returns:
the type

setType

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

Parameters:
type - the type to set

getDescription

public java.lang.String getDescription()
Gets the description value

Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Sets the value of description

Parameters:
description - the description to set

getCategory

public java.lang.String getCategory()
Gets the category value

Returns:
the category

setCategory

public void setCategory(java.lang.String category)
Sets the value of category

Parameters:
category - the category to set

getIcon

public java.lang.String getIcon()
Gets the icon value

Returns:
the icon

setIcon

public void setIcon(java.lang.String icon)
Sets the value of icon

Parameters:
icon - the icon to set

getLabel

public java.lang.String getLabel()
Gets the label value

Returns:
the label

setLabel

public void setLabel(java.lang.String label)
Sets the value of label

Parameters:
label - the label to set

getName

public java.lang.String getName()
Gets the name value

Returns:
the name

setName

public void setName(java.lang.String name)
Sets the value of name

Parameters:
name - the name to set

isVisible

public boolean isVisible()
Gets the visible value

Returns:
the visible

setVisible

public void setVisible(boolean visible)
Sets the value of visible

Parameters:
visible - the visible to set

getPosition

public java.lang.String getPosition()
Gets the position value

Returns:
the position

setPosition

public void setPosition(java.lang.String position)
Sets the value of position

Parameters:
position - the position to set

getDataSetSelection

public DataSetSelectionType getDataSetSelection()
Gets the dataSetSelection value

Returns:
the dataSetSelection

setDataSetSelection

public void setDataSetSelection(DataSetSelectionType dataSetSelection)
Sets the value of dataSetSelection

Parameters:
dataSetSelection - the dataSetSelection to set


Copyright © 2010-2013 CNES. All Rights Reserved.