org.javastro.ivoa.entities.resource.WebService Maven / Gradle / Ivy
package org.javastro.ivoa.entities.resource;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.namespace.QName;
import com.kscs.util.jaxb.Buildable;
import com.kscs.util.jaxb.CollectionProperty;
import com.kscs.util.jaxb.CollectionPropertyInfo;
import com.kscs.util.jaxb.CollectionPropertyInfo;
import com.kscs.util.jaxb.Copyable;
import com.kscs.util.jaxb.PartialCopyable;
import com.kscs.util.jaxb.PropertyTree;
import com.kscs.util.jaxb.PropertyTreeUse;
import com.kscs.util.jaxb.PropertyVisitor;
import jakarta.annotation.Generated;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
import org.javastro.ivoa.entities.resource.registry.OAISOAP;
import org.jvnet.jaxb.lang.JAXBMergeStrategy;
import org.jvnet.jaxb.lang.JAXBToStringStrategy;
import org.jvnet.jaxb.lang.MergeFrom;
import org.jvnet.jaxb.lang.MergeStrategy;
import org.jvnet.jaxb.lang.ToString;
import org.jvnet.jaxb.lang.ToStringStrategy;
import org.jvnet.jaxb.locator.ObjectLocator;
import org.jvnet.jaxb.locator.util.LocatorUtils;
/**
* The accessURL element gives the Web Service's endpoint URL.
*
* Java class for WebService complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "WebService", propOrder = {
"wsdlURLs"
})
@XmlSeeAlso({
OAISOAP.class
})
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public class WebService
extends ServiceInterface
implements Cloneable, Copyable, PartialCopyable, MergeFrom, ToString
{
/**
* Multiple occurrences should represent mirror copies of
* the same WSDL file.
*
*/
@XmlElement(name = "wsdlURL")
@XmlSchemaType(name = "anyURI")
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
protected List wsdlURLs;
/**
* Default no-arg constructor
*
*/
public WebService() {
super();
}
/**
* Fully-initialising value constructor
*
*/
public WebService(final List accessURLs, final List mirrorURLs, final SecurityMethod securityMethod, final String testQueryString, final String version, final String role, final List wsdlURLs) {
super(accessURLs, mirrorURLs, securityMethod, testQueryString, version, role);
this.wsdlURLs = wsdlURLs;
}
/**
* Multiple occurrences should represent mirror copies of
* the same WSDL file.
*
* Gets the value of the wsdlURLs 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 wsdlURLs property.
*
*
* For example, to add a new item, do as follows:
*
*
* getWsdlURLs().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*
* @return
* The value of the wsdlURLs property.
*/
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public List getWsdlURLs() {
if (wsdlURLs == null) {
wsdlURLs = new ArrayList<>();
}
return this.wsdlURLs;
}
@Override
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public boolean equals(Object object) {
if ((object == null)||(this.getClass()!= object.getClass())) {
return false;
}
if (this == object) {
return true;
}
if (!super.equals(object)) {
return false;
}
final WebService that = ((WebService) object);
{
List leftWsdlURLs;
leftWsdlURLs = (((this.wsdlURLs!= null)&&(!this.wsdlURLs.isEmpty()))?this.getWsdlURLs():null);
List rightWsdlURLs;
rightWsdlURLs = (((that.wsdlURLs!= null)&&(!that.wsdlURLs.isEmpty()))?that.getWsdlURLs():null);
if ((this.wsdlURLs!= null)&&(!this.wsdlURLs.isEmpty())) {
if ((that.wsdlURLs!= null)&&(!that.wsdlURLs.isEmpty())) {
if (!leftWsdlURLs.equals(rightWsdlURLs)) {
return false;
}
} else {
return false;
}
} else {
if ((that.wsdlURLs!= null)&&(!that.wsdlURLs.isEmpty())) {
return false;
}
}
}
return true;
}
@Override
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public int hashCode() {
int currentHashCode = 1;
currentHashCode = ((currentHashCode* 31)+ super.hashCode());
{
currentHashCode = (currentHashCode* 31);
List theWsdlURLs;
theWsdlURLs = (((this.wsdlURLs!= null)&&(!this.wsdlURLs.isEmpty()))?this.getWsdlURLs():null);
if ((this.wsdlURLs!= null)&&(!this.wsdlURLs.isEmpty())) {
currentHashCode += theWsdlURLs.hashCode();
}
}
return currentHashCode;
}
@Override
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public String toString() {
final ToStringStrategy strategy = JAXBToStringStrategy.getInstance();
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
@Override
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
@Override
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
super.appendFields(locator, buffer, strategy);
{
List theWsdlURLs;
theWsdlURLs = (((this.wsdlURLs!= null)&&(!this.wsdlURLs.isEmpty()))?this.getWsdlURLs():null);
strategy.appendField(locator, this, "wsdlURLs", buffer, theWsdlURLs, ((this.wsdlURLs!= null)&&(!this.wsdlURLs.isEmpty())));
}
return buffer;
}
@Override
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public void mergeFrom(Object left, Object right) {
final MergeStrategy strategy = JAXBMergeStrategy.getInstance();
mergeFrom(null, null, left, right, strategy);
}
@Override
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public void mergeFrom(ObjectLocator leftLocator, ObjectLocator rightLocator, Object left, Object right, MergeStrategy strategy) {
super.mergeFrom(leftLocator, rightLocator, left, right, strategy);
if (right instanceof WebService) {
final WebService target = this;
final WebService leftObject = ((WebService) left);
final WebService rightObject = ((WebService) right);
{
Boolean wsdlURLsShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, ((leftObject.wsdlURLs!= null)&&(!leftObject.wsdlURLs.isEmpty())), ((rightObject.wsdlURLs!= null)&&(!rightObject.wsdlURLs.isEmpty())));
if (wsdlURLsShouldBeMergedAndSet == Boolean.TRUE) {
List lhsWsdlURLs;
lhsWsdlURLs = (((leftObject.wsdlURLs!= null)&&(!leftObject.wsdlURLs.isEmpty()))?leftObject.getWsdlURLs():null);
List rhsWsdlURLs;
rhsWsdlURLs = (((rightObject.wsdlURLs!= null)&&(!rightObject.wsdlURLs.isEmpty()))?rightObject.getWsdlURLs():null);
List mergedWsdlURLs = ((List ) strategy.merge(LocatorUtils.property(leftLocator, "wsdlURLs", lhsWsdlURLs), LocatorUtils.property(rightLocator, "wsdlURLs", rhsWsdlURLs), lhsWsdlURLs, rhsWsdlURLs, ((leftObject.wsdlURLs!= null)&&(!leftObject.wsdlURLs.isEmpty())), ((rightObject.wsdlURLs!= null)&&(!rightObject.wsdlURLs.isEmpty()))));
target.wsdlURLs = null;
if (mergedWsdlURLs!= null) {
List uniqueWsdlURLsl = target.getWsdlURLs();
uniqueWsdlURLsl.addAll(mergedWsdlURLs);
}
} else {
if (wsdlURLsShouldBeMergedAndSet == Boolean.FALSE) {
target.wsdlURLs = null;
}
}
}
}
}
@Override
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public Object createNewInstance() {
return new WebService();
}
@Override
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public WebService clone() {
final WebService _newObject;
_newObject = ((WebService) super.clone());
_newObject.wsdlURLs = ((this.wsdlURLs == null)?null:new ArrayList<>(this.wsdlURLs));
return _newObject;
}
@Override
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public WebService createCopy() {
final WebService _newObject = ((WebService) super.createCopy());
_newObject.wsdlURLs = ((this.wsdlURLs == null)?null:new ArrayList<>(this.wsdlURLs));
return _newObject;
}
@Override
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public WebService createCopy(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final WebService _newObject = ((WebService) super.createCopy(_propertyTree, _propertyTreeUse));
final PropertyTree wsdlURLsPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("wsdlURLs"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(wsdlURLsPropertyTree!= null):((wsdlURLsPropertyTree == null)||(!wsdlURLsPropertyTree.isLeaf())))) {
_newObject.wsdlURLs = ((this.wsdlURLs == null)?null:new ArrayList<>(this.wsdlURLs));
}
return _newObject;
}
@Override
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public WebService copyExcept(final PropertyTree _propertyTree) {
return createCopy(_propertyTree, PropertyTreeUse.EXCLUDE);
}
@Override
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public WebService copyOnly(final PropertyTree _propertyTree) {
return createCopy(_propertyTree, PropertyTreeUse.INCLUDE);
}
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public WebService.Modifier modifier() {
if (null == this.__cachedModifier__) {
this.__cachedModifier__ = new WebService.Modifier();
}
return ((WebService.Modifier) this.__cachedModifier__);
}
/**
* Copies all state of this object to a builder. This method is used by the copyOf
* method and should not be called directly by client code.
*
* @param _other
* A builder instance to which the state of this object will be copied.
*/
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public<_B >void copyTo(final WebService.Builder<_B> _other) {
super.copyTo(_other);
if (this.wsdlURLs == null) {
_other.wsdlURLs = null;
} else {
_other.wsdlURLs = new ArrayList<>();
for (String _item: this.wsdlURLs) {
_other.wsdlURLs.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
}
@Override
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public<_B >WebService.Builder<_B> newCopyBuilder(final _B _parentBuilder) {
return new WebService.Builder<_B>(_parentBuilder, this, true);
}
@Override
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public WebService.Builder newCopyBuilder() {
return newCopyBuilder(null);
}
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public static WebService.Builder builder() {
return new WebService.Builder<>(null, null, false);
}
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public static<_B >WebService.Builder<_B> copyOf(final ServiceInterface _other) {
final WebService.Builder<_B> _newBuilder = new WebService.Builder<>(null, null, false);
_other.copyTo(_newBuilder);
return _newBuilder;
}
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public static<_B >WebService.Builder<_B> copyOf(final WebService _other) {
final WebService.Builder<_B> _newBuilder = new WebService.Builder<>(null, null, false);
_other.copyTo(_newBuilder);
return _newBuilder;
}
/**
* Copies all state of this object to a builder. This method is used by the copyOf
* method and should not be called directly by client code.
*
* @param _other
* A builder instance to which the state of this object will be copied.
*/
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public<_B >void copyTo(final WebService.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
super.copyTo(_other, _propertyTree, _propertyTreeUse);
final PropertyTree wsdlURLsPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("wsdlURLs"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(wsdlURLsPropertyTree!= null):((wsdlURLsPropertyTree == null)||(!wsdlURLsPropertyTree.isLeaf())))) {
if (this.wsdlURLs == null) {
_other.wsdlURLs = null;
} else {
_other.wsdlURLs = new ArrayList<>();
for (String _item: this.wsdlURLs) {
_other.wsdlURLs.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
}
}
@Override
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public<_B >WebService.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return new WebService.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse);
}
@Override
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public WebService.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return newCopyBuilder(null, _propertyTree, _propertyTreeUse);
}
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public static<_B >WebService.Builder<_B> copyOf(final ServiceInterface _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final WebService.Builder<_B> _newBuilder = new WebService.Builder<>(null, null, false);
_other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse);
return _newBuilder;
}
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public static<_B >WebService.Builder<_B> copyOf(final WebService _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final WebService.Builder<_B> _newBuilder = new WebService.Builder<>(null, null, false);
_other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse);
return _newBuilder;
}
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public static WebService.Builder copyExcept(final ServiceInterface _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE);
}
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public static WebService.Builder copyExcept(final WebService _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE);
}
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public static WebService.Builder copyOnly(final ServiceInterface _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE);
}
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public static WebService.Builder copyOnly(final WebService _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE);
}
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public WebService visit(final PropertyVisitor _visitor_) {
super.visit(_visitor_);
_visitor_.visit(new CollectionProperty<>(WebService.PropInfo.WSDL_UR_LS, this));
return this;
}
public static class Builder<_B >
extends ServiceInterface.Builder<_B>
implements Buildable
{
private List wsdlURLs;
public Builder(final _B _parentBuilder, final WebService _other, final boolean _copy) {
super(_parentBuilder, _other, _copy);
if (_other!= null) {
if (_other.wsdlURLs == null) {
this.wsdlURLs = null;
} else {
this.wsdlURLs = new ArrayList<>();
for (String _item: _other.wsdlURLs) {
this.wsdlURLs.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
}
}
public Builder(final _B _parentBuilder, final WebService _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
super(_parentBuilder, _other, _copy, _propertyTree, _propertyTreeUse);
if (_other!= null) {
final PropertyTree wsdlURLsPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("wsdlURLs"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(wsdlURLsPropertyTree!= null):((wsdlURLsPropertyTree == null)||(!wsdlURLsPropertyTree.isLeaf())))) {
if (_other.wsdlURLs == null) {
this.wsdlURLs = null;
} else {
this.wsdlURLs = new ArrayList<>();
for (String _item: _other.wsdlURLs) {
this.wsdlURLs.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
}
}
}
protected<_P extends WebService >_P init(final _P _product) {
if (this.wsdlURLs!= null) {
final List wsdlURLs = new ArrayList<>(this.wsdlURLs.size());
for (Buildable _item: this.wsdlURLs) {
wsdlURLs.add(((String) _item.build()));
}
_product.wsdlURLs = wsdlURLs;
}
return super.init(_product);
}
/**
* Adds the given items to the value of "wsdlURLs"
*
* @param wsdlURLs
* Items to add to the value of the "wsdlURLs" property
*/
public WebService.Builder<_B> addWsdlURLs(final Iterable extends String> wsdlURLs) {
if (wsdlURLs!= null) {
if (this.wsdlURLs == null) {
this.wsdlURLs = new ArrayList<>();
}
for (String _item: wsdlURLs) {
this.wsdlURLs.add(new Buildable.PrimitiveBuildable(_item));
}
}
return this;
}
/**
* Sets the new value of "wsdlURLs" (any previous value will be replaced)
*
* @param wsdlURLs
* New value of the "wsdlURLs" property.
*/
public WebService.Builder<_B> withWsdlURLs(final Iterable extends String> wsdlURLs) {
if (this.wsdlURLs!= null) {
this.wsdlURLs.clear();
}
return addWsdlURLs(wsdlURLs);
}
/**
* Adds the given items to the value of "wsdlURLs"
*
* @param wsdlURLs
* Items to add to the value of the "wsdlURLs" property
*/
public WebService.Builder<_B> addWsdlURLs(String... wsdlURLs) {
addWsdlURLs(Arrays.asList(wsdlURLs));
return this;
}
/**
* Sets the new value of "wsdlURLs" (any previous value will be replaced)
*
* @param wsdlURLs
* New value of the "wsdlURLs" property.
*/
public WebService.Builder<_B> withWsdlURLs(String... wsdlURLs) {
withWsdlURLs(Arrays.asList(wsdlURLs));
return this;
}
/**
* Adds the given items to the value of "accessURLs"
*
* @param accessURLs
* Items to add to the value of the "accessURLs" property
*/
@Override
public WebService.Builder<_B> addAccessURLs(final Iterable extends AccessURL> accessURLs) {
super.addAccessURLs(accessURLs);
return this;
}
/**
* Adds the given items to the value of "accessURLs"
*
* @param accessURLs
* Items to add to the value of the "accessURLs" property
*/
@Override
public WebService.Builder<_B> addAccessURLs(AccessURL... accessURLs) {
super.addAccessURLs(accessURLs);
return this;
}
/**
* Sets the new value of "accessURLs" (any previous value will be replaced)
*
* @param accessURLs
* New value of the "accessURLs" property.
*/
@Override
public WebService.Builder<_B> withAccessURLs(final Iterable extends AccessURL> accessURLs) {
super.withAccessURLs(accessURLs);
return this;
}
/**
* Sets the new value of "accessURLs" (any previous value will be replaced)
*
* @param accessURLs
* New value of the "accessURLs" property.
*/
@Override
public WebService.Builder<_B> withAccessURLs(AccessURL... accessURLs) {
super.withAccessURLs(accessURLs);
return this;
}
/**
* Adds the given items to the value of "mirrorURLs"
*
* @param mirrorURLs
* Items to add to the value of the "mirrorURLs" property
*/
@Override
public WebService.Builder<_B> addMirrorURLs(final Iterable extends MirrorURL> mirrorURLs) {
super.addMirrorURLs(mirrorURLs);
return this;
}
/**
* Adds the given items to the value of "mirrorURLs"
*
* @param mirrorURLs
* Items to add to the value of the "mirrorURLs" property
*/
@Override
public WebService.Builder<_B> addMirrorURLs(MirrorURL... mirrorURLs) {
super.addMirrorURLs(mirrorURLs);
return this;
}
/**
* Sets the new value of "mirrorURLs" (any previous value will be replaced)
*
* @param mirrorURLs
* New value of the "mirrorURLs" property.
*/
@Override
public WebService.Builder<_B> withMirrorURLs(final Iterable extends MirrorURL> mirrorURLs) {
super.withMirrorURLs(mirrorURLs);
return this;
}
/**
* Sets the new value of "mirrorURLs" (any previous value will be replaced)
*
* @param mirrorURLs
* New value of the "mirrorURLs" property.
*/
@Override
public WebService.Builder<_B> withMirrorURLs(MirrorURL... mirrorURLs) {
super.withMirrorURLs(mirrorURLs);
return this;
}
/**
* Sets the new value of "securityMethod" (any previous value will be replaced)
*
* @param securityMethod
* New value of the "securityMethod" property.
*/
@Override
public WebService.Builder<_B> withSecurityMethod(final SecurityMethod securityMethod) {
super.withSecurityMethod(securityMethod);
return this;
}
/**
* Returns the existing builder or a new builder to build the value of the
* "securityMethod" property.
* Use {@link org.javastro.ivoa.entities.resource.SecurityMethod.Builder#end()} to
* return to the current builder.
*
* @return
* A new builder to build the value of the "securityMethod" property.
* Use {@link org.javastro.ivoa.entities.resource.SecurityMethod.Builder#end()} to
* return to the current builder.
*/
public SecurityMethod.Builder extends WebService.Builder<_B>> withSecurityMethod() {
return ((SecurityMethod.Builder extends WebService.Builder<_B>> ) super.withSecurityMethod());
}
/**
* Sets the new value of "testQueryString" (any previous value will be replaced)
*
* @param testQueryString
* New value of the "testQueryString" property.
*/
@Override
public WebService.Builder<_B> withTestQueryString(final String testQueryString) {
super.withTestQueryString(testQueryString);
return this;
}
/**
* Sets the new value of "version" (any previous value will be replaced)
*
* @param version
* New value of the "version" property.
*/
@Override
public WebService.Builder<_B> withVersion(final String version) {
super.withVersion(version);
return this;
}
/**
* Sets the new value of "role" (any previous value will be replaced)
*
* @param role
* New value of the "role" property.
*/
@Override
public WebService.Builder<_B> withRole(final String role) {
super.withRole(role);
return this;
}
@Override
public WebService build() {
if (_storedValue == null) {
return this.init(new WebService());
} else {
return ((WebService) _storedValue);
}
}
public WebService.Builder<_B> copyOf(final WebService _other) {
_other.copyTo(this);
return this;
}
public WebService.Builder<_B> copyOf(final WebService.Builder _other) {
return copyOf(_other.build());
}
}
public class Modifier
extends ServiceInterface.Modifier
{
public List getWsdlURLs() {
if (WebService.this.wsdlURLs == null) {
WebService.this.wsdlURLs = new ArrayList<>();
}
return WebService.this.wsdlURLs;
}
}
public static class PropInfo {
public static final transient CollectionPropertyInfo WSDL_UR_LS = new CollectionPropertyInfo("wsdlURLs", WebService.class, String.class, true, null, new QName("", "wsdlURL"), new QName("http://www.w3.org/2001/XMLSchema", "anyURI"), false) {
@Override
public List get(final WebService _instance_) {
return ((_instance_ == null)?null:_instance_.wsdlURLs);
}
@Override
public void set(final WebService _instance_, final List _value_) {
if (_instance_!= null) {
_instance_.wsdlURLs = _value_;
}
}
}
;
}
public static class Select
extends WebService.Selector
{
Select() {
super(null, null, null);
}
public static WebService.Select _root() {
return new WebService.Select();
}
}
public static class Selector , TParent >
extends ServiceInterface.Selector
{
private com.kscs.util.jaxb.Selector> wsdlURLs = null;
public Selector(final TRoot root, final TParent parent, final String propertyName) {
super(root, parent, propertyName);
}
@Override
public Map buildChildren() {
final Map products = new HashMap<>();
products.putAll(super.buildChildren());
if (this.wsdlURLs!= null) {
products.put("wsdlURLs", this.wsdlURLs.init());
}
return products;
}
public com.kscs.util.jaxb.Selector> wsdlURLs() {
return ((this.wsdlURLs == null)?this.wsdlURLs = new com.kscs.util.jaxb.Selector<>(this._root, this, "wsdlURLs"):this.wsdlURLs);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy