pl.edu.pjwstk.yaod.atoms
Class BinaryAtom

java.lang.Object
  |
  +--pl.edu.pjwstk.yaod.atoms.Atom
        |
        +--pl.edu.pjwstk.yaod.atoms.BinaryAtom
All Implemented Interfaces:
Bufferable, java.io.Serializable

public class BinaryAtom
extends Atom

Klasa reprezentujaca atom, ktorego wartoscia sa dane binarne (np. zdjecie).

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
BinaryAtom(java.lang.String name, byte[] val)
          Tworzy nowy atom zawierajacy dane binarne.
 
Method Summary
 byte[] getValue()
          Zwraca wartosc atomu.
 void setValue(byte[] newVal)
          Ustala 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

BinaryAtom

public BinaryAtom(java.lang.String name,
                  byte[] val)
Tworzy nowy atom zawierajacy dane binarne.
Parameters:
name - nazwa atomu.
val - wartosc atomu.
Method Detail

getValue

public byte[] getValue()
Zwraca wartosc atomu.
Returns:
wartosc atomu.

setValue

public void setValue(byte[] newVal)
Ustala wartosc atomu.
Parameters:
newVal - nowa wartosc atomu.