Class AttributeIdentifier
- java.lang.Object
-
- de.bsvrz.pua.prot.util.attributes.AttributeIdentifier
-
- All Implemented Interfaces:
java.lang.Cloneable
public class AttributeIdentifier extends java.lang.Object implements java.lang.CloneableSpeichert ein Attribut mit dazugehörigem Index und eventuellen Unterattributen
-
-
Constructor Summary
Constructors Constructor Description AttributeIdentifier(de.bsvrz.dav.daf.main.config.Attribute attribute)AttributeIdentifier(de.bsvrz.dav.daf.main.config.Attribute attribute, int index)AttributeIdentifier(de.bsvrz.dav.daf.main.config.Attribute attribute, AttributeIdentifier child)AttributeIdentifier(java.lang.String description, de.bsvrz.dav.daf.main.config.AttributeSet set)Erzeugt einen AttributeIdentifier aus einem String der Form Attribut([Index])?.
-
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object obj)de.bsvrz.dav.daf.main.config.AttributegetAttribute()AttributeIdentifiergetChild()de.bsvrz.dav.daf.main.DatagetDataElement(de.bsvrz.dav.daf.main.Data data)Findet das durch diese Klasse referenzierte Datenobjekt (bzw.intgetIndex()de.bsvrz.dav.daf.main.config.AttributegetLastAttribute()java.lang.StringgetName()booleanhasChild()inthashCode()booleanhasIndex()booleanisAtomic()java.lang.StringtoString()
-
-
-
Constructor Detail
-
AttributeIdentifier
public AttributeIdentifier(de.bsvrz.dav.daf.main.config.Attribute attribute)
-
AttributeIdentifier
public AttributeIdentifier(de.bsvrz.dav.daf.main.config.Attribute attribute, int index)
-
AttributeIdentifier
public AttributeIdentifier(de.bsvrz.dav.daf.main.config.Attribute attribute, AttributeIdentifier child)
-
AttributeIdentifier
public AttributeIdentifier(java.lang.String description, de.bsvrz.dav.daf.main.config.AttributeSet set) throws SemanticErrorExceptionErzeugt einen AttributeIdentifier aus einem String der Form Attribut([Index])?.(Attribut([Index])?)* also z.B. qKfz.Wert[3] oder A.B.C.D oder A[17].B.C[11].D usw.- Parameters:
description- Descriptionset- Set- Throws:
SemanticErrorException- Exception
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getAttribute
public de.bsvrz.dav.daf.main.config.Attribute getAttribute()
-
getIndex
public int getIndex()
-
hasIndex
public boolean hasIndex()
-
getChild
public AttributeIdentifier getChild()
-
hasChild
public boolean hasChild()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
isAtomic
public boolean isAtomic()
-
getLastAttribute
public de.bsvrz.dav.daf.main.config.Attribute getLastAttribute()
-
getDataElement
public de.bsvrz.dav.daf.main.Data getDataElement(de.bsvrz.dav.daf.main.Data data)
Findet das durch diese Klasse referenzierte Datenobjekt (bzw. Unterdatum) in einem Datenobjekt wie es von der Konfiguration kommt.- Parameters:
data- Data- Returns:
- Data Data
-
-