org.chromattic.api.annotations
Annotation Type MixinType


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface MixinType

The mixin annotation can be used to annote a class and declares that it represents one mixin.

When a class declares a mixin annotation without being bound to a node mapping, this class can be involved in a one to one relationship with the RelationshipType.EMBEDDED type. The mixin is added to a node when a one to one relationship of type mixin is created.

Version:
$Revision$
Author:
Julien Viet

Required Element Summary
 java.lang.String name
          Returns the mixin name.
 

Element Detail

name

public abstract java.lang.String name
Returns the mixin name.

Returns:
the mixin name


Copyright © 2011 eXo Platform SAS. All Rights Reserved.