public XDimAttribute withStartTime(XMLGregorianCalendar value) { setStartTime(value); return this; }
public XDimAttribute withStartTime(XMLGregorianCalendar value) { setStartTime(value); return this; }
public static XDimAttribute createXDimAttribute(final String name, final Optional<DateTime> startDate, final Optional<DateTime> endDate) throws DatatypeConfigurationException { XDimAttribute xDimAttribute = new XDimAttribute(); xDimAttribute.setName(name); xDimAttribute.setType("STRING"); if (startDate.isPresent()) { xDimAttribute.setStartTime(createXMLGregorianCalendar(startDate.get().toDate())); } if (endDate.isPresent()) { xDimAttribute.setEndTime(createXMLGregorianCalendar(endDate.get().toDate())); } return xDimAttribute; }
xd.setDescription(cd.getDescription()); xd.setDisplayString(cd.getDisplayString()); xd.setStartTime(getXMLGregorianCalendar(cd.getStartTime())); xd.setEndTime(getXMLGregorianCalendar(cd.getEndTime())); xd.setTags(getXProperties(xPropertiesFromMap(cd.getTags())));
xd.setDescription(cd.getDescription()); xd.setDisplayString(cd.getDisplayString()); xd.setStartTime(getXMLGregorianCalendar(cd.getStartTime())); xd.setEndTime(getXMLGregorianCalendar(cd.getEndTime())); xd.setTags(getXProperties(xPropertiesFromMap(cd.getTags())));
xd1.setDisplayString("Column1"); xd1.setStartTime(startDate);
xd1.setDisplayString("Dimension1"); xd1.setStartTime(startDate); xd1.setNumDistinctValues(2000L);