public void createCube(XCube cube) throws LensException { Cube parent = cube instanceof XDerivedCube ? (Cube) getCube( ((XDerivedCube) cube).getParent()) : null; createCube(JAXBUtils.hiveCubeFromXCube(cube, parent)); }
public void createCube(XCube cube) throws LensException { Cube parent = cube instanceof XDerivedCube ? (Cube) getCube( ((XDerivedCube) cube).getParent()) : null; createCube(JAXBUtils.hiveCubeFromXCube(cube, parent)); }
public void alterCube(XCube cube) throws HiveException, LensException { Cube parent = cube instanceof XDerivedCube ? (Cube) getCube( ((XDerivedCube) cube).getParent()) : null; alterCube(cube.getName(), JAXBUtils.hiveCubeFromXCube(cube, parent)); } /**
public void alterCube(XCube cube) throws HiveException, LensException { Cube parent = cube instanceof XDerivedCube ? (Cube) getCube( ((XDerivedCube) cube).getParent()) : null; alterCube(cube.getName(), JAXBUtils.hiveCubeFromXCube(cube, parent)); }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { super.appendFields(locator, buffer, strategy); { XMeasureNames theMeasureNames; theMeasureNames = this.getMeasureNames(); strategy.appendField(locator, this, "measureNames", buffer, theMeasureNames); } { XDimAttrNames theDimAttrNames; theDimAttrNames = this.getDimAttrNames(); strategy.appendField(locator, this, "dimAttrNames", buffer, theDimAttrNames); } { String theParent; theParent = this.getParent(); strategy.appendField(locator, this, "parent", buffer, theParent); } return buffer; }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { super.appendFields(locator, buffer, strategy); { XMeasureNames theMeasureNames; theMeasureNames = this.getMeasureNames(); strategy.appendField(locator, this, "measureNames", buffer, theMeasureNames); } { XDimAttrNames theDimAttrNames; theDimAttrNames = this.getDimAttrNames(); strategy.appendField(locator, this, "dimAttrNames", buffer, theDimAttrNames); } { String theParent; theParent = this.getParent(); strategy.appendField(locator, this, "parent", buffer, theParent); } return buffer; }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = super.hashCode(locator, strategy); { XMeasureNames theMeasureNames; theMeasureNames = this.getMeasureNames(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "measureNames", theMeasureNames), currentHashCode, theMeasureNames); } { XDimAttrNames theDimAttrNames; theDimAttrNames = this.getDimAttrNames(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dimAttrNames", theDimAttrNames), currentHashCode, theDimAttrNames); } { String theParent; theParent = this.getParent(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "parent", theParent), currentHashCode, theParent); } return currentHashCode; }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = super.hashCode(locator, strategy); { XMeasureNames theMeasureNames; theMeasureNames = this.getMeasureNames(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "measureNames", theMeasureNames), currentHashCode, theMeasureNames); } { XDimAttrNames theDimAttrNames; theDimAttrNames = this.getDimAttrNames(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dimAttrNames", theDimAttrNames), currentHashCode, theDimAttrNames); } { String theParent; theParent = this.getParent(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "parent", theParent), currentHashCode, theParent); } return currentHashCode; }
assertNotNull(actual2); assertTrue(dcube.getName().equalsIgnoreCase(actual2.getName())); assertEquals(actual2.getParent(), "testGetCube".toLowerCase()); assertEquals(actual2.getMeasureNames().getMeasureName().size(), dcube.getMeasureNames().getMeasureName().size()); assertEquals(actual2.getDimAttrNames().getAttrName().size(), dcube.getDimAttrNames().getAttrName().size());