public class PlainAttributeProperties extends java.lang.Object implements AttributeProperties
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
_attributeTypePid |
Constructor and Description |
---|
PlainAttributeProperties(java.lang.String attributeTypePid)
Erzeugt ein neues Objekt für ein Attribut eines vorgegebenen Attributtyps.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttributeTypePid()
Liefert den Attributtyps dieses Attributs.
|
java.lang.String |
getDefault()
Bestimmt den Defaultwert 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 Attributs
|
TargetValue |
getTargetValue()
Bestimmt, ob die Anzahl Arrayelemente variabel oder fest ist.
|
void |
setDefault(java.lang.String aDefault)
Setzt den Defaultwert dieses Attributs.
|
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(java.lang.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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttributeTypePid, getInfo, getMaxCount, getName, getTargetValue, setInfo, setMaxCount, setMaxCount, setName, setTargetValue, setTargetValue
public PlainAttributeProperties(java.lang.String attributeTypePid)
attributeTypePid
- Attributtyp des Attributspublic java.lang.String getDefault()
null
falls der Wert nicht gesetzt wurdepublic void setDefault(java.lang.String aDefault)
aDefault
- Defaultwert dieses Attributspublic java.lang.String getAttributeTypePid()
AttributeProperties
getAttributeTypePid
in interface AttributeProperties
public int getMaxCount()
AttributeProperties
getMaxCount
in interface AttributeProperties
public void setMaxCount(java.lang.String maxCount)
AttributeProperties
setMaxCount
in interface AttributeProperties
maxCount
- Maximale Anzahl von Arrayelementen.public void setMaxCount(int maxCount)
AttributeProperties
setMaxCount
in interface AttributeProperties
maxCount
- Maximale Anzahl von Arrayelementen.public TargetValue getTargetValue()
AttributeProperties
getTargetValue
in interface AttributeProperties
public void setTargetValue(java.lang.String targetValue)
AttributeProperties
setTargetValue
in interface AttributeProperties
targetValue
- "variabel" oder "fest"public void setTargetValue(TargetValue targetValue)
AttributeProperties
setTargetValue
in interface AttributeProperties
targetValue
- TargetValue.FIX oder TargetValue.VARIABLEpublic java.lang.String getName()
AttributeProperties
getName
in interface AttributeProperties
public void setName(java.lang.String name)
AttributeProperties
setName
in interface AttributeProperties
name
- Name des Attributs.public de.bsvrz.dav.daf.main.config.SystemObjectInfo getInfo()
AttributeProperties
getInfo
in interface AttributeProperties
public void setInfo(de.bsvrz.dav.daf.main.config.SystemObjectInfo info)
AttributeProperties
setInfo
in interface AttributeProperties
info
- Info mit Kurzinfo und Beschreibung dieses Attributs