/** * Returns the length of the value of this property. * <p> * The default implementation measures the length of the {@link Value} * instance returned by the generic {@link Property#getValue()} method. * * @return length of the property value * @throws RepositoryException if an error occurs */ public long getLength() throws RepositoryException { return getLength(getValue()); }
/** * Returns the length of the value of this property. * <p> * The default implementation measures the length of the {@link Value} * instance returned by the generic {@link Property#getValue()} method. * * @return length of the property value * @throws RepositoryException if an error occurs */ public long getLength() throws RepositoryException { return getLength(getValue()); }
/** * Returns the length of the value of this property. * <p> * The default implementation measures the length of the {@link Value} * instance returned by the generic {@link Property#getValue()} method. * * @return length of the property value * @throws RepositoryException if an error occurs */ public long getLength() throws RepositoryException { return getLength(getValue()); }
/** * Returns the length of the value of this property. * <p> * The default implementation measures the length of the {@link Value} * instance returned by the generic {@link Property#getValue()} method. * * @return length of the property value * @throws RepositoryException if an error occurs */ public long getLength() throws RepositoryException { return getLength(getValue()); }
/** * Returns the lengths of the values of this property. * <p> * The default implementation measures the lengths of the {@link Value} * instances returned by the generic {@link Property#getValues()} method. * * @return lengths of the property values * @throws RepositoryException if an error occurs */ public long[] getLengths() throws RepositoryException { Value[] values = getValues(); long[] lengths = new long[values.length]; for (int i = 0; i < values.length; i++) { lengths[i] = getLength(values[i]); } return lengths; }
/** * Returns the lengths of the values of this property. * <p> * The default implementation measures the lengths of the {@link Value} * instances returned by the generic {@link Property#getValues()} method. * * @return lengths of the property values * @throws RepositoryException if an error occurs */ public long[] getLengths() throws RepositoryException { Value[] values = getValues(); long[] lengths = new long[values.length]; for (int i = 0; i < values.length; i++) { lengths[i] = getLength(values[i]); } return lengths; }
/** * Returns the lengths of the values of this property. * <p> * The default implementation measures the lengths of the {@link Value} * instances returned by the generic {@link Property#getValues()} method. * * @return lengths of the property values * @throws RepositoryException if an error occurs */ public long[] getLengths() throws RepositoryException { Value[] values = getValues(); long[] lengths = new long[values.length]; for (int i = 0; i < values.length; i++) { lengths[i] = getLength(values[i]); } return lengths; }
/** * Returns the lengths of the values of this property. * <p> * The default implementation measures the lengths of the {@link Value} * instances returned by the generic {@link Property#getValues()} method. * * @return lengths of the property values * @throws RepositoryException if an error occurs */ public long[] getLengths() throws RepositoryException { Value[] values = getValues(); long[] lengths = new long[values.length]; for (int i = 0; i < values.length; i++) { lengths[i] = getLength(values[i]); } return lengths; }