pl.edu.pjwstk.yaod.atoms
Class IntegerAtom

java.lang.Object
  |
  +--pl.edu.pjwstk.yaod.atoms.Atom
        |
        +--pl.edu.pjwstk.yaod.atoms.IntegerAtom
All Implemented Interfaces:
Bufferable, java.io.Serializable
Direct Known Subclasses:
JavaIntegerAtom

public class IntegerAtom
extends Atom

Klasa reprezentujaca atom zawierajacy wartosc typu integer.

Author:
M. Lentner, raist@ertel.com.pl
See Also:
Serialized Form

Fields inherited from class pl.edu.pjwstk.yaod.atoms.Atom
ALL_TYPES
 
Constructor Summary
IntegerAtom(java.lang.String name, int val)
          Tworzy nowy atom.
 
Method Summary
 int getValue()
          Zwraca wartosc atomu.
 void setValue(int newVal)
          Istala nowa wartosc atomu.
 
Methods inherited from class pl.edu.pjwstk.yaod.atoms.Atom
getAID, getName, getNext, getOwner, getPrevious, getType, isModified, setAID, setModified, setName, setNext, setOwner, setPrevious
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerAtom

public IntegerAtom(java.lang.String name,
                   int val)
Tworzy nowy atom.
Parameters:
name - nazwa atomu.
val - wartosc atomu.
Method Detail

getValue

public int getValue()
Zwraca wartosc atomu.
Returns:
wartosc atomu.

setValue

public void setValue(int newVal)
Istala nowa wartosc atomu.
Parameters:
newVal - nowa wartosc atomu.