Class AttributeIdentifier

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class AttributeIdentifier
    extends java.lang.Object
    implements java.lang.Cloneable
    Speichert 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
      boolean equals​(java.lang.Object obj)  
      de.bsvrz.dav.daf.main.config.Attribute getAttribute()  
      AttributeIdentifier getChild()  
      de.bsvrz.dav.daf.main.Data getDataElement​(de.bsvrz.dav.daf.main.Data data)
      Findet das durch diese Klasse referenzierte Datenobjekt (bzw.
      int getIndex()  
      de.bsvrz.dav.daf.main.config.Attribute getLastAttribute()  
      java.lang.String getName()  
      boolean hasChild()  
      int hashCode()  
      boolean hasIndex()  
      boolean isAtomic()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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 SemanticErrorException
        Erzeugt 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 - Description
        set - 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()
      • hasChild

        public boolean hasChild()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.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