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

org.finra.herd.model.api.xml.Schema Maven / Gradle / Ivy


package org.finra.herd.model.api.xml;

import java.io.Serializable;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlType;
import org.eclipse.persistence.oxm.annotations.XmlCDATA;
import org.jvnet.jaxb2_commons.lang.CopyStrategy2;
import org.jvnet.jaxb2_commons.lang.CopyTo2;
import org.jvnet.jaxb2_commons.lang.Equals2;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
import org.jvnet.jaxb2_commons.lang.HashCode2;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy2;
import org.jvnet.jaxb2_commons.lang.JAXBCopyStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString2;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy2;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;


/**
 * 

Java class for schema complex type. * *

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

 * <complexType name="schema">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <all>
 *         <element name="columns" type="{}schemaColumns"/>
 *         <element name="partitions" type="{}schemaColumns" minOccurs="0"/>
 *         <element name="nullValue" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="delimiter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="collectionItemsDelimiter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="mapKeysDelimiter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="escapeCharacter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="customRowFormat" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="customClusteredBy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="partitionKeyGroup" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       </all>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "schema", propOrder = { }) public class Schema implements Serializable, Cloneable, CopyTo2, Equals2, HashCode2, ToString2 { private final static long serialVersionUID = -1L; @XmlElementWrapper(required = true) @XmlElement(name = "column") protected List columns; @XmlElementWrapper @XmlElement(name = "column") protected List partitions; protected String nullValue; protected String delimiter; protected String collectionItemsDelimiter; protected String mapKeysDelimiter; protected String escapeCharacter; @XmlCDATA protected String customRowFormat; @XmlCDATA protected String customClusteredBy; protected String partitionKeyGroup; /** * Default no-arg constructor * */ public Schema() { super(); } /** * Fully-initialising value constructor * */ public Schema(final List columns, final List partitions, final String nullValue, final String delimiter, final String collectionItemsDelimiter, final String mapKeysDelimiter, final String escapeCharacter, final String customRowFormat, final String customClusteredBy, final String partitionKeyGroup) { this.columns = columns; this.partitions = partitions; this.nullValue = nullValue; this.delimiter = delimiter; this.collectionItemsDelimiter = collectionItemsDelimiter; this.mapKeysDelimiter = mapKeysDelimiter; this.escapeCharacter = escapeCharacter; this.customRowFormat = customRowFormat; this.customClusteredBy = customClusteredBy; this.partitionKeyGroup = partitionKeyGroup; } /** * Gets the value of the nullValue property. * * @return * possible object is * {@link String } * */ public String getNullValue() { return nullValue; } /** * Sets the value of the nullValue property. * * @param value * allowed object is * {@link String } * */ public void setNullValue(String value) { this.nullValue = value; } /** * Gets the value of the delimiter property. * * @return * possible object is * {@link String } * */ public String getDelimiter() { return delimiter; } /** * Sets the value of the delimiter property. * * @param value * allowed object is * {@link String } * */ public void setDelimiter(String value) { this.delimiter = value; } /** * Gets the value of the collectionItemsDelimiter property. * * @return * possible object is * {@link String } * */ public String getCollectionItemsDelimiter() { return collectionItemsDelimiter; } /** * Sets the value of the collectionItemsDelimiter property. * * @param value * allowed object is * {@link String } * */ public void setCollectionItemsDelimiter(String value) { this.collectionItemsDelimiter = value; } /** * Gets the value of the mapKeysDelimiter property. * * @return * possible object is * {@link String } * */ public String getMapKeysDelimiter() { return mapKeysDelimiter; } /** * Sets the value of the mapKeysDelimiter property. * * @param value * allowed object is * {@link String } * */ public void setMapKeysDelimiter(String value) { this.mapKeysDelimiter = value; } /** * Gets the value of the escapeCharacter property. * * @return * possible object is * {@link String } * */ public String getEscapeCharacter() { return escapeCharacter; } /** * Sets the value of the escapeCharacter property. * * @param value * allowed object is * {@link String } * */ public void setEscapeCharacter(String value) { this.escapeCharacter = value; } /** * Gets the value of the customRowFormat property. * * @return * possible object is * {@link String } * */ public String getCustomRowFormat() { return customRowFormat; } /** * Sets the value of the customRowFormat property. * * @param value * allowed object is * {@link String } * */ public void setCustomRowFormat(String value) { this.customRowFormat = value; } /** * Gets the value of the customClusteredBy property. * * @return * possible object is * {@link String } * */ public String getCustomClusteredBy() { return customClusteredBy; } /** * Sets the value of the customClusteredBy property. * * @param value * allowed object is * {@link String } * */ public void setCustomClusteredBy(String value) { this.customClusteredBy = value; } /** * Gets the value of the partitionKeyGroup property. * * @return * possible object is * {@link String } * */ public String getPartitionKeyGroup() { return partitionKeyGroup; } /** * Sets the value of the partitionKeyGroup property. * * @param value * allowed object is * {@link String } * */ public void setPartitionKeyGroup(String value) { this.partitionKeyGroup = value; } public List getColumns() { return columns; } public void setColumns(List columns) { this.columns = columns; } public List getPartitions() { return partitions; } public void setPartitions(List partitions) { this.partitions = partitions; } public String toString() { final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); } public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; } public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { List theColumns; theColumns = ((this.columns!= null)?this.getColumns():null); strategy.appendField(locator, this, "columns", buffer, theColumns, (this.columns!= null)); } { List thePartitions; thePartitions = ((this.partitions!= null)?this.getPartitions():null); strategy.appendField(locator, this, "partitions", buffer, thePartitions, (this.partitions!= null)); } { String theNullValue; theNullValue = this.getNullValue(); strategy.appendField(locator, this, "nullValue", buffer, theNullValue, (this.nullValue!= null)); } { String theDelimiter; theDelimiter = this.getDelimiter(); strategy.appendField(locator, this, "delimiter", buffer, theDelimiter, (this.delimiter!= null)); } { String theCollectionItemsDelimiter; theCollectionItemsDelimiter = this.getCollectionItemsDelimiter(); strategy.appendField(locator, this, "collectionItemsDelimiter", buffer, theCollectionItemsDelimiter, (this.collectionItemsDelimiter!= null)); } { String theMapKeysDelimiter; theMapKeysDelimiter = this.getMapKeysDelimiter(); strategy.appendField(locator, this, "mapKeysDelimiter", buffer, theMapKeysDelimiter, (this.mapKeysDelimiter!= null)); } { String theEscapeCharacter; theEscapeCharacter = this.getEscapeCharacter(); strategy.appendField(locator, this, "escapeCharacter", buffer, theEscapeCharacter, (this.escapeCharacter!= null)); } { String theCustomRowFormat; theCustomRowFormat = this.getCustomRowFormat(); strategy.appendField(locator, this, "customRowFormat", buffer, theCustomRowFormat, (this.customRowFormat!= null)); } { String theCustomClusteredBy; theCustomClusteredBy = this.getCustomClusteredBy(); strategy.appendField(locator, this, "customClusteredBy", buffer, theCustomClusteredBy, (this.customClusteredBy!= null)); } { String thePartitionKeyGroup; thePartitionKeyGroup = this.getPartitionKeyGroup(); strategy.appendField(locator, this, "partitionKeyGroup", buffer, thePartitionKeyGroup, (this.partitionKeyGroup!= null)); } return buffer; } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) { if ((object == null)||(this.getClass()!= object.getClass())) { return false; } if (this == object) { return true; } final Schema that = ((Schema) object); { List lhsColumns; lhsColumns = ((this.columns!= null)?this.getColumns():null); List rhsColumns; rhsColumns = ((that.columns!= null)?that.getColumns():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "columns", lhsColumns), LocatorUtils.property(thatLocator, "columns", rhsColumns), lhsColumns, rhsColumns, (this.columns!= null), (that.columns!= null))) { return false; } } { List lhsPartitions; lhsPartitions = ((this.partitions!= null)?this.getPartitions():null); List rhsPartitions; rhsPartitions = ((that.partitions!= null)?that.getPartitions():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "partitions", lhsPartitions), LocatorUtils.property(thatLocator, "partitions", rhsPartitions), lhsPartitions, rhsPartitions, (this.partitions!= null), (that.partitions!= null))) { return false; } } { String lhsNullValue; lhsNullValue = this.getNullValue(); String rhsNullValue; rhsNullValue = that.getNullValue(); if (!strategy.equals(LocatorUtils.property(thisLocator, "nullValue", lhsNullValue), LocatorUtils.property(thatLocator, "nullValue", rhsNullValue), lhsNullValue, rhsNullValue, (this.nullValue!= null), (that.nullValue!= null))) { return false; } } { String lhsDelimiter; lhsDelimiter = this.getDelimiter(); String rhsDelimiter; rhsDelimiter = that.getDelimiter(); if (!strategy.equals(LocatorUtils.property(thisLocator, "delimiter", lhsDelimiter), LocatorUtils.property(thatLocator, "delimiter", rhsDelimiter), lhsDelimiter, rhsDelimiter, (this.delimiter!= null), (that.delimiter!= null))) { return false; } } { String lhsCollectionItemsDelimiter; lhsCollectionItemsDelimiter = this.getCollectionItemsDelimiter(); String rhsCollectionItemsDelimiter; rhsCollectionItemsDelimiter = that.getCollectionItemsDelimiter(); if (!strategy.equals(LocatorUtils.property(thisLocator, "collectionItemsDelimiter", lhsCollectionItemsDelimiter), LocatorUtils.property(thatLocator, "collectionItemsDelimiter", rhsCollectionItemsDelimiter), lhsCollectionItemsDelimiter, rhsCollectionItemsDelimiter, (this.collectionItemsDelimiter!= null), (that.collectionItemsDelimiter!= null))) { return false; } } { String lhsMapKeysDelimiter; lhsMapKeysDelimiter = this.getMapKeysDelimiter(); String rhsMapKeysDelimiter; rhsMapKeysDelimiter = that.getMapKeysDelimiter(); if (!strategy.equals(LocatorUtils.property(thisLocator, "mapKeysDelimiter", lhsMapKeysDelimiter), LocatorUtils.property(thatLocator, "mapKeysDelimiter", rhsMapKeysDelimiter), lhsMapKeysDelimiter, rhsMapKeysDelimiter, (this.mapKeysDelimiter!= null), (that.mapKeysDelimiter!= null))) { return false; } } { String lhsEscapeCharacter; lhsEscapeCharacter = this.getEscapeCharacter(); String rhsEscapeCharacter; rhsEscapeCharacter = that.getEscapeCharacter(); if (!strategy.equals(LocatorUtils.property(thisLocator, "escapeCharacter", lhsEscapeCharacter), LocatorUtils.property(thatLocator, "escapeCharacter", rhsEscapeCharacter), lhsEscapeCharacter, rhsEscapeCharacter, (this.escapeCharacter!= null), (that.escapeCharacter!= null))) { return false; } } { String lhsCustomRowFormat; lhsCustomRowFormat = this.getCustomRowFormat(); String rhsCustomRowFormat; rhsCustomRowFormat = that.getCustomRowFormat(); if (!strategy.equals(LocatorUtils.property(thisLocator, "customRowFormat", lhsCustomRowFormat), LocatorUtils.property(thatLocator, "customRowFormat", rhsCustomRowFormat), lhsCustomRowFormat, rhsCustomRowFormat, (this.customRowFormat!= null), (that.customRowFormat!= null))) { return false; } } { String lhsCustomClusteredBy; lhsCustomClusteredBy = this.getCustomClusteredBy(); String rhsCustomClusteredBy; rhsCustomClusteredBy = that.getCustomClusteredBy(); if (!strategy.equals(LocatorUtils.property(thisLocator, "customClusteredBy", lhsCustomClusteredBy), LocatorUtils.property(thatLocator, "customClusteredBy", rhsCustomClusteredBy), lhsCustomClusteredBy, rhsCustomClusteredBy, (this.customClusteredBy!= null), (that.customClusteredBy!= null))) { return false; } } { String lhsPartitionKeyGroup; lhsPartitionKeyGroup = this.getPartitionKeyGroup(); String rhsPartitionKeyGroup; rhsPartitionKeyGroup = that.getPartitionKeyGroup(); if (!strategy.equals(LocatorUtils.property(thisLocator, "partitionKeyGroup", lhsPartitionKeyGroup), LocatorUtils.property(thatLocator, "partitionKeyGroup", rhsPartitionKeyGroup), lhsPartitionKeyGroup, rhsPartitionKeyGroup, (this.partitionKeyGroup!= null), (that.partitionKeyGroup!= null))) { return false; } } return true; } public boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); } public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { List theColumns; theColumns = ((this.columns!= null)?this.getColumns():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "columns", theColumns), currentHashCode, theColumns, (this.columns!= null)); } { List thePartitions; thePartitions = ((this.partitions!= null)?this.getPartitions():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "partitions", thePartitions), currentHashCode, thePartitions, (this.partitions!= null)); } { String theNullValue; theNullValue = this.getNullValue(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "nullValue", theNullValue), currentHashCode, theNullValue, (this.nullValue!= null)); } { String theDelimiter; theDelimiter = this.getDelimiter(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "delimiter", theDelimiter), currentHashCode, theDelimiter, (this.delimiter!= null)); } { String theCollectionItemsDelimiter; theCollectionItemsDelimiter = this.getCollectionItemsDelimiter(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "collectionItemsDelimiter", theCollectionItemsDelimiter), currentHashCode, theCollectionItemsDelimiter, (this.collectionItemsDelimiter!= null)); } { String theMapKeysDelimiter; theMapKeysDelimiter = this.getMapKeysDelimiter(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "mapKeysDelimiter", theMapKeysDelimiter), currentHashCode, theMapKeysDelimiter, (this.mapKeysDelimiter!= null)); } { String theEscapeCharacter; theEscapeCharacter = this.getEscapeCharacter(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "escapeCharacter", theEscapeCharacter), currentHashCode, theEscapeCharacter, (this.escapeCharacter!= null)); } { String theCustomRowFormat; theCustomRowFormat = this.getCustomRowFormat(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "customRowFormat", theCustomRowFormat), currentHashCode, theCustomRowFormat, (this.customRowFormat!= null)); } { String theCustomClusteredBy; theCustomClusteredBy = this.getCustomClusteredBy(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "customClusteredBy", theCustomClusteredBy), currentHashCode, theCustomClusteredBy, (this.customClusteredBy!= null)); } { String thePartitionKeyGroup; thePartitionKeyGroup = this.getPartitionKeyGroup(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "partitionKeyGroup", thePartitionKeyGroup), currentHashCode, thePartitionKeyGroup, (this.partitionKeyGroup!= null)); } return currentHashCode; } public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } public Object clone() { return copyTo(createNewInstance()); } public Object copyTo(Object target) { final CopyStrategy2 strategy = JAXBCopyStrategy.INSTANCE; return copyTo(null, target, strategy); } public Object copyTo(ObjectLocator locator, Object target, CopyStrategy2 strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); if (draftCopy instanceof Schema) { final Schema copy = ((Schema) draftCopy); { Boolean columnsShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.columns!= null)); if (columnsShouldBeCopiedAndSet == Boolean.TRUE) { List sourceColumns; sourceColumns = ((this.columns!= null)?this.getColumns():null); @SuppressWarnings("unchecked") List copyColumns = ((List ) strategy.copy(LocatorUtils.property(locator, "columns", sourceColumns), sourceColumns, (this.columns!= null))); copy.columns = null; if (copyColumns!= null) { copy.setColumns(copyColumns); } } else { if (columnsShouldBeCopiedAndSet == Boolean.FALSE) { copy.columns = null; } } } { Boolean partitionsShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.partitions!= null)); if (partitionsShouldBeCopiedAndSet == Boolean.TRUE) { List sourcePartitions; sourcePartitions = ((this.partitions!= null)?this.getPartitions():null); @SuppressWarnings("unchecked") List copyPartitions = ((List ) strategy.copy(LocatorUtils.property(locator, "partitions", sourcePartitions), sourcePartitions, (this.partitions!= null))); copy.partitions = null; if (copyPartitions!= null) { copy.setPartitions(copyPartitions); } } else { if (partitionsShouldBeCopiedAndSet == Boolean.FALSE) { copy.partitions = null; } } } { Boolean nullValueShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.nullValue!= null)); if (nullValueShouldBeCopiedAndSet == Boolean.TRUE) { String sourceNullValue; sourceNullValue = this.getNullValue(); String copyNullValue = ((String) strategy.copy(LocatorUtils.property(locator, "nullValue", sourceNullValue), sourceNullValue, (this.nullValue!= null))); copy.setNullValue(copyNullValue); } else { if (nullValueShouldBeCopiedAndSet == Boolean.FALSE) { copy.nullValue = null; } } } { Boolean delimiterShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.delimiter!= null)); if (delimiterShouldBeCopiedAndSet == Boolean.TRUE) { String sourceDelimiter; sourceDelimiter = this.getDelimiter(); String copyDelimiter = ((String) strategy.copy(LocatorUtils.property(locator, "delimiter", sourceDelimiter), sourceDelimiter, (this.delimiter!= null))); copy.setDelimiter(copyDelimiter); } else { if (delimiterShouldBeCopiedAndSet == Boolean.FALSE) { copy.delimiter = null; } } } { Boolean collectionItemsDelimiterShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.collectionItemsDelimiter!= null)); if (collectionItemsDelimiterShouldBeCopiedAndSet == Boolean.TRUE) { String sourceCollectionItemsDelimiter; sourceCollectionItemsDelimiter = this.getCollectionItemsDelimiter(); String copyCollectionItemsDelimiter = ((String) strategy.copy(LocatorUtils.property(locator, "collectionItemsDelimiter", sourceCollectionItemsDelimiter), sourceCollectionItemsDelimiter, (this.collectionItemsDelimiter!= null))); copy.setCollectionItemsDelimiter(copyCollectionItemsDelimiter); } else { if (collectionItemsDelimiterShouldBeCopiedAndSet == Boolean.FALSE) { copy.collectionItemsDelimiter = null; } } } { Boolean mapKeysDelimiterShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.mapKeysDelimiter!= null)); if (mapKeysDelimiterShouldBeCopiedAndSet == Boolean.TRUE) { String sourceMapKeysDelimiter; sourceMapKeysDelimiter = this.getMapKeysDelimiter(); String copyMapKeysDelimiter = ((String) strategy.copy(LocatorUtils.property(locator, "mapKeysDelimiter", sourceMapKeysDelimiter), sourceMapKeysDelimiter, (this.mapKeysDelimiter!= null))); copy.setMapKeysDelimiter(copyMapKeysDelimiter); } else { if (mapKeysDelimiterShouldBeCopiedAndSet == Boolean.FALSE) { copy.mapKeysDelimiter = null; } } } { Boolean escapeCharacterShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.escapeCharacter!= null)); if (escapeCharacterShouldBeCopiedAndSet == Boolean.TRUE) { String sourceEscapeCharacter; sourceEscapeCharacter = this.getEscapeCharacter(); String copyEscapeCharacter = ((String) strategy.copy(LocatorUtils.property(locator, "escapeCharacter", sourceEscapeCharacter), sourceEscapeCharacter, (this.escapeCharacter!= null))); copy.setEscapeCharacter(copyEscapeCharacter); } else { if (escapeCharacterShouldBeCopiedAndSet == Boolean.FALSE) { copy.escapeCharacter = null; } } } { Boolean customRowFormatShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.customRowFormat!= null)); if (customRowFormatShouldBeCopiedAndSet == Boolean.TRUE) { String sourceCustomRowFormat; sourceCustomRowFormat = this.getCustomRowFormat(); String copyCustomRowFormat = ((String) strategy.copy(LocatorUtils.property(locator, "customRowFormat", sourceCustomRowFormat), sourceCustomRowFormat, (this.customRowFormat!= null))); copy.setCustomRowFormat(copyCustomRowFormat); } else { if (customRowFormatShouldBeCopiedAndSet == Boolean.FALSE) { copy.customRowFormat = null; } } } { Boolean customClusteredByShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.customClusteredBy!= null)); if (customClusteredByShouldBeCopiedAndSet == Boolean.TRUE) { String sourceCustomClusteredBy; sourceCustomClusteredBy = this.getCustomClusteredBy(); String copyCustomClusteredBy = ((String) strategy.copy(LocatorUtils.property(locator, "customClusteredBy", sourceCustomClusteredBy), sourceCustomClusteredBy, (this.customClusteredBy!= null))); copy.setCustomClusteredBy(copyCustomClusteredBy); } else { if (customClusteredByShouldBeCopiedAndSet == Boolean.FALSE) { copy.customClusteredBy = null; } } } { Boolean partitionKeyGroupShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.partitionKeyGroup!= null)); if (partitionKeyGroupShouldBeCopiedAndSet == Boolean.TRUE) { String sourcePartitionKeyGroup; sourcePartitionKeyGroup = this.getPartitionKeyGroup(); String copyPartitionKeyGroup = ((String) strategy.copy(LocatorUtils.property(locator, "partitionKeyGroup", sourcePartitionKeyGroup), sourcePartitionKeyGroup, (this.partitionKeyGroup!= null))); copy.setPartitionKeyGroup(copyPartitionKeyGroup); } else { if (partitionKeyGroupShouldBeCopiedAndSet == Boolean.FALSE) { copy.partitionKeyGroup = null; } } } } return draftCopy; } public Object createNewInstance() { return new Schema(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy