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

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

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2011.08.28 at 11:20:10 PM CEST 
//


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://xml.dataset.cassandraunit.org}DataType" minOccurs="0"/>
 *         <element name="comparatorType" type="{http://xml.dataset.cassandraunit.org}DataType" 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="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", "row" }) public class ColumnFamily { @XmlElement(required = true) protected String name; protected ColumnFamilyType type; protected DataType keyType; protected DataType comparatorType; protected DataType subComparatorType; protected DataType defaultColumnValueType; 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 DataType } * */ public DataType getKeyType() { return keyType; } /** * Sets the value of the keyType property. * * @param value * allowed object is * {@link DataType } * */ public void setKeyType(DataType value) { this.keyType = value; } /** * Gets the value of the comparatorType property. * * @return * possible object is * {@link DataType } * */ public DataType getComparatorType() { return comparatorType; } /** * Sets the value of the comparatorType property. * * @param value * allowed object is * {@link DataType } * */ public void setComparatorType(DataType 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 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