fr.cnes.sitools.project.graph.model
Class AbstractGraphNode

java.lang.Object
  extended by fr.cnes.sitools.project.graph.model.AbstractGraphNode
Direct Known Subclasses:
GraphNode, GraphNodeDataset

public class AbstractGraphNode
extends java.lang.Object

DTO definition of a Graph node.

Author:
m.gond (AKKA Technologies)

Field Summary
static java.lang.String NODE_TYPE_DATASET
          node types constants dataset
static java.lang.String NODE_TYPE_NODE
          node types constants node
 
Constructor Summary
AbstractGraphNode()
           
 
Method Summary
 java.lang.String getDescription()
          Gets the description value
 java.lang.String getText()
          Gets the text value
 java.lang.String getType()
          Gets the type value
 boolean isLeaf()
          Gets the leaf value
 void setDescription(java.lang.String description)
          Sets the value of description
 void setLeaf(boolean leaf)
          Sets the value of leaf
 void setText(java.lang.String text)
          Sets the value of text
 void setType(java.lang.String type)
          Sets the value of type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NODE_TYPE_NODE

public static final java.lang.String NODE_TYPE_NODE
node types constants node

See Also:
Constant Field Values

NODE_TYPE_DATASET

public static final java.lang.String NODE_TYPE_DATASET
node types constants dataset

See Also:
Constant Field Values
Constructor Detail

AbstractGraphNode

public AbstractGraphNode()
Method Detail

getText

public final java.lang.String getText()
Gets the text value

Returns:
the text

setText

public void setText(java.lang.String text)
Sets the value of text

Parameters:
text - the text to set

isLeaf

public boolean isLeaf()
Gets the leaf value

Returns:
the leaf

setLeaf

public void setLeaf(boolean leaf)
Sets the value of leaf

Parameters:
leaf - the leaf to set

getType

public java.lang.String getType()
Gets the type value

Returns:
the type

setType

public void setType(java.lang.String type)
Sets the value of type

Parameters:
type - the type to set

setDescription

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

Parameters:
description - the description to set

getDescription

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

Returns:
the description


Copyright © 2010-2013 CNES. All Rights Reserved.