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

org.javastro.ivoa.entities.vosi.tables.Tableset Maven / Gradle / Ivy


package org.javastro.ivoa.entities.vosi.tables;

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.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.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;
import org.javastro.ivoa.entities.resource.dataservice.TableSchema;
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;


/**
 * A description of the table metadata supported by the 
 *          service associated with a VOSI-enabled resource.
 * 
 * 

Java class for tableset element declaration

. * *

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

* *
{@code
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") @XmlRootElement(name = "tableset") @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00") public class Tableset extends org.javastro.ivoa.entities.resource.dataservice.Tableset implements Cloneable, Copyable, PartialCopyable, MergeFrom, ToString { /** * Default no-arg constructor * */ public Tableset() { super(); } /** * Fully-initialising value constructor * */ public Tableset(final List schemas, final Map otherAttributes) { super(schemas, otherAttributes); } @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 Tableset(); } @Override @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00") public Tableset clone() { final Tableset _newObject; _newObject = ((Tableset) 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 Tableset createCopy() { final Tableset _newObject = ((Tableset) 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 Tableset createCopy(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final Tableset _newObject = ((Tableset) 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 Tableset 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 Tableset 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 Tableset.Modifier modifier() { if (null == this.__cachedModifier__) { this.__cachedModifier__ = new Tableset.Modifier(); } return ((Tableset.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 Tableset.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 >Tableset.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new Tableset.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 Tableset.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 Tableset.Builder builder() { return new Tableset.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 >Tableset.Builder<_B> copyOf(final org.javastro.ivoa.entities.resource.dataservice.Tableset _other) { final Tableset.Builder<_B> _newBuilder = new Tableset.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 >Tableset.Builder<_B> copyOf(final Tableset _other) { final Tableset.Builder<_B> _newBuilder = new Tableset.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 Tableset.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 >Tableset.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new Tableset.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 Tableset.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 >Tableset.Builder<_B> copyOf(final org.javastro.ivoa.entities.resource.dataservice.Tableset _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final Tableset.Builder<_B> _newBuilder = new Tableset.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 >Tableset.Builder<_B> copyOf(final Tableset _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final Tableset.Builder<_B> _newBuilder = new Tableset.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 Tableset.Builder copyExcept(final org.javastro.ivoa.entities.resource.dataservice.Tableset _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 Tableset.Builder copyExcept(final Tableset _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 Tableset.Builder copyOnly(final org.javastro.ivoa.entities.resource.dataservice.Tableset _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 Tableset.Builder copyOnly(final Tableset _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 Tableset visit(final PropertyVisitor _visitor_) { super.visit(_visitor_); return this; } public static class Builder<_B > extends org.javastro.ivoa.entities.resource.dataservice.Tableset.Builder<_B> implements Buildable { public Builder(final _B _parentBuilder, final Tableset _other, final boolean _copy) { super(_parentBuilder, _other, _copy); if (_other!= null) { } } public Builder(final _B _parentBuilder, final Tableset _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { super(_parentBuilder, _other, _copy, _propertyTree, _propertyTreeUse); if (_other!= null) { } } protected<_P extends Tableset >_P init(final _P _product) { return super.init(_product); } /** * Adds the given items to the value of "schemas" * * @param schemas * Items to add to the value of the "schemas" property */ @Override public Tableset.Builder<_B> addSchemas(final Iterable schemas) { super.addSchemas(schemas); return this; } /** * Adds the given items to the value of "schemas" * * @param schemas * Items to add to the value of the "schemas" property */ @Override public Tableset.Builder<_B> addSchemas(TableSchema... schemas) { super.addSchemas(schemas); return this; } /** * Sets the new value of "schemas" (any previous value will be replaced) * * @param schemas * New value of the "schemas" property. */ @Override public Tableset.Builder<_B> withSchemas(final Iterable schemas) { super.withSchemas(schemas); return this; } /** * Sets the new value of "schemas" (any previous value will be replaced) * * @param schemas * New value of the "schemas" property. */ @Override public Tableset.Builder<_B> withSchemas(TableSchema... schemas) { super.withSchemas(schemas); return this; } @Override public Tableset build() { if (_storedValue == null) { return this.init(new Tableset()); } else { return ((Tableset) _storedValue); } } public Tableset.Builder<_B> copyOf(final Tableset _other) { _other.copyTo(this); return this; } public Tableset.Builder<_B> copyOf(final Tableset.Builder _other) { return copyOf(_other.build()); } } public class Modifier extends org.javastro.ivoa.entities.resource.dataservice.Tableset.Modifier { } public static class PropInfo { } public static class Select extends Tableset.Selector { Select() { super(null, null, null); } public static Tableset.Select _root() { return new Tableset.Select(); } } public static class Selector , TParent > extends org.javastro.ivoa.entities.resource.dataservice.Tableset.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