All Downloads are FREE. Search and download functionalities are using the official Maven repository.

generated.ENXP Maven / Gradle / Ivy

There is a newer version: 0.10.0
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2014.03.10 at 07:30:12 PM PDT 
//


package generated;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;


/**
 * 
 *             A character string token representing a part of a name.
 *             May have a type code signifying the role of the part in
 *             the whole entity name, and a qualifier code for more detail
 *             about the name part type. Typical name parts for person
 *             names are given names, and family names, titles, etc.
 *          
 * 
 * 

Java class for ENXP complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="ENXP">
 *   <complexContent>
 *     <extension base="{}ST">
 *       <attribute name="partType" type="{}EntityNamePartType" />
 *       <attribute name="qualifier" type="{}set_EntityNamePartQualifier" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ENXP") @XmlSeeAlso({ EnDelimiter.class, EnGiven.class, EnFamily.class, EnSuffix.class, EnPrefix.class }) public class ENXP extends ST { @XmlAttribute(name = "partType") protected String partType; @XmlAttribute(name = "qualifier") protected List qualifier; /** * Gets the value of the partType property. * * @return * possible object is * {@link String } * */ public String getPartType() { return partType; } /** * Sets the value of the partType property. * * @param value * allowed object is * {@link String } * */ public void setPartType(String value) { this.partType = value; } /** * Gets the value of the qualifier property. * *

* 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 set method for the qualifier property. * *

* For example, to add a new item, do as follows: *

     *    getQualifier().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getQualifier() { if (qualifier == null) { qualifier = new ArrayList(); } return this.qualifier; } public ENXP withPartType(String value) { setPartType(value); return this; } public ENXP withQualifier(String... values) { if (values!= null) { for (String value: values) { getQualifier().add(value); } } return this; } public ENXP withQualifier(Collection values) { if (values!= null) { getQualifier().addAll(values); } return this; } @Override public ENXP withMediaType(String value) { setMediaType(value); return this; } @Override public ENXP withLanguage(String value) { setLanguage(value); return this; } @Override public ENXP withCompression(CompressionAlgorithm value) { setCompression(value); return this; } @Override public ENXP withIntegrityCheck(byte[] value) { setIntegrityCheck(value); return this; } @Override public ENXP withIntegrityCheckAlgorithm(IntegrityCheckAlgorithm value) { setIntegrityCheckAlgorithm(value); return this; } @Override public ENXP withContent(Serializable... values) { if (values!= null) { for (Serializable value: values) { getContent().add(value); } } return this; } @Override public ENXP withContent(Collection values) { if (values!= null) { getContent().addAll(values); } return this; } @Override public ENXP withRepresentation(BinaryDataEncoding value) { setRepresentation(value); return this; } @Override public ENXP withNullFlavor(String... values) { if (values!= null) { for (String value: values) { getNullFlavor().add(value); } } return this; } @Override public ENXP withNullFlavor(Collection values) { if (values!= null) { getNullFlavor().addAll(values); } return this; } @Override public String toString() { return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE); } @Override public boolean equals(Object that) { return EqualsBuilder.reflectionEquals(this, that); } @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy