Package org.chromattic.api.annotations

Annotation Types Summary
AutoCreated Configure an item definition to be autocreated, this annotation is used when a node type schema is generated from a set of annotated classes.
Create Defines a creator method to create transient instances of a Chromattic entity.
DefaultValue Define the default value of a property.
Destroy Defines a destructor method to significate the end of life of a Chromattic entity.
FindById  
FormattedBy  
Id Annotates a bean property getter to return the current identifier of the related jcr node.
Mandatory Configure an item definition to be mandatory, this annotation is used when a node type schema is generated from a set of annotated classes.
ManyToOne Defines the many side in a one to many relationship.
MappedBy Defines the name of the property that is used to maintain one to many relationship with path or reference.
MixinType The mixin annotation can be used to annote a class and declares that it represents one mixin.
Name Annotates a bean property to map it against the current name of the related jcr node.
NamespaceMapping Maps a prefix to a namespace
NamingPolicy Provide information about the naming to the children of a node.
NamingPrefix Defines a naming prefix.
NodeTypeDefs A package annotation that triggers node type generation for any Chromattic classes found in the annotated package.
OneToMany Defines the one side in a one to many relationship.
OneToOne Defines the one side in a one to one relationship.
Owner Annotates the owner of a relationship: In a one to one hierarchic relationship it distinguishes the parent. In a many to one path or referenced relationship it distinguishes the entity owning the field, in that case it is optional as the relationship is not symetric. In an one to one embedded relationship, it distinguishes the entity from its embedded mixin or super type.
Path Annotates a bean property getter to return the current path of the related jcr node.
PrimaryType Defines the mapping between a primarty type and a java class.
Properties Annotates a Chromattic property having a return type equals to java.util.Map<String,?> or java.util.Map<String, List<?>>.
Property Defines the mapping between the property of a node type and a java bean property of the annotated class.
WorkspaceName Annotates a bean property getter to return the current workspace name of the related jcr node.
 



Copyright © 2014 eXo Platform SAS. All Rights Reserved.