Graph Common

pl.psnc.graph.model.type
Class AbstractResourceType

java.lang.Object
  extended by pl.psnc.graph.model.type.AbstractResourceType
All Implemented Interfaces:
IResourceTypeDecorator, IResourceTypeInfo

public abstract class AbstractResourceType
extends java.lang.Object
implements IResourceTypeInfo, IResourceTypeDecorator

AbstractResourceType class - abstract, top level hierarchy class for the resource types.

Author:
Dominik Stoklosa (~osa~)
Email address
osa@man.poznan.pl

Constructor Summary
AbstractResourceType()
           
 
Method Summary
 java.lang.String getClassName()
          Get value of field: className
 java.lang.String getDescription()
          Get value of field: description
 int getId()
          Get value of field: id
 java.lang.String getName()
          Get value of field: name
 void setClassName(java.lang.String className)
          Set value of field: className
 void setDescription(java.lang.String description)
          Set value of field: description
 void setId(int id)
          Set value of field: id
 void setName(java.lang.String name)
          Set value of field: name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface pl.psnc.graph.model.type.IResourceTypeDecorator
getIcon, getImage
 

Constructor Detail

AbstractResourceType

public AbstractResourceType()
Method Detail

getId

public int getId()
Get value of field: id

Specified by:
getId in interface IResourceTypeInfo
Returns:
the id

setId

public void setId(int id)
Set value of field: id

Parameters:
id - the id to set

getClassName

public java.lang.String getClassName()
Get value of field: className

Specified by:
getClassName in interface IResourceTypeInfo
Returns:
the className

setClassName

public void setClassName(java.lang.String className)
Set value of field: className

Parameters:
className - the className to set

getName

public java.lang.String getName()
Get value of field: name

Specified by:
getName in interface IResourceTypeInfo
Returns:
the name

setName

public void setName(java.lang.String name)
Set value of field: name

Parameters:
name - the name to set

getDescription

public java.lang.String getDescription()
Get value of field: description

Specified by:
getDescription in interface IResourceTypeInfo
Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Set value of field: description

Parameters:
description - the description to set

Graph Common

Copyright 2008 by VLAB Dominik Stoklosa