public XDimAttribute withEndTime(XMLGregorianCalendar value) { setEndTime(value); return this; }
public XDimAttribute withEndTime(XMLGregorianCalendar value) { setEndTime(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.setDisplayString(cd.getDisplayString()); xd.setStartTime(getXMLGregorianCalendar(cd.getStartTime())); xd.setEndTime(getXMLGregorianCalendar(cd.getEndTime())); xd.setTags(getXProperties(xPropertiesFromMap(cd.getTags()))); if (cd instanceof ReferencedDimAttribute) {
xd.setDisplayString(cd.getDisplayString()); xd.setStartTime(getXMLGregorianCalendar(cd.getStartTime())); xd.setEndTime(getXMLGregorianCalendar(cd.getEndTime())); xd.setTags(getXProperties(xPropertiesFromMap(cd.getTags()))); if (cd instanceof ReferencedDimAttribute) {
xd2.setDisplayString("Column2"); xd2.setEndTime(endDate);
xd2.setDisplayString("Dimension2"); xd2.setEndTime(endDate);