/** * Add a {@link PropertyType#DOUBLE} value to this property. * * @param value * @return <code>this</code> * @throws RepositoryException * @throws IllegalStateException if the type of the value does not match the type of this property */ public PropertyInfoBuilder addValue(double value) throws RepositoryException { return addValue(QValueFactoryImpl.getInstance().create(value)); }
/** * Add a {@link PropertyType#URI} value to this property. * * @param value * @return <code>this</code> * @throws RepositoryException * @throws IllegalStateException if the type of the value does not match the type of this property */ public PropertyInfoBuilder addValue(URI value) throws RepositoryException { return addValue(QValueFactoryImpl.getInstance().create(value)); }
/** * Add a {@link PropertyType#BOOLEAN} value to this property. * * @param value * @return <code>this</code> * @throws RepositoryException * @throws IllegalStateException if the type of the value does not match the type of this property */ public PropertyInfoBuilder addValue(boolean value) throws RepositoryException { return addValue(QValueFactoryImpl.getInstance().create(value)); }
/** * Add a {@link PropertyType#LONG} value to this property. * * @param value * @return <code>this</code> * @throws RepositoryException * @throws IllegalStateException if the type of the value does not match the type of this property */ public PropertyInfoBuilder addValue(long value) throws RepositoryException { return addValue(QValueFactoryImpl.getInstance().create(value)); }
/** * Add a {@link PropertyType#DATE} value to this property. * * @param value * @return <code>this</code> * @throws RepositoryException * @throws IllegalStateException if the type of the value does not match the type of this property */ public PropertyInfoBuilder addValue(Calendar value) throws RepositoryException { return addValue(QValueFactoryImpl.getInstance().create(value)); }
/** * Add a {@link PropertyType#BINARY} value to this property. * * @param value * @return <code>this</code> * @throws RepositoryException * @throws IllegalStateException if the type of the value does not match the type of this property */ public PropertyInfoBuilder addValue(InputStream value) throws RepositoryException, IOException { return addValue(QValueFactoryImpl.getInstance().create(value)); }
/** * Add a {@link PropertyType#URI} value to this property. * * @param value * @return <code>this</code> * @throws RepositoryException * @throws IllegalStateException if the type of the value does not match the type of this property */ public PropertyInfoBuilder addValue(URI value) throws RepositoryException { return addValue(QValueFactoryImpl.getInstance().create(value)); }
/** * Add a {@link PropertyType#DECIMAL} value to this property. * * @param value * @return <code>this</code> * @throws RepositoryException * @throws IllegalStateException if the type of the value does not match the type of this property */ public PropertyInfoBuilder addValue(BigDecimal value) throws RepositoryException { return addValue(QValueFactoryImpl.getInstance().create(value)); }
/** * Add a {@link PropertyType#NAME} value to this property. * * @param value * @return <code>this</code> * @throws RepositoryException * @throws IllegalStateException if the type of the value does not match the type of this property */ public PropertyInfoBuilder addValue(Name value) throws RepositoryException { return addValue(QValueFactoryImpl.getInstance().create(value)); }
/** * Add a {@link PropertyType#STRING} value to this property. * * @param value * @return <code>this</code> * @throws RepositoryException * @throws IllegalStateException if the type of the value does not match the type of this property */ public PropertyInfoBuilder addValue(String value) throws RepositoryException { return addValue(QValueFactoryImpl.getInstance().create(value, PropertyType.STRING)); }
/** * Add a {@link PropertyType#BINARY} value to this property. * * @param value * @return <code>this</code> * @throws RepositoryException * @throws IllegalStateException if the type of the value does not match the type of this property */ public PropertyInfoBuilder addValue(File value) throws RepositoryException, IOException { return addValue(QValueFactoryImpl.getInstance().create(value)); }
/** * Add a {@link PropertyType#BINARY} value to this property. * * @param value * @return <code>this</code> * @throws RepositoryException * @throws IllegalStateException if the type of the value does not match the type of this property */ public PropertyInfoBuilder addValue(InputStream value) throws RepositoryException, IOException { return addValue(QValueFactoryImpl.getInstance().create(value)); }
/** * Add a {@link PropertyType#BINARY} value to this property. * * @param value * @return <code>this</code> * @throws RepositoryException * @throws IllegalStateException if the type of the value does not match the type of this property */ public PropertyInfoBuilder addValue(byte[] value) throws RepositoryException { return addValue(QValueFactoryImpl.getInstance().create(value)); }
/** * Add a {@link PropertyType#NAME} value to this property. * * @param value * @return <code>this</code> * @throws RepositoryException * @throws IllegalStateException if the type of the value does not match the type of this property */ public PropertyInfoBuilder addValue(Name value) throws RepositoryException { return addValue(QValueFactoryImpl.getInstance().create(value)); }
/** * Add a {@link PropertyType#DOUBLE} value to this property. * * @param value * @return <code>this</code> * @throws RepositoryException * @throws IllegalStateException if the type of the value does not match the type of this property */ public PropertyInfoBuilder addValue(double value) throws RepositoryException { return addValue(QValueFactoryImpl.getInstance().create(value)); }
/** * Add a {@link PropertyType#PATH} value to this property. * * @param value * @return <code>this</code> * @throws RepositoryException * @throws IllegalStateException if the type of the value does not match the type of this property */ public PropertyInfoBuilder addValue(Path value) throws RepositoryException { return addValue(QValueFactoryImpl.getInstance().create(value)); }
/** * Add a {@link PropertyType#DATE} value to this property. * * @param value * @return <code>this</code> * @throws RepositoryException * @throws IllegalStateException if the type of the value does not match the type of this property */ public PropertyInfoBuilder addValue(Calendar value) throws RepositoryException { return addValue(QValueFactoryImpl.getInstance().create(value)); }
/** * Add a {@link PropertyType#DECIMAL} value to this property. * * @param value * @return <code>this</code> * @throws RepositoryException * @throws IllegalStateException if the type of the value does not match the type of this property */ public PropertyInfoBuilder addValue(BigDecimal value) throws RepositoryException { return addValue(QValueFactoryImpl.getInstance().create(value)); }
/** * Add a {@link PropertyType#PATH} value to this property. * * @param value * @return <code>this</code> * @throws RepositoryException * @throws IllegalStateException if the type of the value does not match the type of this property */ public PropertyInfoBuilder addValue(Path value) throws RepositoryException { return addValue(QValueFactoryImpl.getInstance().create(value)); }
/** * Add a {@link PropertyType#STRING} value to this property. * * @param value * @return <code>this</code> * @throws RepositoryException * @throws IllegalStateException if the type of the value does not match the type of this property */ public PropertyInfoBuilder addValue(String value) throws RepositoryException { return addValue(QValueFactoryImpl.getInstance().create(value, PropertyType.STRING)); }