de.bsvrz.dav.daf.main.impl.config
Class DafAttributeType
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
- All Implemented Interfaces:
- AttributeType, ConfigurationObject, SystemObject, Comparable
- Direct Known Subclasses:
- DafAttributeListDefinition, DafDoubleAttributeType, DafIntegerAttributeType, DafReferenceAttributeType, DafStringAttributeType, DafTimeAttributeType
public class DafAttributeType
- extends DafConfigurationObject
- implements AttributeType
Klasse, die den Zugriff auf Attributtypen seitens der Datenverteiler-Applikationsfunktionen ermöglicht.
- Author:
- Kappich Systemberatung
Field Summary |
protected byte |
_dataValueType
Typkennung des Attributwerts. |
Fields inherited from class de.bsvrz.dav.daf.main.impl.config.DafSystemObject |
_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_TYPE |
Constructor Summary |
protected |
DafAttributeType(DafDataModel dataModel)
Erzeugt ein neues Objekt dessen Eigenschaften im Anschluss mit der read-Methode eingelesen werden sollten. |
protected |
DafAttributeType(long id,
String pid,
String name,
long typId,
byte state,
String error,
DafDataModel dataModel,
short validFromVersionNumber,
short validToVersionNumber,
long responsibleObjectId,
long[] setIds,
String defaultAttributeValue)
Erzeugt ein neues Objekt mit den angegebenen Eigenschaften |
Methods inherited from class de.bsvrz.dav.daf.main.impl.config.DafConfigurationObject |
addSet, duplicate, duplicate, getMutableSet, getNonMutableSet, getNotValidSince, getObjectSet, getObjectSets, getValidSince, isValid, parseToString, removeSet, revalidate |
Methods 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, toString |
Methods inherited from interface de.bsvrz.dav.daf.main.config.ConfigurationObject |
addSet, duplicate, duplicate, getMutableSet, getNonMutableSet, getNotValidSince, getObjectSet, getObjectSets, getValidSince, removeSet, revalidate |
Methods 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 |
_dataValueType
protected byte _dataValueType
- Typkennung des Attributwerts.
- See Also:
DataValue
DafAttributeType
protected DafAttributeType(DafDataModel dataModel)
- 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.
DafAttributeType
protected DafAttributeType(long id,
String pid,
String name,
long typId,
byte state,
String error,
DafDataModel dataModel,
short validFromVersionNumber,
short validToVersionNumber,
long responsibleObjectId,
long[] setIds,
String defaultAttributeValue)
- Erzeugt ein neues Objekt mit den angegebenen Eigenschaften
getDefaultAttributeValue
public String getDefaultAttributeValue()
- Description copied from interface:
AttributeType
- Ermittelt den Default-Attributwert dieses Attributtyps.
- Specified by:
getDefaultAttributeValue
in interface AttributeType
- Returns:
- Default-Attributwert dieses Attributtyps oder
null
falls kein Defaultwert festgelegt wurde.
write
public void write(DataOutputStream out)
throws IOException
- Description copied from class:
DafSystemObject
- Serialisiert dieses Objekt.
- Overrides:
write
in class DafConfigurationObject
- Parameters:
out
- Stream auf den das Objekt geschrieben werden soll.
- Throws:
IOException
read
public void read(DataInputStream in)
throws IOException
- Description copied from class:
DafSystemObject
- Deserialisiert dieses Objekt.
- Overrides:
read
in class DafConfigurationObject
- Parameters:
in
- Stream von dem das Objekt gelesen werden soll.
- Throws:
IOException