@Override public MutablePropertyDateTime createPropertyDateTimeData(String id, GregorianCalendar value) { return new PropertyDateTimeImpl(id, value); }
@Override protected PropertyDateTimeImpl createTarget(XmlPullParser parser, QName name) { return new PropertyDateTimeImpl(); }
@Override public MutablePropertyDateTime createPropertyDateTimeData(String id, List<GregorianCalendar> values) { return new PropertyDateTimeImpl(id, values); }
@Override public MutablePropertyDateTime createPropertyDateTimeData(String id, GregorianCalendar value) { return new PropertyDateTimeImpl(id, value); }
@Override protected PropertyDateTimeImpl createTarget(XMLStreamReader parser, QName name) { return new PropertyDateTimeImpl(); }
@Override public MutablePropertyDateTime createPropertyDateTimeData(String id, List<GregorianCalendar> values) { return new PropertyDateTimeImpl(id, values); }
/** * Adds a date/time property to a PropertiesImpl.<p> * * @param typeManager the type manager * @param props the properties * @param typeId the type id * @param filter the property filter string * @param id the property id * @param value the property value */ public static void addPropertyDateTime( CmsCmisTypeManager typeManager, PropertiesImpl props, String typeId, Set<String> filter, String id, GregorianCalendar value) { if (!checkAddProperty(typeManager, props, typeId, filter, id)) { return; } props.addProperty(new PropertyDateTimeImpl(id, value)); }
/** * Add date-time property to the CMIS object represented by this instance */ protected final void addPropertyDateTime(PropertiesImpl props, String typeId, Set<String> filter, String id, GregorianCalendar value) { if (!checkAddProperty(props, typeId, filter, id)) { return; } PropertyDateTimeImpl prop = new PropertyDateTimeImpl(id, value); prop.setQueryName(id); props.addProperty(prop); }
propertyData = new PropertyDateTimeImpl(propDef.getId(), calValues); break; case HTML:
break; case DATETIME: property = new PropertyDateTimeImpl(); ((PropertyDateTimeImpl) property).setValues(copyDateTimeValues(values)); break;
break; case DATETIME: property = new PropertyDateTimeImpl(); ((PropertyDateTimeImpl) property).setValues(copyDateTimeValues(values)); break;
break; case DATETIME: props.addProperty(new PropertyDateTimeImpl(propDef.getId(), (List<GregorianCalendar>)defaultValue)); break; case DECIMAL:
return new PropertyBooleanImpl(propDef.getId(), (List<Boolean>) defaultValue); case DATETIME: return new PropertyDateTimeImpl(propDef.getId(), (List<GregorianCalendar>) defaultValue); case DECIMAL: return new PropertyDecimalImpl(propDef.getId(), (List<BigDecimal>) defaultValue);
break; case DATETIME: property = new PropertyDateTimeImpl(); ((PropertyDateTimeImpl) property).setValues(copyDateTimeValues(values)); break;
break; case DATETIME: property = new PropertyDateTimeImpl(); ((PropertyDateTimeImpl) property).setValues(copyDateTimeValues(values)); break;
writeProperty(writer, new PropertyDateTimeImpl((String) null, def.getDefaultValue()), true);
result = new PropertyDateTimeImpl(); if (value instanceof List)
result = new PropertyDateTimeImpl(); if (value instanceof List)
((CmisPropertyBoolean) property).getValue()); } else if (property instanceof CmisPropertyDateTime) { result = new PropertyDateTimeImpl(property.getPropertyDefinitionId(), convertXMLCalendar(((CmisPropertyDateTime) property).getValue())); } else if (property instanceof CmisPropertyHtml) {
writeProperty(writer, new PropertyDateTimeImpl((String) null, def.getDefaultValue()), true);