de.bsvrz.puk.config.xmlFile.properties
Class AbstractAttributeProperties

java.lang.Object
  extended by de.bsvrz.puk.config.xmlFile.properties.AbstractAttributeProperties
All Implemented Interfaces:
AttributeProperties
Direct Known Subclasses:
ListAttributeProperties, PlainAttributeProperties

abstract class AbstractAttributeProperties
extends Object
implements AttributeProperties

Default-Implementierung des Interfaces AttributeProperties.

Author:
Kappich Systemberatung

Field Summary
protected  String _attributeTypePid
           
private  SystemObjectInfo _info
           
private  int _maxCount
           
private  String _name
           
private  TargetValue _targetValue
           
 
Constructor Summary
AbstractAttributeProperties(String attributeTypePid)
           
 
Method Summary
 String getAttributeTypePid()
          Liefert den Attributtyps dieses Attributs.
 SystemObjectInfo getInfo()
          Bestimmt die Info mit Kurzinfo und Beschreibung dieses Attributs.
 int getMaxCount()
          Bestimmt die maximale Anzahl von Arrayelementen.
 String getName()
          Bestimmt den Namen des Attributs
 TargetValue getTargetValue()
          Bestimmt, ob die Anzahl Arrayelemente variabel oder fest ist.
 void setInfo(SystemObjectInfo info)
          Setzt die Info mit Kurzinfo und Beschreibung dieses Attributs.
 void setMaxCount(int maxCount)
          Setzt die maximale Anzahl von Arrayelementen.
 void setMaxCount(String maxCount)
          Setzt die maximale Anzahl von Arrayelementen.
 void setName(String name)
          Setzt den Namen des Attributs.
 void setTargetValue(String targetValue)
          Legt fest, ob die Anzahl Arrayelemente variabel oder fest ist.
 void setTargetValue(TargetValue 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
 

Field Detail

_attributeTypePid

protected final String _attributeTypePid

_maxCount

private int _maxCount

_targetValue

private TargetValue _targetValue

_name

private String _name

_info

private SystemObjectInfo _info
Constructor Detail

AbstractAttributeProperties

AbstractAttributeProperties(String attributeTypePid)
Method Detail

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.

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

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.

setInfo

public void setInfo(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

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.

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

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

getInfo

public 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