Package com.netflix.astyanax.cql.test.entitymapper.EntityMapperTests.SampleTestCompositeEntity

Examples of com.netflix.astyanax.cql.test.entitymapper.EntityMapperTests.SampleTestCompositeEntity.InnerEntity


      testEntity.testString = "testString1";
      testEntity.testDouble = 3.0;
      testEntity.testFloat = 4.0f;
      testEntity.testBoolean = true;
     
      testEntity.inner = new InnerEntity();
      testEntity.inner.testInnerInt = 11;
      testEntity.inner.testInnerLong = 22L;
      testEntity.inner.testInnerString = "testInnserString1";
     
      // PUT
View Full Code Here


         
          if (this == obj) return true;
          if (obj == null) return false;
          if (getClass() != obj.getClass()) return false;
         
          InnerEntity other = (InnerEntity) obj;
          boolean equal = true;
          equal &=  testInnerInt == other.testInnerInt;
          equal &=  testInnerLong == other.testInnerLong;
          equal &=  (testInnerString != null) ? testInnerString.equals(other.testInnerString) : other.testInnerString == null;
          return equal;
View Full Code Here

TOP

Related Classes of com.netflix.astyanax.cql.test.entitymapper.EntityMapperTests.SampleTestCompositeEntity.InnerEntity

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.