Coverage Summary for Class: ParType (org.kitodo.dataformat.metskitodo)

Class Class, % Method, % Line, %
ParType 0% (0/1) 0% (0/13) 0% (0/42)


 //
 // Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 generiert 
 // Siehe <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> 
 // Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. 
 // Generiert: 2023.05.12 um 01:28:08 PM CEST 
 //
 
 
 package org.kitodo.dataformat.metskitodo;
 
 import java.math.BigInteger;
 import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlAnyAttribute;
 import javax.xml.bind.annotation.XmlAttribute;
 import javax.xml.bind.annotation.XmlElement;
 import javax.xml.bind.annotation.XmlElements;
 import javax.xml.bind.annotation.XmlID;
 import javax.xml.bind.annotation.XmlSchemaType;
 import javax.xml.bind.annotation.XmlType;
 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
 import javax.xml.namespace.QName;
 import org.jvnet.jaxb2_commons.lang.Equals2;
 import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
 import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
 import org.jvnet.jaxb2_commons.locator.ObjectLocator;
 import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
 
 
 /**
  * parType: Complex Type for Parallel Files
  * 				The <par> or parallel files element aggregates pointers to files, parts of files, and/or sequences of files or parts of files that must be played or displayed simultaneously to manifest a block of digital content represented by an <fptr> element.
  * 			
  * 
  * <p>Java-Klasse für parType complex type.
  * 
  * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
  * 
  * <pre>
  * &lt;complexType name="parType"&gt;
  *   &lt;complexContent&gt;
  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  *       &lt;choice maxOccurs="unbounded"&gt;
  *         &lt;element name="area" type="{http://www.loc.gov/METS/}areaType" minOccurs="0"/&gt;
  *         &lt;element name="seq" type="{http://www.loc.gov/METS/}seqType" minOccurs="0"/&gt;
  *       &lt;/choice&gt;
  *       &lt;attGroup ref="{http://www.loc.gov/METS/}ORDERLABELS"/&gt;
  *       &lt;attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}ID" /&gt;
  *       &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
  *     &lt;/restriction&gt;
  *   &lt;/complexContent&gt;
  * &lt;/complexType&gt;
  * </pre>
  * 
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "parType", propOrder = {
     "areaOrSeq"
 })
 public class ParType implements Equals2
 {
 
     @XmlElements({
         @XmlElement(name = "area", type = AreaType.class),
         @XmlElement(name = "seq", type = SeqType.class)
     })
     protected List<Object> areaOrSeq;
     @XmlAttribute(name = "ID")
     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
     @XmlID
     @XmlSchemaType(name = "ID")
     protected String id;
     @XmlAttribute(name = "ORDER")
     protected BigInteger order;
     @XmlAttribute(name = "ORDERLABEL")
     protected String orderlabel;
     @XmlAttribute(name = "LABEL")
     protected String label;
     @XmlAnyAttribute
     private Map<QName, String> otherAttributes = new HashMap<QName, String>();
 
     /**
      * Gets the value of the areaOrSeq property.
      * 
      * <p>
      * This accessor method returns a reference to the live list,
      * not a snapshot. Therefore any modification you make to the
      * returned list will be present inside the JAXB object.
      * This is why there is not a <CODE>set</CODE> method for the areaOrSeq property.
      * 
      * <p>
      * For example, to add a new item, do as follows:
      * <pre>
      *    getAreaOrSeq().add(newItem);
      * </pre>
      * 
      * 
      * <p>
      * Objects of the following type(s) are allowed in the list
      * {@link AreaType }
      * {@link SeqType }
      * 
      * 
      */
     public List<Object> getAreaOrSeq() {
         if (areaOrSeq == null) {
             areaOrSeq = new ArrayList<Object>();
         }
         return this.areaOrSeq;
     }
 
     /**
      * Ruft den Wert der id-Eigenschaft ab.
      * 
      * @return
      *     possible object is
      *     {@link String }
      *     
      */
     public String getID() {
         return id;
     }
 
     /**
      * Legt den Wert der id-Eigenschaft fest.
      * 
      * @param value
      *     allowed object is
      *     {@link String }
      *     
      */
     public void setID(String value) {
         this.id = value;
     }
 
     /**
      * Ruft den Wert der order-Eigenschaft ab.
      * 
      * @return
      *     possible object is
      *     {@link BigInteger }
      *     
      */
     public BigInteger getORDER() {
         return order;
     }
 
     /**
      * Legt den Wert der order-Eigenschaft fest.
      * 
      * @param value
      *     allowed object is
      *     {@link BigInteger }
      *     
      */
     public void setORDER(BigInteger value) {
         this.order = value;
     }
 
     /**
      * Ruft den Wert der orderlabel-Eigenschaft ab.
      * 
      * @return
      *     possible object is
      *     {@link String }
      *     
      */
     public String getORDERLABEL() {
         return orderlabel;
     }
 
     /**
      * Legt den Wert der orderlabel-Eigenschaft fest.
      * 
      * @param value
      *     allowed object is
      *     {@link String }
      *     
      */
     public void setORDERLABEL(String value) {
         this.orderlabel = value;
     }
 
     /**
      * Ruft den Wert der label-Eigenschaft ab.
      * 
      * @return
      *     possible object is
      *     {@link String }
      *     
      */
     public String getLABEL() {
         return label;
     }
 
     /**
      * Legt den Wert der label-Eigenschaft fest.
      * 
      * @param value
      *     allowed object is
      *     {@link String }
      *     
      */
     public void setLABEL(String value) {
         this.label = value;
     }
 
     /**
      * Gets a map that contains attributes that aren't bound to any typed property on this class.
      * 
      * <p>
      * the map is keyed by the name of the attribute and 
      * the value is the string value of the attribute.
      * 
      * the map returned by this method is live, and you can add new attribute
      * by updating the map directly. Because of this design, there's no setter.
      * 
      * 
      * @return
      *     always non-null
      */
     public Map<QName, String> getOtherAttributes() {
         return otherAttributes;
     }
 
     public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) {
         if ((object == null)||(this.getClass()!= object.getClass())) {
             return false;
         }
         if (this == object) {
             return true;
         }
         final ParType that = ((ParType) object);
         {
             List<Object> lhsAreaOrSeq;
             lhsAreaOrSeq = (((this.areaOrSeq!= null)&&(!this.areaOrSeq.isEmpty()))?this.getAreaOrSeq():null);
             List<Object> rhsAreaOrSeq;
             rhsAreaOrSeq = (((that.areaOrSeq!= null)&&(!that.areaOrSeq.isEmpty()))?that.getAreaOrSeq():null);
             if (!strategy.equals(LocatorUtils.property(thisLocator, "areaOrSeq", lhsAreaOrSeq), LocatorUtils.property(thatLocator, "areaOrSeq", rhsAreaOrSeq), lhsAreaOrSeq, rhsAreaOrSeq, ((this.areaOrSeq!= null)&&(!this.areaOrSeq.isEmpty())), ((that.areaOrSeq!= null)&&(!that.areaOrSeq.isEmpty())))) {
                 return false;
             }
         }
         {
             String lhsID;
             lhsID = this.getID();
             String rhsID;
             rhsID = that.getID();
             if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsID), LocatorUtils.property(thatLocator, "id", rhsID), lhsID, rhsID, (this.id!= null), (that.id!= null))) {
                 return false;
             }
         }
         {
             BigInteger lhsORDER;
             lhsORDER = this.getORDER();
             BigInteger rhsORDER;
             rhsORDER = that.getORDER();
             if (!strategy.equals(LocatorUtils.property(thisLocator, "order", lhsORDER), LocatorUtils.property(thatLocator, "order", rhsORDER), lhsORDER, rhsORDER, (this.order!= null), (that.order!= null))) {
                 return false;
             }
         }
         {
             String lhsORDERLABEL;
             lhsORDERLABEL = this.getORDERLABEL();
             String rhsORDERLABEL;
             rhsORDERLABEL = that.getORDERLABEL();
             if (!strategy.equals(LocatorUtils.property(thisLocator, "orderlabel", lhsORDERLABEL), LocatorUtils.property(thatLocator, "orderlabel", rhsORDERLABEL), lhsORDERLABEL, rhsORDERLABEL, (this.orderlabel!= null), (that.orderlabel!= null))) {
                 return false;
             }
         }
         {
             String lhsLABEL;
             lhsLABEL = this.getLABEL();
             String rhsLABEL;
             rhsLABEL = that.getLABEL();
             if (!strategy.equals(LocatorUtils.property(thisLocator, "label", lhsLABEL), LocatorUtils.property(thatLocator, "label", rhsLABEL), lhsLABEL, rhsLABEL, (this.label!= null), (that.label!= null))) {
                 return false;
             }
         }
         return true;
     }
 
     public boolean equals(Object object) {
         final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE;
         return equals(null, null, object, strategy);
     }
 
 }