Class ListAttributeProperties
java.lang.Object
de.bsvrz.puk.config.xmlFile.properties.ListAttributeProperties
- All Implemented Interfaces:
AttributeProperties
public class ListAttributeProperties extends java.lang.Object implements AttributeProperties
Kapselt die Eigenschaften eines Listenattributs in Versorgungsdateien entsprechend K2S.DTD.
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
_attributeTypePid
-
Constructor Summary
Constructors Constructor Description ListAttributeProperties(java.lang.String attributeTypePid)
Erzeugt ein neues Objekt für ein Attribut eines vorgegebenen Attributtyps. -
Method Summary
Modifier and Type Method Description java.lang.String
getAttributeTypePid()
Liefert den Attributtyps dieses Attributs.de.bsvrz.dav.daf.main.config.SystemObjectInfo
getInfo()
Bestimmt die Info mit Kurzinfo und Beschreibung dieses Attributs.int
getMaxCount()
Bestimmt die maximale Anzahl von Arrayelementen.java.lang.String
getName()
Bestimmt den Namen des AttributsTargetValue
getTargetValue()
Bestimmt, ob die Anzahl Arrayelemente variabel oder fest ist.void
setInfo(de.bsvrz.dav.daf.main.config.SystemObjectInfo info)
Setzt die Info mit Kurzinfo und Beschreibung dieses Attributs.void
setMaxCount(int maxCount)
Setzt die maximale Anzahl von Arrayelementen.void
setMaxCount(java.lang.String maxCount)
Setzt die maximale Anzahl von Arrayelementen.void
setName(java.lang.String name)
Setzt den Namen des Attributs.void
setTargetValue(TargetValue targetValue)
Legt fest, ob die Anzahl Arrayelemente variabel oder fest ist.void
setTargetValue(java.lang.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, wait
Methods inherited from interface de.bsvrz.puk.config.xmlFile.properties.AttributeProperties
getAttributeTypePid, getInfo, getMaxCount, getName, getTargetValue, setInfo, setMaxCount, setMaxCount, setName, setTargetValue, setTargetValue
-
Field Details
-
_attributeTypePid
protected final java.lang.String _attributeTypePid
-
-
Constructor Details
-
ListAttributeProperties
public ListAttributeProperties(java.lang.String attributeTypePid)Erzeugt ein neues Objekt für ein Attribut eines vorgegebenen Attributtyps.- Parameters:
attributeTypePid
- Attributtyp des Attributs
-
-
Method Details
-
getAttributeTypePid
public java.lang.String getAttributeTypePid()Description copied from interface:AttributeProperties
Liefert den Attributtyps dieses Attributs.- Specified by:
getAttributeTypePid
in interfaceAttributeProperties
- Returns:
- Attributtyps dieses Attributs
-
getMaxCount
public int getMaxCount()Description copied from interface:AttributeProperties
Bestimmt die maximale Anzahl von Arrayelementen.- Specified by:
getMaxCount
in interfaceAttributeProperties
- Returns:
- maximale Anzahl von Arrayelementen oder -1 falls der Wert nicht gesetzt wurde.
-
setMaxCount
public void setMaxCount(java.lang.String maxCount)Description copied from interface:AttributeProperties
Setzt die maximale Anzahl von Arrayelementen.- Specified by:
setMaxCount
in interfaceAttributeProperties
- Parameters:
maxCount
- Maximale Anzahl von Arrayelementen.
-
setMaxCount
public void setMaxCount(int maxCount)Description copied from interface:AttributeProperties
Setzt die maximale Anzahl von Arrayelementen.- Specified by:
setMaxCount
in interfaceAttributeProperties
- Parameters:
maxCount
- Maximale Anzahl von Arrayelementen.
-
getTargetValue
Description copied from interface:AttributeProperties
Bestimmt, ob die Anzahl Arrayelemente variabel oder fest ist.- Specified by:
getTargetValue
in interfaceAttributeProperties
- Returns:
- TargetValue.FIX oder TargetValue.VARIABLE
-
setTargetValue
public void setTargetValue(java.lang.String targetValue)Description copied from interface:AttributeProperties
Legt fest, ob die Anzahl Arrayelemente variabel oder fest ist.- Specified by:
setTargetValue
in interfaceAttributeProperties
- Parameters:
targetValue
- "variabel" oder "fest"
-
setTargetValue
Description copied from interface:AttributeProperties
Legt fest, ob die Anzahl Arrayelemente variabel oder fest ist.- Specified by:
setTargetValue
in interfaceAttributeProperties
- Parameters:
targetValue
- TargetValue.FIX oder TargetValue.VARIABLE
-
getName
public java.lang.String getName()Description copied from interface:AttributeProperties
Bestimmt den Namen des Attributs- Specified by:
getName
in interfaceAttributeProperties
- Returns:
- Namen des Attributs oder "" falls der Wert nicht gesetzt wurde
-
setName
public void setName(java.lang.String name)Description copied from interface:AttributeProperties
Setzt den Namen des Attributs.- Specified by:
setName
in interfaceAttributeProperties
- Parameters:
name
- Name des Attributs.
-
getInfo
public de.bsvrz.dav.daf.main.config.SystemObjectInfo getInfo()Description copied from interface:AttributeProperties
Bestimmt die Info mit Kurzinfo und Beschreibung dieses Attributs.- Specified by:
getInfo
in 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:AttributeProperties
Setzt die Info mit Kurzinfo und Beschreibung dieses Attributs.- Specified by:
setInfo
in interfaceAttributeProperties
- Parameters:
info
- Info mit Kurzinfo und Beschreibung dieses Attributs
-