public Object[] jcrValues( Property<?> property ) {
        @SuppressWarnings( "unchecked" )
        List<Object> values = (List<Object>)property.getValues();

        // convert CMIS values to JCR values
        switch (property.getType()) {
            case STRING:
                return asStrings(values);
            case BOOLEAN:
                return asBooleans(values);
            case DECIMAL:
                return asDecimals(values);
            case INTEGER:
                return asIntegers(values);
            case DATETIME:
                return asDateTime(values);
            case URI:
                return asURI(values);
            case ID:
                return asIDs(values);
            case HTML:
                return asHTMLs(values);
            default:
                return null;
        }
    }
public Object [ ] jcrValues ( Property < ? > property ) { @ SuppressWarnings ( "unchecked" ) List < Object > values = ( List < Object > ) property . getValues ( ) ; switch ( property . getType ( ) ) { case STRING : return asStrings ( values ) ; case BOOLEAN : return asBooleans ( values ) ; case DECIMAL : return asDecimals ( values ) ; case INTEGER : return asIntegers ( values ) ; case DATETIME : return asDateTime ( values ) ; case URI : return asURI ( values ) ; case ID : return asIDs ( values ) ; case HTML : return asHTMLs ( values ) ; default : return null ; } }
Converts value of the property for the jcr domain.

@param property property in cmis domain
@return value of the given property in jcr domain.