org.cassandraunit.dataset.xml.Keyspace Maven / Gradle / Ivy
//
// 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: 2013.12.02 at 11:33:34 AM CET
//
package org.cassandraunit.dataset.xml;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="strategy" type="{http://xml.dataset.cassandraunit.org}Strategy" minOccurs="0"/>
* <element name="replicationFactor" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="columnFamilies" type="{http://xml.dataset.cassandraunit.org}ColumnFamilies" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"name",
"strategy",
"replicationFactor",
"columnFamilies"
})
@XmlRootElement(name = "keyspace")
public class Keyspace {
@XmlElement(required = true)
protected String name;
protected Strategy strategy;
protected Integer replicationFactor;
protected ColumnFamilies columnFamilies;
/**
* 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 strategy property.
*
* @return
* possible object is
* {@link Strategy }
*
*/
public Strategy getStrategy() {
return strategy;
}
/**
* Sets the value of the strategy property.
*
* @param value
* allowed object is
* {@link Strategy }
*
*/
public void setStrategy(Strategy value) {
this.strategy = value;
}
/**
* Gets the value of the replicationFactor property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getReplicationFactor() {
return replicationFactor;
}
/**
* Sets the value of the replicationFactor property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setReplicationFactor(Integer value) {
this.replicationFactor = value;
}
/**
* Gets the value of the columnFamilies property.
*
* @return
* possible object is
* {@link ColumnFamilies }
*
*/
public ColumnFamilies getColumnFamilies() {
return columnFamilies;
}
/**
* Sets the value of the columnFamilies property.
*
* @param value
* allowed object is
* {@link ColumnFamilies }
*
*/
public void setColumnFamilies(ColumnFamilies value) {
this.columnFamilies = value;
}
}