Graph Common

pl.psnc.graph.model.value
Class GraphCellObject

java.lang.Object
  extended by pl.psnc.graph.model.value.GraphCellObject
All Implemented Interfaces:
java.io.Serializable

public class GraphCellObject
extends java.lang.Object
implements java.io.Serializable

GraphCellObject class - stores properties of each graph node

Author:
Dominik Stoklosa (~osa~)
See Also:
Serialized Form
Email address
osa@man.poznan.pl

Constructor Summary
GraphCellObject(AbstractResourceType type, AbstractResourceValue resourceValue)
          Creates a new instance of Graph Cell Object
 
Method Summary
 AbstractResourceValue getResource()
          Get value of the property: resource
 AbstractResourceType getType()
          Get value of the property: type
 void setResource(AbstractResourceValue resource)
          Set value of the property: resource
 void setType(AbstractResourceType type)
          Set value of the property: type
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GraphCellObject

public GraphCellObject(AbstractResourceType type,
                       AbstractResourceValue resourceValue)
Creates a new instance of Graph Cell Object

Parameters:
type - resource type
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getType

public AbstractResourceType getType()
Get value of the property: type

Returns:
the type

setType

public void setType(AbstractResourceType type)
Set value of the property: type

Parameters:
type - the type to set

getResource

public AbstractResourceValue getResource()
Get value of the property: resource

Returns:
the resource

setResource

public void setResource(AbstractResourceValue resource)
Set value of the property: resource

Parameters:
resource - the resource to set

Graph Common

Copyright 2008 by VLAB Dominik Stoklosa