|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.bsvrz.dav.daf.communication.dataRepresentation.datavalue.DataValue
de.bsvrz.dav.daf.communication.dataRepresentation.datavalue.DoubleAttribute
public class DoubleAttribute
Diese Klasse stellt die Attribute und Funktionalitäten des Datentyps double zur Verfügung.
Field Summary | |
---|---|
private double |
_double
Der Doublewert |
Fields inherited from class de.bsvrz.dav.daf.communication.dataRepresentation.datavalue.DataValue |
---|
_type, ARRAY_OFFSET, ATTRIBUTE_LIST_ARRAY_TYPE, ATTRIBUTE_LIST_TYPE, BIT_ARRAY_TYPE, BYTE_ARRAY_TYPE, BYTE_TYPE, DOUBLE_ARRAY_TYPE, DOUBLE_TYPE, FLOAT_ARRAY_TYPE, FLOAT_TYPE, INTEGER_ARRAY_TYPE, INTEGER_TYPE, LONG_ARRAY_TYPE, LONG_TYPE, SHORT_ARRAY_TYPE, SHORT_TYPE, STRING_ARRAY_TYPE, STRING_TYPE |
Constructor Summary | |
---|---|
DoubleAttribute()
Erzeugt ein neues Objekt ohne Parameter. |
|
DoubleAttribute(double _d)
Erzeugt ein neues Objekt mit den gegebenen Parametern. |
Method Summary | |
---|---|
DataValue |
cloneObject()
Diese Methode erzeugt eine Kopie dieses Datensatzes |
boolean |
equals(Object obj)
Diese Methode prüft auf Gleichheit eines Objektes, dass dieser Klasse entstammt. |
Object |
getValue()
gibt den Wert zurück des Objektes |
String |
parseToString()
Gibt ein String zurrück, der diesen Datensatz beschreibt |
void |
read(DataInputStream in)
Lesen eines Datensatzes vom gegebenen DataInputStream |
void |
write(DataOutputStream out)
Schreiben eines Datensatzes in den gegebenen DataOutputStream |
Methods inherited from class de.bsvrz.dav.daf.communication.dataRepresentation.datavalue.DataValue |
---|
getObject, getType |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private double _double
Constructor Detail |
---|
public DoubleAttribute()
public DoubleAttribute(double _d)
_d
- double WertMethod Detail |
---|
public final Object getValue()
DataValue
getValue
in class DataValue
public final DataValue cloneObject()
DataValue
cloneObject
in class DataValue
public final String parseToString()
DataValue
parseToString
in class DataValue
public final void write(DataOutputStream out) throws IOException
DataValue
write
in class DataValue
out
- Ausgabe-Stream
IOException
public final void read(DataInputStream in) throws IOException
DataValue
read
in class DataValue
in
- Eingabe-Stream
IOException
public final boolean equals(Object obj)
null
-Referenzabfrage wird die Instanceof methode aufgerufen, abschließend wird der Inhalt des Objektes geprüft.
equals
in class Object
obj
- Referenzobjekt
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |