Oops sorry... it seems that the TAB key Google Mail is send mail ?!??!?

 public Value getMyProperty( String pName ) {
   if (hasProperty( pName )) {
     return getProperty( pName );
   } else {
     return null;
   }
 }

Greetings,

 Jacco


On 5/29/07, Jacco van Weert <[EMAIL PROTECTED]> wrote:


Hello Mark,

If your properties aren't mandatory you could write a method like;

  public Value getMyProperty( String pName ) {
    if (hasProperty( pName )) {
      return getProperty( pName );
    } else {

  }


On 5/28/07, Mark Waschkowski <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I know that the JCR spec specifies that setting a property to null will
> result in the removal of a property, but we have a situation where this
> is
> problematic. We actually NEED properties that have no values to be
> stored. I
> could manually insert some dummy value for each of the different types,
> but
> if anyone knows of a better way I would really appreciate a suggestion.
>
> Thanks,
>
> Mark
>



--
-------------------------------------
Jacco van Weert -- [EMAIL PROTECTED]
JCR Controller -- http://www.xs4all.nl/~weertj/jcr
<http://www.xs4all.nl/%7Eweertj/jcr>




--
-------------------------------------
Jacco van Weert -- [EMAIL PROTECTED]
JCR Controller -- http://www.xs4all.nl/~weertj/jcr

Reply via email to