org.javastro.ivoa.entities.resource.registry.OAISOAP Maven / Gradle / Ivy
package org.javastro.ivoa.entities.resource.registry;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.kscs.util.jaxb.Buildable;
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.XmlType;
import org.javastro.ivoa.entities.resource.AccessURL;
import org.javastro.ivoa.entities.resource.MirrorURL;
import org.javastro.ivoa.entities.resource.SecurityMethod;
import org.javastro.ivoa.entities.resource.ServiceInterface;
import org.javastro.ivoa.entities.resource.WebService;
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;
/**
* the accessURL child element is the service port location URL for
* the OAI SOAP Web Service.
*
* Java class for OAISOAP complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OAISOAP")
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public class OAISOAP
extends WebService
implements Cloneable, Copyable, PartialCopyable, MergeFrom, ToString
{
/**
* Default no-arg constructor
*
*/
public OAISOAP() {
super();
}
/**
* Fully-initialising value constructor
*
*/
public OAISOAP(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, 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;
}
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());
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);
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);
}
@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 OAISOAP();
}
@Override
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public OAISOAP clone() {
final OAISOAP _newObject;
_newObject = ((OAISOAP) super.clone());
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 OAISOAP createCopy() {
final OAISOAP _newObject = ((OAISOAP) super.createCopy());
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 OAISOAP createCopy(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final OAISOAP _newObject = ((OAISOAP) super.createCopy(_propertyTree, _propertyTreeUse));
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 OAISOAP 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 OAISOAP 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 OAISOAP.Modifier modifier() {
if (null == this.__cachedModifier__) {
this.__cachedModifier__ = new OAISOAP.Modifier();
}
return ((OAISOAP.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 OAISOAP.Builder<_B> _other) {
super.copyTo(_other);
}
@Override
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public<_B >OAISOAP.Builder<_B> newCopyBuilder(final _B _parentBuilder) {
return new OAISOAP.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 OAISOAP.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 OAISOAP.Builder builder() {
return new OAISOAP.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 >OAISOAP.Builder<_B> copyOf(final ServiceInterface _other) {
final OAISOAP.Builder<_B> _newBuilder = new OAISOAP.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 >OAISOAP.Builder<_B> copyOf(final WebService _other) {
final OAISOAP.Builder<_B> _newBuilder = new OAISOAP.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 >OAISOAP.Builder<_B> copyOf(final OAISOAP _other) {
final OAISOAP.Builder<_B> _newBuilder = new OAISOAP.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 OAISOAP.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
super.copyTo(_other, _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<_B >OAISOAP.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return new OAISOAP.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 OAISOAP.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 >OAISOAP.Builder<_B> copyOf(final ServiceInterface _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final OAISOAP.Builder<_B> _newBuilder = new OAISOAP.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 >OAISOAP.Builder<_B> copyOf(final WebService _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final OAISOAP.Builder<_B> _newBuilder = new OAISOAP.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 >OAISOAP.Builder<_B> copyOf(final OAISOAP _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final OAISOAP.Builder<_B> _newBuilder = new OAISOAP.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 OAISOAP.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 OAISOAP.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 OAISOAP.Builder copyExcept(final OAISOAP _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 OAISOAP.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 OAISOAP.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 static OAISOAP.Builder copyOnly(final OAISOAP _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 OAISOAP visit(final PropertyVisitor _visitor_) {
super.visit(_visitor_);
return this;
}
public static class Builder<_B >
extends WebService.Builder<_B>
implements Buildable
{
public Builder(final _B _parentBuilder, final OAISOAP _other, final boolean _copy) {
super(_parentBuilder, _other, _copy);
if (_other!= null) {
}
}
public Builder(final _B _parentBuilder, final OAISOAP _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
super(_parentBuilder, _other, _copy, _propertyTree, _propertyTreeUse);
if (_other!= null) {
}
}
protected<_P extends OAISOAP >_P init(final _P _product) {
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
*/
@Override
public OAISOAP.Builder<_B> addWsdlURLs(final Iterable extends String> wsdlURLs) {
super.addWsdlURLs(wsdlURLs);
return this;
}
/**
* Adds the given items to the value of "wsdlURLs"
*
* @param wsdlURLs
* Items to add to the value of the "wsdlURLs" property
*/
@Override
public OAISOAP.Builder<_B> addWsdlURLs(String... wsdlURLs) {
super.addWsdlURLs(wsdlURLs);
return this;
}
/**
* Sets the new value of "wsdlURLs" (any previous value will be replaced)
*
* @param wsdlURLs
* New value of the "wsdlURLs" property.
*/
@Override
public OAISOAP.Builder<_B> withWsdlURLs(final Iterable extends String> wsdlURLs) {
super.withWsdlURLs(wsdlURLs);
return this;
}
/**
* Sets the new value of "wsdlURLs" (any previous value will be replaced)
*
* @param wsdlURLs
* New value of the "wsdlURLs" property.
*/
@Override
public OAISOAP.Builder<_B> withWsdlURLs(String... wsdlURLs) {
super.withWsdlURLs(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 OAISOAP.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 OAISOAP.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 OAISOAP.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 OAISOAP.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 OAISOAP.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 OAISOAP.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 OAISOAP.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 OAISOAP.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 OAISOAP.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 OAISOAP.Builder<_B>> withSecurityMethod() {
return ((SecurityMethod.Builder extends OAISOAP.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 OAISOAP.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 OAISOAP.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 OAISOAP.Builder<_B> withRole(final String role) {
super.withRole(role);
return this;
}
@Override
public OAISOAP build() {
if (_storedValue == null) {
return this.init(new OAISOAP());
} else {
return ((OAISOAP) _storedValue);
}
}
public OAISOAP.Builder<_B> copyOf(final OAISOAP _other) {
_other.copyTo(this);
return this;
}
public OAISOAP.Builder<_B> copyOf(final OAISOAP.Builder _other) {
return copyOf(_other.build());
}
}
public class Modifier
extends WebService.Modifier
{
}
public static class PropInfo {
}
public static class Select
extends OAISOAP.Selector
{
Select() {
super(null, null, null);
}
public static OAISOAP.Select _root() {
return new OAISOAP.Select();
}
}
public static class Selector , TParent >
extends WebService.Selector
{
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());
return products;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy