[OGo-Developer] Object Properties Question

Adam Tauno Williams developer@opengroupware.org
Fri, 09 Feb 2007 07:23:44 -0500


--=-kQG8gyHf2EONKYmG9vwN
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

> > The preferredType would be necessary for client applications to
> > determine how to display/manage the property value.  Otherwise it is
> > impossible to tell a string from a BLOB encoded as a string, for
> > instance.
> Yes, properties do not have a type. However, when you retrieve a =20
> property you can derive some information from the type of the value =20
> object you got (NSData for blobs, NSNumber for numbers, NSString for =20
> strings, etc).

Ah, that makes sense.

> Summary: works as expected ;-) Do not attempt to put more features =20
> into properties, they are supposed to be the database equivalent of =20
> property lists attached to an object.

Gotcha,  proceeding in a different direction then.

--=-kQG8gyHf2EONKYmG9vwN
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQBFzGfQLRePpNle04MRAtUmAJ9/JEjWs/tle07CO2VzBdd8QwWB3ACfQTIk
K+UqwzUSRxw3LqxLE+QsFaE=
=c0He
-----END PGP SIGNATURE-----

--=-kQG8gyHf2EONKYmG9vwN--