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

org.cassandraunit.dataset.xml.ColumnFamily Maven / Gradle / Ivy

There is a newer version: 4.3.1.0
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2016.03.18 at 10:22:26 AM CET 
//


package org.cassandraunit.dataset.xml;

import java.util.ArrayList;
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.XmlType;


/**
 * 

Java class for ColumnFamily complex type. * *

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

 * <complexType name="ColumnFamily">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="type" type="{http://xml.dataset.cassandraunit.org}ColumnFamilyType" minOccurs="0"/>
 *         <element name="keyType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="comparatorType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="subComparatorType" type="{http://xml.dataset.cassandraunit.org}DataType" minOccurs="0"/>
 *         <element name="defaultColumnValueType" type="{http://xml.dataset.cassandraunit.org}DataType" minOccurs="0"/>
 *         <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="compactionStrategy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="compactionStrategyOptions" type="{http://xml.dataset.cassandraunit.org}CompactionStrategyOptions" minOccurs="0"/>
 *         <element name="gcGraceSeconds" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="maxCompactionThreshold" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="minCompactionThreshold" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="readRepairChance" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
 *         <element name="replicationOnWrite" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="columnMetadata" type="{http://xml.dataset.cassandraunit.org}ColumnMetadata" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="row" type="{http://xml.dataset.cassandraunit.org}Row" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ColumnFamily", propOrder = { "name", "type", "keyType", "comparatorType", "subComparatorType", "defaultColumnValueType", "comment", "compactionStrategy", "compactionStrategyOptions", "gcGraceSeconds", "maxCompactionThreshold", "minCompactionThreshold", "readRepairChance", "replicationOnWrite", "columnMetadata", "row" }) public class ColumnFamily { @XmlElement(required = true) protected String name; protected ColumnFamilyType type; protected String keyType; protected String comparatorType; protected DataType subComparatorType; protected DataType defaultColumnValueType; protected String comment; protected String compactionStrategy; protected CompactionStrategyOptions compactionStrategyOptions; protected Integer gcGraceSeconds; protected Integer maxCompactionThreshold; protected Integer minCompactionThreshold; protected Double readRepairChance; protected Boolean replicationOnWrite; protected List columnMetadata; protected List row; /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link ColumnFamilyType } * */ public ColumnFamilyType getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link ColumnFamilyType } * */ public void setType(ColumnFamilyType value) { this.type = value; } /** * Gets the value of the keyType property. * * @return * possible object is * {@link String } * */ public String getKeyType() { return keyType; } /** * Sets the value of the keyType property. * * @param value * allowed object is * {@link String } * */ public void setKeyType(String value) { this.keyType = value; } /** * Gets the value of the comparatorType property. * * @return * possible object is * {@link String } * */ public String getComparatorType() { return comparatorType; } /** * Sets the value of the comparatorType property. * * @param value * allowed object is * {@link String } * */ public void setComparatorType(String value) { this.comparatorType = value; } /** * Gets the value of the subComparatorType property. * * @return * possible object is * {@link DataType } * */ public DataType getSubComparatorType() { return subComparatorType; } /** * Sets the value of the subComparatorType property. * * @param value * allowed object is * {@link DataType } * */ public void setSubComparatorType(DataType value) { this.subComparatorType = value; } /** * Gets the value of the defaultColumnValueType property. * * @return * possible object is * {@link DataType } * */ public DataType getDefaultColumnValueType() { return defaultColumnValueType; } /** * Sets the value of the defaultColumnValueType property. * * @param value * allowed object is * {@link DataType } * */ public void setDefaultColumnValueType(DataType value) { this.defaultColumnValueType = value; } /** * Gets the value of the comment property. * * @return * possible object is * {@link String } * */ public String getComment() { return comment; } /** * Sets the value of the comment property. * * @param value * allowed object is * {@link String } * */ public void setComment(String value) { this.comment = value; } /** * Gets the value of the compactionStrategy property. * * @return * possible object is * {@link String } * */ public String getCompactionStrategy() { return compactionStrategy; } /** * Sets the value of the compactionStrategy property. * * @param value * allowed object is * {@link String } * */ public void setCompactionStrategy(String value) { this.compactionStrategy = value; } /** * Gets the value of the compactionStrategyOptions property. * * @return * possible object is * {@link CompactionStrategyOptions } * */ public CompactionStrategyOptions getCompactionStrategyOptions() { return compactionStrategyOptions; } /** * Sets the value of the compactionStrategyOptions property. * * @param value * allowed object is * {@link CompactionStrategyOptions } * */ public void setCompactionStrategyOptions(CompactionStrategyOptions value) { this.compactionStrategyOptions = value; } /** * Gets the value of the gcGraceSeconds property. * * @return * possible object is * {@link Integer } * */ public Integer getGcGraceSeconds() { return gcGraceSeconds; } /** * Sets the value of the gcGraceSeconds property. * * @param value * allowed object is * {@link Integer } * */ public void setGcGraceSeconds(Integer value) { this.gcGraceSeconds = value; } /** * Gets the value of the maxCompactionThreshold property. * * @return * possible object is * {@link Integer } * */ public Integer getMaxCompactionThreshold() { return maxCompactionThreshold; } /** * Sets the value of the maxCompactionThreshold property. * * @param value * allowed object is * {@link Integer } * */ public void setMaxCompactionThreshold(Integer value) { this.maxCompactionThreshold = value; } /** * Gets the value of the minCompactionThreshold property. * * @return * possible object is * {@link Integer } * */ public Integer getMinCompactionThreshold() { return minCompactionThreshold; } /** * Sets the value of the minCompactionThreshold property. * * @param value * allowed object is * {@link Integer } * */ public void setMinCompactionThreshold(Integer value) { this.minCompactionThreshold = value; } /** * Gets the value of the readRepairChance property. * * @return * possible object is * {@link Double } * */ public Double getReadRepairChance() { return readRepairChance; } /** * Sets the value of the readRepairChance property. * * @param value * allowed object is * {@link Double } * */ public void setReadRepairChance(Double value) { this.readRepairChance = value; } /** * Gets the value of the replicationOnWrite property. * * @return * possible object is * {@link Boolean } * */ public Boolean getReplicationOnWrite() { return replicationOnWrite; } /** * Sets the value of the replicationOnWrite property. * * @param value * allowed object is * {@link Boolean } * */ public void setReplicationOnWrite(Boolean value) { this.replicationOnWrite = value; } /** * Gets the value of the columnMetadata 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 columnMetadata property. * *

* For example, to add a new item, do as follows: *

     *    getColumnMetadata().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ColumnMetadata } * * */ public List getColumnMetadata() { if (columnMetadata == null) { columnMetadata = new ArrayList(); } return this.columnMetadata; } /** * Gets the value of the row 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 row property. * *

* For example, to add a new item, do as follows: *

     *    getRow().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Row } * * */ public List getRow() { if (row == null) { row = new ArrayList(); } return this.row; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy