@Override protected PropertyStringImpl createTarget(XmlPullParser parser, QName name) { return new PropertyStringImpl(); } };
public PropertyStringImpl(PropertyDefinition<String> propDef, String value) { setPropertyDefinition(propDef); setValue(value); } }
public PropertyStringImpl(PropertyDefinition<String> propDef, List<String> values) { setPropertyDefinition(propDef); setValues(values); }
switch (propDef.getPropertyType()) { case STRING: property = new PropertyStringImpl(); ((PropertyStringImpl) property).setValues(copyStringValues(values)); break; case ID: property = new PropertyStringImpl(); ((PropertyStringImpl) property).setValues(null); } else { Object firstValue = values.get(0); ((PropertyDecimalImpl) property).setValues(copyDecimalValues(values)); } else { property = new PropertyStringImpl(); ((PropertyStringImpl) property).setValues(copyStringValues(values));
result = new PropertyStringImpl(); if (value instanceof List) ((PropertyStringImpl) result).setValues((List<String>) value); CallContext.BINDING_WEBSERVICES.equals(AlfrescoCmisServiceCall.get().getBinding()))) ((PropertyStringImpl) result).setValue(filterXmlRestrictedCharacters((String) value)); ((PropertyStringImpl) result).setValue((String) value);
PropertyStringImpl prop = new PropertyStringImpl(); prop.setId("abc:" + authorisedByQname.toPrefixString()); prop.setValue(null);
/** * Add string property to the CMIS object represented by this instance */ protected final void addPropertyString(PropertiesImpl props, String typeId, Set<String> filter, String id, String value) { if (!checkAddProperty(props, typeId, filter, id)) { return; } PropertyStringImpl prop = new PropertyStringImpl(id, value); prop.setQueryName(id); props.addProperty(prop); }
switch (propDef.getPropertyType()) { case STRING: property = new PropertyStringImpl(); ((PropertyStringImpl) property).setValues(copyStringValues(values)); break; case ID: property = new PropertyStringImpl(); ((PropertyStringImpl) property).setValues(null); } else { Object firstValue = values.get(0); ((PropertyDecimalImpl) property).setValues(copyDecimalValues(values)); } else { property = new PropertyStringImpl(); ((PropertyStringImpl) property).setValues(copyStringValues(values));
result = new PropertyStringImpl(); if (value instanceof List) ((PropertyStringImpl) result).setValues((List<String>) value); CallContext.BINDING_WEBSERVICES.equals(AlfrescoCmisServiceCall.get().getBinding()))) ((PropertyStringImpl) result).setValue(filterXmlRestrictedCharacters((String) value)); ((PropertyStringImpl) result).setValue((String) value);
/** * Adds a string property to a PropertiesImpl.<p> * * @param typeManager * @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 addPropertyString( CmsCmisTypeManager typeManager, PropertiesImpl props, String typeId, Set<String> filter, String id, String value) { if (!checkAddProperty(typeManager, props, typeId, filter, id)) { return; } PropertyStringImpl result = new PropertyStringImpl(id, value); result.setQueryName(id); props.addProperty(result); }
public PropertyStringImpl(PropertyDefinition<String> propDef, String value) { setPropertyDefinition(propDef); setValue(value); } }
public PropertyStringImpl(PropertyDefinition<String> propDef, List<String> values) { setPropertyDefinition(propDef); setValues(values); }
@Override public MutablePropertyString createPropertyStringData(String id, List<String> values) { return new PropertyStringImpl(id, values); }
property = new PropertyStringImpl(); ((PropertyStringImpl) property).setValues(copyStringValues(values)); break; case ID:
@Override protected PropertyStringImpl createTarget(XMLStreamReader parser, QName name) { return new PropertyStringImpl(); } };
property = new PropertyStringImpl(); ((PropertyStringImpl) property).setValues(copyStringValues(values)); break; case ID: