pl.edu.pjwstk.yaod.objects
Class YInteger
java.lang.Object
|
+--pl.edu.pjwstk.yaod.objects.YObject
|
+--pl.edu.pjwstk.yaod.objects.YSimpleObject
|
+--pl.edu.pjwstk.yaod.objects.YInteger
- Direct Known Subclasses:
- YJavaInteger
- public class YInteger
- extends YSimpleObject
Klasa rozszerzajaca statyczne struktury, jakimi sa atomy typu integer.
- Author:
- M. Lentner, raist@ertel.com.pl
Constructor Summary |
YInteger(SVRP sp,
IntegerAtom atm)
Konstruktor tworzacy nowy obiekt YInteger na podstawie istniejacego
juz w systemie atomu. |
YInteger(SVRP sp,
java.lang.String name,
int value)
Konstruktor tworzacy nowy obiekt YInteger. |
Method Summary |
int |
getValue()
Zwraca wartosc obiektu. |
void |
setValue(int val)
Ustala wartosc obiektu. |
java.lang.String |
stringValue()
Konwertuje wartosc obiektu na string. |
Methods inherited from class pl.edu.pjwstk.yaod.objects.YObject |
connect, disconnect, getAtom, getBackward, getName, getNextSibling, getOID, getOwner, getPreviousSibling, getServer, reconnect, reconnectAfter, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
YInteger
public YInteger(SVRP sp,
java.lang.String name,
int value)
- Konstruktor tworzacy nowy obiekt YInteger.
- Parameters:
sp
- proces uslugowy, zapewniajacy obiektowi komunikacje z systemem.name
- nazwa tworzonego obiektu.value
- wartosc tworzonego obiektu.
YInteger
public YInteger(SVRP sp,
IntegerAtom atm)
- Konstruktor tworzacy nowy obiekt YInteger na podstawie istniejacego
juz w systemie atomu.
- Parameters:
sp
- proces uslugowy, zapewniajacy systemowi komunikacje z systemem.atm
- atom, dla ktorego ma zostac utworzony obiekt YInteger.
getValue
public int getValue()
- Zwraca wartosc obiektu.
- Returns:
- wartosc int obiektu YInteger.
setValue
public void setValue(int val)
- Ustala wartosc obiektu.
- Parameters:
val
- nowa wartosc obiektu.
stringValue
public java.lang.String stringValue()
- Description copied from class:
YSimpleObject
- Konwertuje wartosc obiektu na string.
- Overrides:
stringValue
in class YSimpleObject
- Parameters:
paramName
- comments- Returns:
- comments
- Throws:
XxxxxxException
- if ...