Class PlainAttributeProperties
java.lang.Object
de.bsvrz.puk.config.xmlFile.properties.PlainAttributeProperties
- All Implemented Interfaces:
AttributeProperties
Kapselt die Eigenschaften eines Attributs in Versorgungsdateien entsprechend K2S.DTD.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPlainAttributeProperties(String attributeTypePid) Erzeugt ein neues Objekt für ein Attribut eines vorgegebenen Attributtyps. -
Method Summary
Modifier and TypeMethodDescriptionLiefert den Attributtyps dieses Attributs.Bestimmt den Defaultwert dieses Attributs.de.bsvrz.dav.daf.main.config.SystemObjectInfogetInfo()Bestimmt die Info mit Kurzinfo und Beschreibung dieses Attributs.intBestimmt die maximale Anzahl von Arrayelementen.getName()Bestimmt den Namen des AttributsBestimmt, ob die Anzahl Arrayelemente variabel oder fest ist.voidsetDefault(String aDefault) Setzt den Defaultwert dieses Attributs.voidsetInfo(de.bsvrz.dav.daf.main.config.SystemObjectInfo info) Setzt die Info mit Kurzinfo und Beschreibung dieses Attributs.voidsetMaxCount(int maxCount) Setzt die maximale Anzahl von Arrayelementen.voidsetMaxCount(String maxCount) Setzt die maximale Anzahl von Arrayelementen.voidSetzt den Namen des Attributs.voidsetTargetValue(TargetValue targetValue) Legt fest, ob die Anzahl Arrayelemente variabel oder fest ist.voidsetTargetValue(String targetValue) Legt fest, ob die Anzahl Arrayelemente variabel oder fest ist.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.bsvrz.puk.config.xmlFile.properties.AttributeProperties
getAttributeTypePid, getInfo, getMaxCount, getName, getTargetValue, setInfo, setMaxCount, setMaxCount, setName, setTargetValue, setTargetValue
-
Field Details
-
_attributeTypePid
-
-
Constructor Details
-
PlainAttributeProperties
Erzeugt ein neues Objekt für ein Attribut eines vorgegebenen Attributtyps.- Parameters:
attributeTypePid- Attributtyp des Attributs
-
-
Method Details
-
getDefault
Bestimmt den Defaultwert dieses Attributs.- Returns:
- Defaultwert dieses Attributs oder
nullfalls der Wert nicht gesetzt wurde
-
setDefault
Setzt den Defaultwert dieses Attributs.- Parameters:
aDefault- Defaultwert dieses Attributs
-
getAttributeTypePid
Description copied from interface:AttributePropertiesLiefert den Attributtyps dieses Attributs.- Specified by:
getAttributeTypePidin interfaceAttributeProperties- Returns:
- Attributtyps dieses Attributs
-
getMaxCount
public int getMaxCount()Description copied from interface:AttributePropertiesBestimmt die maximale Anzahl von Arrayelementen.- Specified by:
getMaxCountin interfaceAttributeProperties- Returns:
- maximale Anzahl von Arrayelementen oder -1 falls der Wert nicht gesetzt wurde.
-
setMaxCount
Description copied from interface:AttributePropertiesSetzt die maximale Anzahl von Arrayelementen.- Specified by:
setMaxCountin interfaceAttributeProperties- Parameters:
maxCount- Maximale Anzahl von Arrayelementen.
-
setMaxCount
public void setMaxCount(int maxCount) Description copied from interface:AttributePropertiesSetzt die maximale Anzahl von Arrayelementen.- Specified by:
setMaxCountin interfaceAttributeProperties- Parameters:
maxCount- Maximale Anzahl von Arrayelementen.
-
getTargetValue
Description copied from interface:AttributePropertiesBestimmt, ob die Anzahl Arrayelemente variabel oder fest ist.- Specified by:
getTargetValuein interfaceAttributeProperties- Returns:
- TargetValue.FIX oder TargetValue.VARIABLE
-
setTargetValue
Description copied from interface:AttributePropertiesLegt fest, ob die Anzahl Arrayelemente variabel oder fest ist.- Specified by:
setTargetValuein interfaceAttributeProperties- Parameters:
targetValue- "variabel" oder "fest"
-
setTargetValue
Description copied from interface:AttributePropertiesLegt fest, ob die Anzahl Arrayelemente variabel oder fest ist.- Specified by:
setTargetValuein interfaceAttributeProperties- Parameters:
targetValue- TargetValue.FIX oder TargetValue.VARIABLE
-
getName
Description copied from interface:AttributePropertiesBestimmt den Namen des Attributs- Specified by:
getNamein interfaceAttributeProperties- Returns:
- Namen des Attributs oder "" falls der Wert nicht gesetzt wurde
-
setName
Description copied from interface:AttributePropertiesSetzt den Namen des Attributs.- Specified by:
setNamein interfaceAttributeProperties- Parameters:
name- Name des Attributs.
-
getInfo
public de.bsvrz.dav.daf.main.config.SystemObjectInfo getInfo()Description copied from interface:AttributePropertiesBestimmt die Info mit Kurzinfo und Beschreibung dieses Attributs.- Specified by:
getInfoin interfaceAttributeProperties- Returns:
- Info mit Kurzinfo und Beschreibung dieses Attributs
-
setInfo
public void setInfo(de.bsvrz.dav.daf.main.config.SystemObjectInfo info) Description copied from interface:AttributePropertiesSetzt die Info mit Kurzinfo und Beschreibung dieses Attributs.- Specified by:
setInfoin interfaceAttributeProperties- Parameters:
info- Info mit Kurzinfo und Beschreibung dieses Attributs
-