e.setKey(entry.getKey()); e.setValue(entry.getValue()); xp.getFullPartitionSpec().getPartSpecElement().add(e);
e.setKey(entry.getKey()); e.setValue(entry.getValue()); xp.getFullPartitionSpec().getPartSpecElement().add(e);
assertEquals(readPartition.getTimePartitionSpec(), xp.getTimePartitionSpec()); assertEquals(readPartition.getNonTimePartitionSpec(), xp.getNonTimePartitionSpec()); assertNotNull(readPartition.getFullPartitionSpec()); XTimePartSpecElement timePartSpec = readPartition.getTimePartitionSpec().getPartSpecElement().iterator().next(); XPartSpecElement fullPartSpec = readPartition.getFullPartitionSpec().getPartSpecElement().iterator().next(); assertEquals(timePartSpec.getKey(), fullPartSpec.getKey()); assertEquals(
assertNotNull(postedPartition.getFullPartitionSpec()); XPartSpecElement fullPartSpec = postedPartition.getFullPartitionSpec().getPartSpecElement().iterator().next(); assertEquals(timePartSpec.getKey(), fullPartSpec.getKey()); assertEquals(UpdatePeriod.valueOf(xp.getUpdatePeriod().name()).format(JAXBUtils.getDateFromXML( assertEquals(latestPartition.getFullPartitionSpec().getPartSpecElement().get(0).getValue(), "latest");
assertEquals(readPartition.getTimePartitionSpec(), xp.getTimePartitionSpec()); assertEquals(readPartition.getNonTimePartitionSpec(), xp.getNonTimePartitionSpec()); assertNotNull(readPartition.getFullPartitionSpec()); XTimePartSpecElement timePartSpec = readPartition.getTimePartitionSpec().getPartSpecElement().iterator().next(); XPartSpecElement fullPartSpec = readPartition.getFullPartitionSpec().getPartSpecElement().iterator().next(); assertEquals(timePartSpec.getKey(), fullPartSpec.getKey()); assertEquals(UpdatePeriod.valueOf(xp.getUpdatePeriod().name()).format(JAXBUtils.getDateFromXML(
theFullPartitionSpec = this.getFullPartitionSpec(); strategy.appendField(locator, this, "fullPartitionSpec", buffer, theFullPartitionSpec);
theFullPartitionSpec = this.getFullPartitionSpec(); strategy.appendField(locator, this, "fullPartitionSpec", buffer, theFullPartitionSpec);
lhsFullPartitionSpec = this.getFullPartitionSpec(); XPartSpec rhsFullPartitionSpec; rhsFullPartitionSpec = that.getFullPartitionSpec(); if (!strategy.equals(LocatorUtils.property(thisLocator, "fullPartitionSpec", lhsFullPartitionSpec), LocatorUtils.property(thatLocator, "fullPartitionSpec", rhsFullPartitionSpec), lhsFullPartitionSpec, rhsFullPartitionSpec)) { return false;
lhsFullPartitionSpec = this.getFullPartitionSpec(); XPartSpec rhsFullPartitionSpec; rhsFullPartitionSpec = that.getFullPartitionSpec(); if (!strategy.equals(LocatorUtils.property(thisLocator, "fullPartitionSpec", lhsFullPartitionSpec), LocatorUtils.property(thatLocator, "fullPartitionSpec", rhsFullPartitionSpec), lhsFullPartitionSpec, rhsFullPartitionSpec)) { return false;
theFullPartitionSpec = this.getFullPartitionSpec(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "fullPartitionSpec", theFullPartitionSpec), currentHashCode, theFullPartitionSpec);
theFullPartitionSpec = this.getFullPartitionSpec(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "fullPartitionSpec", theFullPartitionSpec), currentHashCode, theFullPartitionSpec);