org.chromattic.api.annotations
Annotation Type Property


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Property

Defines the mapping between the property of a node type and a java bean property of the annotated class.

Version:
$Revision$
Author:
Julien Viet

Required Element Summary
 java.lang.String name
          The jcr property name.
 
Optional Element Summary
 java.lang.String[] defaultValue
          Returns the default property value.
 

Element Detail

name

public abstract java.lang.String name
The jcr property name.

Returns:
the jcr property name

defaultValue

public abstract java.lang.String[] defaultValue
Returns the default property value.

Returns:
the default property value
Default:
{}


Copyright © 2011 eXo Platform SAS. All Rights Reserved.