org.javastro.ivoa.entities.resource.sia.SIACapRestriction Maven / Gradle / Ivy
package org.javastro.ivoa.entities.resource.sia;
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.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
import org.javastro.ivoa.entities.resource.Capability;
import org.javastro.ivoa.entities.resource.ServiceInterface;
import org.javastro.ivoa.entities.resource.Validation;
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;
/**
* See vr:Capability for documentation on inherited children.
*
* Java class for SIACapRestriction complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SIACapRestriction")
@XmlSeeAlso({
SimpleImageAccess.class
})
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public abstract class SIACapRestriction
extends Capability
implements Cloneable, Copyable, PartialCopyable, MergeFrom, ToString
{
/**
* Default no-arg constructor
*
*/
public SIACapRestriction() {
super();
}
/**
* Fully-initialising value constructor
*
*/
public SIACapRestriction(final List validationLevels, final String description, final List interfaces, final String standardID) {
super(validationLevels, description, interfaces, standardID);
}
@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 SIACapRestriction clone() {
final SIACapRestriction _newObject;
_newObject = ((SIACapRestriction) 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 SIACapRestriction createCopy() {
final SIACapRestriction _newObject = ((SIACapRestriction) 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 SIACapRestriction createCopy(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final SIACapRestriction _newObject = ((SIACapRestriction) 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 SIACapRestriction 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 SIACapRestriction 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 SIACapRestriction.Modifier modifier() {
if (null == this.__cachedModifier__) {
this.__cachedModifier__ = new SIACapRestriction.Modifier();
}
return ((SIACapRestriction.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 SIACapRestriction.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 abstract<_B >SIACapRestriction.Builder<_B> newCopyBuilder(final _B _parentBuilder);
@Override
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public abstract SIACapRestriction.Builder newCopyBuilder();
/**
* 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 SIACapRestriction.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 abstract<_B >SIACapRestriction.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse);
@Override
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public abstract SIACapRestriction.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse);
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.4", date = "2024-10-20T18:15:02+01:00")
public SIACapRestriction visit(final PropertyVisitor _visitor_) {
super.visit(_visitor_);
return this;
}
public static class Builder<_B >
extends Capability.Builder<_B>
implements Buildable
{
public Builder(final _B _parentBuilder, final SIACapRestriction _other, final boolean _copy) {
super(_parentBuilder, _other, _copy);
if (_other!= null) {
}
}
public Builder(final _B _parentBuilder, final SIACapRestriction _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
super(_parentBuilder, _other, _copy, _propertyTree, _propertyTreeUse);
if (_other!= null) {
}
}
protected<_P extends SIACapRestriction >_P init(final _P _product) {
return super.init(_product);
}
/**
* Adds the given items to the value of "validationLevels"
*
* @param validationLevels
* Items to add to the value of the "validationLevels" property
*/
@Override
public SIACapRestriction.Builder<_B> addValidationLevels(final Iterable extends Validation> validationLevels) {
super.addValidationLevels(validationLevels);
return this;
}
/**
* Adds the given items to the value of "validationLevels"
*
* @param validationLevels
* Items to add to the value of the "validationLevels" property
*/
@Override
public SIACapRestriction.Builder<_B> addValidationLevels(Validation... validationLevels) {
super.addValidationLevels(validationLevels);
return this;
}
/**
* Sets the new value of "validationLevels" (any previous value will be replaced)
*
* @param validationLevels
* New value of the "validationLevels" property.
*/
@Override
public SIACapRestriction.Builder<_B> withValidationLevels(final Iterable extends Validation> validationLevels) {
super.withValidationLevels(validationLevels);
return this;
}
/**
* Sets the new value of "validationLevels" (any previous value will be replaced)
*
* @param validationLevels
* New value of the "validationLevels" property.
*/
@Override
public SIACapRestriction.Builder<_B> withValidationLevels(Validation... validationLevels) {
super.withValidationLevels(validationLevels);
return this;
}
/**
* Sets the new value of "description" (any previous value will be replaced)
*
* @param description
* New value of the "description" property.
*/
@Override
public SIACapRestriction.Builder<_B> withDescription(final String description) {
super.withDescription(description);
return this;
}
/**
* Adds the given items to the value of "interfaces"
*
* @param interfaces
* Items to add to the value of the "interfaces" property
*/
@Override
public SIACapRestriction.Builder<_B> addInterfaces(final Iterable extends ServiceInterface> interfaces) {
super.addInterfaces(interfaces);
return this;
}
/**
* Adds the given items to the value of "interfaces"
*
* @param interfaces
* Items to add to the value of the "interfaces" property
*/
@Override
public SIACapRestriction.Builder<_B> addInterfaces(ServiceInterface... interfaces) {
super.addInterfaces(interfaces);
return this;
}
/**
* Sets the new value of "interfaces" (any previous value will be replaced)
*
* @param interfaces
* New value of the "interfaces" property.
*/
@Override
public SIACapRestriction.Builder<_B> withInterfaces(final Iterable extends ServiceInterface> interfaces) {
super.withInterfaces(interfaces);
return this;
}
/**
* Sets the new value of "interfaces" (any previous value will be replaced)
*
* @param interfaces
* New value of the "interfaces" property.
*/
@Override
public SIACapRestriction.Builder<_B> withInterfaces(ServiceInterface... interfaces) {
super.withInterfaces(interfaces);
return this;
}
/**
* Sets the new value of "standardID" (any previous value will be replaced)
*
* @param standardID
* New value of the "standardID" property.
*/
@Override
public SIACapRestriction.Builder<_B> withStandardID(final String standardID) {
super.withStandardID(standardID);
return this;
}
@Override
public SIACapRestriction build() {
return ((SIACapRestriction) _storedValue);
}
public SIACapRestriction.Builder<_B> copyOf(final SIACapRestriction _other) {
_other.copyTo(this);
return this;
}
public SIACapRestriction.Builder<_B> copyOf(final SIACapRestriction.Builder _other) {
return copyOf(_other.build());
}
}
public class Modifier
extends Capability.Modifier
{
}
public static class PropInfo {
}
public static class Select
extends SIACapRestriction.Selector
{
Select() {
super(null, null, null);
}
public static SIACapRestriction.Select _root() {
return new SIACapRestriction.Select();
}
}
public static class Selector , TParent >
extends Capability.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