@Override public MutablePropertyInteger createPropertyIntegerData(String id, BigInteger value) { return new PropertyIntegerImpl(id, value); }
@Override public MutablePropertyInteger createPropertyIntegerData(String id, List<BigInteger> values) { return new PropertyIntegerImpl(id, values); }
@Override protected PropertyIntegerImpl createTarget(XmlPullParser parser, QName name) { return new PropertyIntegerImpl(); }
@Override protected PropertyIntegerImpl createTarget(XMLStreamReader parser, QName name) { return new PropertyIntegerImpl(); }
@Override public MutablePropertyInteger createPropertyIntegerData(String id, List<BigInteger> values) { return new PropertyIntegerImpl(id, values); }
@Override public MutablePropertyInteger createPropertyIntegerData(String id, BigInteger value) { return new PropertyIntegerImpl(id, value); }
/** * Add integer property to the CMIS object represented by this instance */ protected final void addPropertyInteger(PropertiesImpl props, String typeId, Set<String> filter, String id, long value) { if (!checkAddProperty(props, typeId, filter, id)) { return; } PropertyIntegerImpl prop = new PropertyIntegerImpl(id, BigInteger.valueOf(value)); prop.setQueryName(id); props.addProperty(prop); }
/** * Adds bigint 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 addPropertyBigInteger( CmsCmisTypeManager typeManager, PropertiesImpl props, String typeId, Set<String> filter, String id, BigInteger value) { if (!checkAddProperty(typeManager, props, typeId, filter, id)) { return; } props.addProperty(new PropertyIntegerImpl(id, value)); }
throw new CmisInvalidArgumentException(propDef.getId() + " value is not an integer value!", e); propertyData = new PropertyIntegerImpl(propDef.getId(), intValues); break; case DECIMAL:
break; case INTEGER: property = new PropertyIntegerImpl(); ((PropertyIntegerImpl) property).setValues(copyIntegerValues(values)); break; ((PropertyBooleanImpl) property).setValues(copyBooleanValues(values)); } else if (firstValue instanceof BigInteger) { property = new PropertyIntegerImpl(); ((PropertyIntegerImpl) property).setValues(copyIntegerValues(values)); } else if (firstValue instanceof BigDecimal) {
break; case INTEGER: property = new PropertyIntegerImpl(); ((PropertyIntegerImpl) property).setValues(copyIntegerValues(values)); break; ((PropertyBooleanImpl) property).setValues(copyBooleanValues(values)); } else if (firstValue instanceof BigInteger) { property = new PropertyIntegerImpl(); ((PropertyIntegerImpl) property).setValues(copyIntegerValues(values)); } else if (firstValue instanceof BigDecimal) {
break; case INTEGER: props.addProperty(new PropertyIntegerImpl(propDef.getId(), (List<BigInteger>)defaultValue)); break; case STRING:
return new PropertyIdImpl(propDef.getId(), (List<String>) defaultValue); case INTEGER: return new PropertyIntegerImpl(propDef.getId(), (List<BigInteger>) defaultValue); case STRING: return new PropertyStringImpl(propDef.getId(), (List<String>) defaultValue);
break; case INTEGER: property = new PropertyIntegerImpl(); ((PropertyIntegerImpl) property).setValues(copyIntegerValues(values)); break;
break; case INTEGER: property = new PropertyIntegerImpl(); ((PropertyIntegerImpl) property).setValues(copyIntegerValues(values)); break;
writeProperty(writer, new PropertyIntegerImpl((String) null, def.getDefaultValue()), true);
result = new PropertyIntegerImpl(); if (value instanceof List)
result = new PropertyIntegerImpl(); if (value instanceof List)
result = new PropertyIdImpl(property.getPropertyDefinitionId(), ((CmisPropertyId) property).getValue()); } else if (property instanceof CmisPropertyInteger) { result = new PropertyIntegerImpl(property.getPropertyDefinitionId(), ((CmisPropertyInteger) property).getValue()); } else if (property instanceof CmisPropertyDecimal) {
writeProperty(writer, new PropertyIntegerImpl((String) null, def.getDefaultValue()), true);