org.cassandraunit.type
Class GenericType

java.lang.Object
  extended by org.cassandraunit.type.GenericType

public class GenericType
extends Object

Author:
Jeremy Sevellec

Constructor Summary
GenericType(String[] compositeValues, GenericTypeEnum[] typesBelongingCompositeType)
          constructor to use with the compositeType
GenericType(String value, GenericTypeEnum type)
           
 
Method Summary
 String[] getCompositeValues()
           
 GenericTypeEnum getType()
           
 GenericTypeEnum[] getTypesBelongingCompositeType()
           
 String getValue()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenericType

public GenericType(String value,
                   GenericTypeEnum type)

GenericType

public GenericType(String[] compositeValues,
                   GenericTypeEnum[] typesBelongingCompositeType)
constructor to use with the compositeType

Parameters:
compositeValues - the string array of values
typesBelongingCompositeType - the type array belonging the compositeType
Method Detail

getValue

public String getValue()

toString

public String toString()
Overrides:
toString in class Object

getType

public GenericTypeEnum getType()

getTypesBelongingCompositeType

public GenericTypeEnum[] getTypesBelongingCompositeType()

getCompositeValues

public String[] getCompositeValues()


Copyright © 2012. All Rights Reserved.