org.cassandraunit.dataset.xml
Class Keyspace

java.lang.Object
  extended by org.cassandraunit.dataset.xml.Keyspace

public class Keyspace
extends Object

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>
 


Field Summary
protected  ColumnFamilies columnFamilies
           
protected  String name
           
protected  Integer replicationFactor
           
protected  Strategy strategy
           
 
Constructor Summary
Keyspace()
           
 
Method Summary
 ColumnFamilies getColumnFamilies()
          Gets the value of the columnFamilies property.
 String getName()
          Gets the value of the name property.
 Integer getReplicationFactor()
          Gets the value of the replicationFactor property.
 Strategy getStrategy()
          Gets the value of the strategy property.
 void setColumnFamilies(ColumnFamilies value)
          Sets the value of the columnFamilies property.
 void setName(String value)
          Sets the value of the name property.
 void setReplicationFactor(Integer value)
          Sets the value of the replicationFactor property.
 void setStrategy(Strategy value)
          Sets the value of the strategy property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

strategy

protected Strategy strategy

replicationFactor

protected Integer replicationFactor

columnFamilies

protected ColumnFamilies columnFamilies
Constructor Detail

Keyspace

public Keyspace()
Method Detail

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getStrategy

public Strategy getStrategy()
Gets the value of the strategy property.

Returns:
possible object is Strategy

setStrategy

public void setStrategy(Strategy value)
Sets the value of the strategy property.

Parameters:
value - allowed object is Strategy

getReplicationFactor

public Integer getReplicationFactor()
Gets the value of the replicationFactor property.

Returns:
possible object is Integer

setReplicationFactor

public void setReplicationFactor(Integer value)
Sets the value of the replicationFactor property.

Parameters:
value - allowed object is Integer

getColumnFamilies

public ColumnFamilies getColumnFamilies()
Gets the value of the columnFamilies property.

Returns:
possible object is ColumnFamilies

setColumnFamilies

public void setColumnFamilies(ColumnFamilies value)
Sets the value of the columnFamilies property.

Parameters:
value - allowed object is ColumnFamilies


Copyright © 2011. All Rights Reserved.