com.ltu.smd116.containers.booking
Class ResourceContainer

com.ltu.smd116.misc.SortableItem
  |
  +--com.ltu.smd116.containers.SortableContainer
        |
        +--com.ltu.smd116.containers.booking.ResourceContainer
Direct Known Subclasses:
BookingResourceContainer

public class ResourceContainer
extends SortableContainer

Contains all info on a Resource

Stereotype container

Field Summary
 private ArticleContainerarticle
           
 private Stringdescription
           
 private InventoryContainerinventory
           
 private Stringname
           
 private SortedVectortypes
          Sorted Vector of resourceTypeContainers

Method Summary
 ArticleContainergetArticle()
           
 StringgetDescription()
           
 InventoryContainergetInventory()
           
 StringgetName()
           
 SortedVectorgetTypes()
           
 voidsetArticle(ArticleContainer article)
           
 voidsetDescription(String description)
           
 voidsetInventory(InventoryContainer inventory)
           
 voidsetName(String name)
           
 voidsetTypes(SortedVector types)
           

Methods inherited from class com.ltu.smd116.containers.SortableContainer
compare, getElement, getId, setId

Field Detail

article

private ArticleContainer article

description

private String description

inventory

private InventoryContainer inventory

name

private String name

types

private SortedVector types
Sorted Vector of resourceTypeContainers
associates <{TypeContainer}>
Method Detail

getArticle

public ArticleContainer getArticle()

getDescription

public String getDescription()

getInventory

public InventoryContainer getInventory()

getName

public String getName()

getTypes

public SortedVector getTypes()

setArticle

public void setArticle(ArticleContainer article)

setDescription

public void setDescription(String description)

setInventory

public void setInventory(InventoryContainer inventory)

setName

public void setName(String name)

setTypes

public void setTypes(SortedVector types)

Association Links

to Class java.lang.String

to Class java.lang.String

to Class com.ltu.smd116.containers.booking.ArticleContainer

to Class com.ltu.smd116.containers.booking.InventoryContainer

to Class com.ltu.smd116.containers.booking.TypeContainer

Sorted Vector of resourceTypeContainers

associates <{TypeContainer}>