org.apache.chemistry.opencmis.commons.impl.jaxb.CmisChoice Maven / Gradle / Ivy
package org.apache.chemistry.opencmis.commons.impl.jaxb;
import java.util.HashMap;
import java.util.Map;
import javax.xml.namespace.QName;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAnyAttribute;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for cmisChoice complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="cmisChoice">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/>
* <attribute name="displayName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <anyAttribute processContents='lax' namespace='##other'/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "cmisChoice", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")
@XmlSeeAlso({
CmisChoiceBoolean.class,
CmisChoiceId.class,
CmisChoiceInteger.class,
CmisChoiceDateTime.class,
CmisChoiceDecimal.class,
CmisChoiceHtml.class,
CmisChoiceString.class,
CmisChoiceUri.class
})
public class CmisChoice {
@XmlAttribute(name = "displayName", required = true)
protected String displayName;
@XmlAnyAttribute
private Map otherAttributes = new HashMap();
/**
* Gets the value of the displayName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDisplayName() {
return displayName;
}
/**
* Sets the value of the displayName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDisplayName(String value) {
this.displayName = value;
}
/**
* Gets a map that contains attributes that aren't bound to any typed property on this class.
*
*
* 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 getOtherAttributes() {
return otherAttributes;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy