public class DafAttributeType extends DafConfigurationObject implements AttributeType
Modifier and Type | Field and Description |
---|---|
protected byte |
_dataValueType
Typkennung des Attributwerts.
|
private String |
_defaultAttributeValue
Default-Attributwert oder
null falls nicht definiert. |
_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_TYPE
Modifier | Constructor and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
String |
getDefaultAttributeValue()
Ermittelt den Default-Attributwert dieses Attributtyps.
|
void |
read(DataInputStream in)
Deserialisiert dieses Objekt über die alte Methode.
|
void |
read(Deserializer deserializer)
Deserialisiert dieses Objekt
|
void |
write(DataOutputStream out)
Serialisiert dieses Objekt.
|
addSet, duplicate, duplicate, getMutableSet, getNonMutableSet, getNotValidSince, getObjectSet, getObjectSets, getValidSince, isValid, parseToString, removeSet, revalidate
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, setState, storeName, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addSet, duplicate, duplicate, getMutableSet, getNonMutableSet, getNotValidSince, getObjectSet, getObjectSets, getValidSince, removeSet, revalidate
getConfigurationArea, getConfigurationData, getConfigurationData, getConfigurationData, getDataModel, getId, getInfo, getName, getNameOrPidOrId, getPid, getPidOrId, getPidOrNameOrId, getType, getUsedAttributeGroupUsages, invalidate, isOfType, isOfType, isValid, setConfigurationData, setConfigurationData, setConfigurationData, setName, toString
compareTo
protected byte _dataValueType
DataValue
private String _defaultAttributeValue
null
falls nicht definiert.protected DafAttributeType(DafDataModel dataModel)
dataModel
- DataModel Implementierung, der das neue Objekt zugeordnet ist.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)
public String getDefaultAttributeValue()
AttributeType
getDefaultAttributeValue
in interface AttributeType
null
falls kein Defaultwert festgelegt wurde.public void write(DataOutputStream out) throws IOException
DafSystemObject
write
in class DafConfigurationObject
out
- Stream auf den das Objekt geschrieben werden soll.IOException
public void read(DataInputStream in) throws IOException
DafSystemObject
read
in class DafConfigurationObject
in
- Stream von dem das Objekt gelesen werden soll.IOException
public void read(Deserializer deserializer) throws IOException
DafSystemObject
read
in class DafConfigurationObject
deserializer
- Deserialisierer als DatenquelleIOException