public class ConfigIntegerAttributeType extends ConfigAttributeType implements IntegerAttributeType
Implementierung des Interfaces für Integer-Attribut-Typen.
BYTE, INT, LONG, SHORT
Constructor and Description |
---|
ConfigIntegerAttributeType(ConfigurationArea configurationArea,
SystemObjectInformationInterface systemObjectInfo)
Konstruktor für Integer-Attribut-Typen.
|
Modifier and Type | Method and Description |
---|---|
int |
getByteCount()
Bestimmt die Größe von Attributen dieses Typs in Bytes.
|
IntegerValueRange |
getRange()
Bestimmt den für Attribute dieses Attributtyps definierten Zahlenbereich.
|
java.util.List<IntegerValueState> |
getStates()
Bestimmt die mit diesem Attributtyp erlaubten diskreten Zustände eines Attributs.
|
short |
getValueSize()
Bestimmt die Größe von Attributen dieses Typs in Bytes.
|
boolean |
isDefined(Data data)
Die Implementierung dieser Methode prüft ob das übergebene Attribut definiert ist.
|
void |
setToUndefined(Data data)
Die Implementierung dieser Methode setzt ein Attribut auf den sogenannten "undefiniert Wert".
|
getDefaultAttributeValue, loadDefaultAttributeValue
addSet, duplicate, duplicate, getMutableSet, getNonMutableSet, getNotValidSince, getObjectSet, getObjectSets, getValidSince, invalidate, isValid, removeSet, revalidate, simpleRevalidate
createConfigurationData, equals, getConfigurationData, getConfigurationData, getConfigurationData, getConfigurationData, getConfigurationData, getConfigurationDataBytes, getId, getName, getObjectLookupForData, getPid, getType, getUsedAttributeGroupUsages, hashCode, originalHashCode, removeConfigurationData, setConfigurationData, setConfigurationData, setName, simpleInvalidation
compareTo, getConfigurationArea, getConfigurationData, getDataModel, getInfo, getNameOrPidOrId, getPidOrId, getPidOrNameOrId, isOfType, isOfType, setConfigurationData, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDefaultAttributeValue
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
public ConfigIntegerAttributeType(ConfigurationArea configurationArea, SystemObjectInformationInterface systemObjectInfo)
Konstruktor für Integer-Attribut-Typen.
configurationArea
- der Konfigurationsbereich dieses TypssystemObjectInfo
- das korrespondierende Objekt für Dateioperationen dieses Typspublic short getValueSize()
de.bsvrz.dav.daf.main.config.IntegerAttributeType
IntegerAttributeType.getByteCount()
als short
zurück.getValueSize
in interface IntegerAttributeType
public int getByteCount()
de.bsvrz.dav.daf.main.config.IntegerAttributeType
getByteCount
in interface IntegerAttributeType
public IntegerValueRange getRange()
de.bsvrz.dav.daf.main.config.IntegerAttributeType
getRange
in interface IntegerAttributeType
null
, wenn kein Zahlenbereich definiert ist.public java.util.List<IntegerValueState> getStates()
de.bsvrz.dav.daf.main.config.IntegerAttributeType
getStates
in interface IntegerAttributeType
IntegerValueState
.public void setToUndefined(Data data)
de.bsvrz.dav.daf.main.config.UndefinedAttributeValueAccess
setToUndefined
in interface UndefinedAttributeValueAccess
data
- Attribut, dessen Wert auf "undefiniert Wert" gesetzt werden sollpublic boolean isDefined(Data data)
de.bsvrz.dav.daf.main.config.UndefinedAttributeValueAccess
isDefined
in interface UndefinedAttributeValueAccess
data
- Attribut, das geprüft werden sollUndefinedAttributeValueAccess.setToUndefined(de.bsvrz.dav.daf.main.Data)