Class DafDoubleAttributeType
java.lang.Object
de.bsvrz.dav.daf.main.impl.config.DafSystemObject
de.bsvrz.dav.daf.main.impl.config.DafConfigurationObject
de.bsvrz.dav.daf.main.impl.config.DafAttributeType
de.bsvrz.dav.daf.main.impl.config.DafDoubleAttributeType
- All Implemented Interfaces:
AttributeType,ConfigurationObject,DoubleAttributeType,SystemObject,java.lang.Comparable
public class DafDoubleAttributeType extends DafAttributeType implements DoubleAttributeType
Klasse, die den Zugriff auf Fließkomma-Attributtypen seitens der Datenverteiler-Applikationsfunktionen ermöglicht.
-
Field Summary
Fields inherited from class de.bsvrz.dav.daf.main.impl.config.DafAttributeType
_dataValueTypeFields inherited from class de.bsvrz.dav.daf.main.impl.config.DafSystemObject
_configurationAreaId, _dataModel, _internType, ASPECT, ATTRIBUTE, ATTRIBUTE_GROUP, ATTRIBUTE_GROUP_USAGE, ATTRIBUTE_LIST_TYPE, CLIENT_APPLICATION, CONFIGURATION_APPLICATION, CONFIGURATION_AREA, CONFIGURATION_AUTHORITY, CONFIGURATION_OBJECT, CONFIGURATION_OBJECT_TYPE, DAV_APPLICATION, DYNAMIC_OBJECT, DYNAMIC_OBJECT_TYPE, FLOATING_POINT_NUMBER_ATTRIBUTE_TYPE, INTEGER_ATTRIBUTE_TYPE, INTEGER_VALUE_RANGE, INTEGER_VALUE_STATE, MUTABLE_SET, NON_MUTABLE_SET, NULL_OBJECT, OBJECT_DELETED, OBJECT_EXISTS, OBJECT_INVALID, OBJECT_SET_TYPE, OBJECT_SET_USE, REFERENCE_ATTRIBUTE_TYPE, STRING_ATTRIBUTE_TYPE, SYSTEM_OBJECT_TYPE, TIME_ATTRIBUTE_TYPEFields inherited from interface de.bsvrz.dav.daf.main.config.DoubleAttributeType
DOUBLE, FLOAT -
Constructor Summary
Constructors Constructor Description DafDoubleAttributeType(long id, java.lang.String pid, java.lang.String name, long typId, byte state, java.lang.String error, DafDataModel dataModel, short validFromVersionNumber, short validToVersionNumber, long responsibleObjectId, long[] setIds, int mode, java.lang.String unit, java.lang.String defaultAttributeValue)Erzeugt ein neues Objekt mit den angegebenen EigenschaftenDafDoubleAttributeType(DafDataModel dataModel)Erzeugt ein neues Objekt dessen Eigenschaften im Anschluss mit der read-Methode eingelesen werden sollten. -
Method Summary
Modifier and Type Method Description bytegetAccuracy()Bestimmt die Genauigkeit von Attributen dieses Typs.java.lang.StringgetUnit()Bestimmt die Maßeinheit von Werten dieses Attributtyps.java.lang.StringparseToString()Liefert eine textuelle Beschreibung dieses Objekts für Debug-Zwecke zurück.voidread(Deserializer deserializer)Deserialisiert dieses Objektvoidread(java.io.DataInputStream in)Deserialisiert dieses Objekt über die alte Methode.voidwrite(java.io.DataOutputStream out)Serialisiert dieses Objekt.Methods inherited from class de.bsvrz.dav.daf.main.impl.config.DafAttributeType
getDefaultAttributeValueMethods inherited from class de.bsvrz.dav.daf.main.impl.config.DafConfigurationObject
addSet, duplicate, duplicate, getMutableSet, getNonMutableSet, getNotValidSince, getObjectSet, getObjectSets, getValidSince, isValid, removeSet, revalidateMethods inherited from class de.bsvrz.dav.daf.main.impl.config.DafSystemObject
compareTo, equals, getConfigurationArea, getConfigurationAreaId, getConfigurationData, getConfigurationData, getConfigurationData, getDataModel, getId, getInfo, getInternType, getName, getNameOrPidOrId, getObject, getPid, getPidOrId, getPidOrNameOrId, getState, getType, getUsedAttributeGroupUsages, hashCode, invalidate, isOfType, isOfType, setConfigurationData, setConfigurationData, setConfigurationData, setName, storeName, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface de.bsvrz.dav.daf.main.config.AttributeType
getDefaultAttributeValueMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface de.bsvrz.dav.daf.main.config.ConfigurationObject
addSet, duplicate, duplicate, getMutableSet, getNonMutableSet, getNotValidSince, getObjectSet, getObjectSets, getValidSince, removeSet, revalidateMethods inherited from interface de.bsvrz.dav.daf.main.config.SystemObject
getConfigurationArea, getConfigurationData, getConfigurationData, getConfigurationData, getDataModel, getId, getInfo, getName, getNameOrPidOrId, getPid, getPidOrId, getPidOrNameOrId, getType, getUsedAttributeGroupUsages, invalidate, isOfType, isOfType, isValid, setConfigurationData, setConfigurationData, setConfigurationData, setName, toString
-
Constructor Details
-
DafDoubleAttributeType
Erzeugt ein neues Objekt dessen Eigenschaften im Anschluss mit der read-Methode eingelesen werden sollten.- Parameters:
dataModel- DataModel Implementierung, der das neue Objekt zugeordnet ist.
-
DafDoubleAttributeType
public DafDoubleAttributeType(long id, java.lang.String pid, java.lang.String name, long typId, byte state, java.lang.String error, DafDataModel dataModel, short validFromVersionNumber, short validToVersionNumber, long responsibleObjectId, long[] setIds, int mode, java.lang.String unit, java.lang.String defaultAttributeValue)Erzeugt ein neues Objekt mit den angegebenen Eigenschaften
-
-
Method Details
-
getUnit
public final java.lang.String getUnit()Description copied from interface:DoubleAttributeTypeBestimmt die Maßeinheit von Werten dieses Attributtyps.- Specified by:
getUnitin interfaceDoubleAttributeType- Returns:
- Maßeinheit dieses Attributtyps.
-
getAccuracy
public final byte getAccuracy()Description copied from interface:DoubleAttributeTypeBestimmt die Genauigkeit von Attributen dieses Typs.- Specified by:
getAccuracyin interfaceDoubleAttributeType- Returns:
DoubleAttributeType.FLOAToderDoubleAttributeType.DOUBLE.
-
parseToString
public final java.lang.String parseToString()Description copied from class:DafSystemObjectLiefert eine textuelle Beschreibung dieses Objekts für Debug-Zwecke zurück.- Overrides:
parseToStringin classDafConfigurationObject- Returns:
- Beschreibender Text dieses Objekts.
-
write
public final void write(java.io.DataOutputStream out) throws java.io.IOExceptionDescription copied from class:DafSystemObjectSerialisiert dieses Objekt.- Overrides:
writein classDafAttributeType- Parameters:
out- Stream auf den das Objekt geschrieben werden soll.- Throws:
java.io.IOException- wenn beim Schreiben auf den Ausgabe-Stream Fehler aufgetreten sind.
-
read
public final void read(java.io.DataInputStream in) throws java.io.IOExceptionDescription copied from class:DafSystemObjectDeserialisiert dieses Objekt über die alte Methode.- Overrides:
readin classDafAttributeType- Parameters:
in- Stream von dem das Objekt gelesen werden soll.- Throws:
java.io.IOException- wenn beim Lesen vom Eingabe-Stream Fehler aufgetreten sind.
-
read
Description copied from class:DafSystemObjectDeserialisiert dieses Objekt- Overrides:
readin classDafAttributeType- Parameters:
deserializer- Deserialisierer als Datenquelle- Throws:
java.io.IOException
-