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

com.oracle.xmlns.webservices.jaxws_databinding.XmlMTOM Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2012, 2022 Oracle and/or its affiliates. All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Distribution License v. 1.0, which is available at
 * http://www.eclipse.org/org/documents/edl-v10.php.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

package com.oracle.xmlns.webservices.jaxws_databinding;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.ws.soap.MTOM;
import java.lang.annotation.Annotation;


/**
 * This file was generated by JAXB-RI v2.2.6 and afterwards modified
 * to implement appropriate Annotation
 *
 * 

Java class for anonymous complex type. * *

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

{@code
 * 
 *   
 *     
 *       
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") @XmlRootElement(name = "mtom") public class XmlMTOM implements MTOM { @XmlAttribute(name = "enabled") protected Boolean enabled; @XmlAttribute(name = "threshold") protected Integer threshold; /** * Gets the value of the enabled property. * * @return * possible object is * {@link Boolean } * */ public boolean isEnabled() { if (enabled == null) { return true; } else { return enabled; } } /** * Sets the value of the enabled property. * * @param value * allowed object is * {@link Boolean } * */ public void setEnabled(Boolean value) { this.enabled = value; } /** * Gets the value of the threshold property. * * @return * possible object is * {@link Integer } * */ public int getThreshold() { if (threshold == null) { return 0; } else { return threshold; } } /** * Sets the value of the threshold property. * * @param value * allowed object is * {@link Integer } * */ public void setThreshold(Integer value) { this.threshold = value; } @Override public boolean enabled() { return Util.nullSafe(enabled, Boolean.TRUE); } @Override public int threshold() { return Util.nullSafe(threshold, 0); } @Override public Class annotationType() { return MTOM.class; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy