public class ConfigAttribute extends ConfigConfigurationObject implements Attribute
Implementierung eines Attribut-Objekts auf Seiten der Konfiguration.
Constructor and Description |
---|
ConfigAttribute(ConfigurationArea configurationArea,
SystemObjectInformationInterface systemObjectInfo)
Konstruktor für ein KonfigurationsObjekt.
|
Modifier and Type | Method and Description |
---|---|
AttributeType |
getAttributeType()
Bestimmt den Typ dieses Attributs über den ein Zugriff auf die Eigenschaften von konkreten Attributwerten
ermöglicht wird.
|
java.lang.String |
getDefaultAttributeValue()
Ermittelt den Default-Attributwert dieses Attribut.
|
int |
getMaxCount()
Bestimmt, ob die maximale Feldgröße dieses Attributs beschränkt ist.
|
int |
getPosition()
Bestimmt die Position eines Attributs oder einer Attributliste in der übergeordneten Attributmenge
(Attributgruppe bzw.
|
boolean |
isArray()
Bestimmt, ob dieses Attribut ein Feld ist.
|
boolean |
isCountLimited()
Bestimmt, ob die Feldgröße dieses Attributs durch eine Obergrenze beschränkt ist.
|
boolean |
isCountVariable()
Bestimmt, ob die Feldgröße dieses Attributs variieren kann.
|
void |
loadDefaultAttributeValue()
Lädt den Default-Attributwert dieses Attributs aus einem konfigurierenden Datensatz.
|
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
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 ConfigAttribute(ConfigurationArea configurationArea, SystemObjectInformationInterface systemObjectInfo)
Konstruktor für ein KonfigurationsObjekt.
configurationArea
- der Konfigurationsbereich dieses KonfigurationsObjektssystemObjectInfo
- das korrespondierende Objekt für die Dateioperationen dieses KonfigurationsObjektspublic int getPosition()
de.bsvrz.dav.daf.main.config.Attribute
getPosition
in interface Attribute
1
.public boolean isCountLimited()
de.bsvrz.dav.daf.main.config.Attribute
isCountLimited
in interface Attribute
true
, wenn die Anzahl der Werte beschränkt ist;false
, wenn die
Anzahl der Werte nicht beschränkt ist.public boolean isCountVariable()
de.bsvrz.dav.daf.main.config.Attribute
isCountVariable
in interface Attribute
true
, wenn die Anzahl der Werte dieses Attributs mit jedem Datensatz variieren
kann;false
, wenn die Anzahl der Werte fix ist.public int getMaxCount()
de.bsvrz.dav.daf.main.config.Attribute
getMaxCount
in interface Attribute
public boolean isArray()
de.bsvrz.dav.daf.main.config.Attribute
public AttributeType getAttributeType()
de.bsvrz.dav.daf.main.config.Attribute
getAttributeType
in interface Attribute
public java.lang.String getDefaultAttributeValue()
Ermittelt den Default-Attributwert dieses Attribut.
getDefaultAttributeValue
in interface Attribute
null
falls kein Defaultwert festgelegt wurde.public void loadDefaultAttributeValue()
Lädt den Default-Attributwert dieses Attributs aus einem konfigurierenden Datensatz.