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

org.docx4j.dml.chart.x2007.CTBooleanTrue Maven / Gradle / Ivy

There is a newer version: 11.5.0
Show newest version

package org.docx4j.dml.chart.x2007;

import javax.xml.bind.Unmarshaller;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.XmlType;
import org.jvnet.jaxb2_commons.ppp.Child;


/**
 * 

Java class for CT_BooleanTrue complex type. * *

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

 * <complexType name="CT_BooleanTrue">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CT_BooleanTrue") public class CTBooleanTrue implements Child { @XmlAttribute(name = "val") protected Boolean val; @XmlTransient private Object parent; /** * Gets the value of the val property. * * @return * possible object is * {@link Boolean } * */ public boolean isVal() { if (val == null) { return true; } else { return val; } } /** * Sets the value of the val property. * * @param value * allowed object is * {@link Boolean } * */ public void setVal(Boolean value) { this.val = value; } /** * Gets the parent object in the object tree representing the unmarshalled xml document. * * @return * The parent object. */ public Object getParent() { return this.parent; } public void setParent(Object parent) { this.parent = parent; } /** * This method is invoked by the JAXB implementation on each instance when unmarshalling completes. * * @param parent * The parent object in the object tree. * @param unmarshaller * The unmarshaller that generated the instance. */ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { setParent(parent); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy