Class PlainAttributeProperties

java.lang.Object
de.bsvrz.puk.config.xmlFile.properties.PlainAttributeProperties
All Implemented Interfaces:
AttributeProperties

public class PlainAttributeProperties extends Object implements AttributeProperties
Kapselt die Eigenschaften eines Attributs in Versorgungsdateien entsprechend K2S.DTD.
  • Field Details

    • _attributeTypePid

      protected final String _attributeTypePid
  • Constructor Details

    • PlainAttributeProperties

      public PlainAttributeProperties(String attributeTypePid)
      Erzeugt ein neues Objekt für ein Attribut eines vorgegebenen Attributtyps.
      Parameters:
      attributeTypePid - Attributtyp des Attributs
  • Method Details

    • getDefault

      public String getDefault()
      Bestimmt den Defaultwert dieses Attributs.
      Returns:
      Defaultwert dieses Attributs oder null falls der Wert nicht gesetzt wurde
    • setDefault

      public void setDefault(String aDefault)
      Setzt den Defaultwert dieses Attributs.
      Parameters:
      aDefault - Defaultwert dieses Attributs
    • getAttributeTypePid

      public String getAttributeTypePid()
      Description copied from interface: AttributeProperties
      Liefert den Attributtyps dieses Attributs.
      Specified by:
      getAttributeTypePid in interface AttributeProperties
      Returns:
      Attributtyps dieses Attributs
    • getMaxCount

      public int getMaxCount()
      Description copied from interface: AttributeProperties
      Bestimmt die maximale Anzahl von Arrayelementen.
      Specified by:
      getMaxCount in interface AttributeProperties
      Returns:
      maximale Anzahl von Arrayelementen oder -1 falls der Wert nicht gesetzt wurde.
    • setMaxCount

      public void setMaxCount(String maxCount)
      Description copied from interface: AttributeProperties
      Setzt die maximale Anzahl von Arrayelementen.
      Specified by:
      setMaxCount in interface AttributeProperties
      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 interface AttributeProperties
      Parameters:
      maxCount - Maximale Anzahl von Arrayelementen.
    • getTargetValue

      public TargetValue getTargetValue()
      Description copied from interface: AttributeProperties
      Bestimmt, ob die Anzahl Arrayelemente variabel oder fest ist.
      Specified by:
      getTargetValue in interface AttributeProperties
      Returns:
      TargetValue.FIX oder TargetValue.VARIABLE
    • setTargetValue

      public void setTargetValue(String targetValue)
      Description copied from interface: AttributeProperties
      Legt fest, ob die Anzahl Arrayelemente variabel oder fest ist.
      Specified by:
      setTargetValue in interface AttributeProperties
      Parameters:
      targetValue - "variabel" oder "fest"
    • setTargetValue

      public void setTargetValue(TargetValue targetValue)
      Description copied from interface: AttributeProperties
      Legt fest, ob die Anzahl Arrayelemente variabel oder fest ist.
      Specified by:
      setTargetValue in interface AttributeProperties
      Parameters:
      targetValue - TargetValue.FIX oder TargetValue.VARIABLE
    • getName

      public String getName()
      Description copied from interface: AttributeProperties
      Bestimmt den Namen des Attributs
      Specified by:
      getName in interface AttributeProperties
      Returns:
      Namen des Attributs oder "" falls der Wert nicht gesetzt wurde
    • setName

      public void setName(String name)
      Description copied from interface: AttributeProperties
      Setzt den Namen des Attributs.
      Specified by:
      setName in interface AttributeProperties
      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 interface AttributeProperties
      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 interface AttributeProperties
      Parameters:
      info - Info mit Kurzinfo und Beschreibung dieses Attributs