org.chromattic.api.annotations
Annotation Type PrimaryType


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

Defines the mapping between a node type and a java class.

Version:
$Revision$
Author:
Julien Viet

Required Element Summary
 java.lang.String name
          The name of the primary node type to use.
 
Optional Element Summary
 boolean abstract_
          Returns true if the type is abstract.
 boolean orderable
          Returns true if the node is ordereable.
 

Element Detail

name

public abstract java.lang.String name
The name of the primary node type to use.

Returns:
the primary node type name

orderable

public abstract boolean orderable
Returns true if the node is ordereable. This information is used when generating the meta model or checking the meta model validity against the underlying model.

Returns:
the orderability
Default:
false

abstract_

public abstract boolean abstract_
Returns true if the type is abstract.

Returns:
the value true if the type is abstract
Default:
false


Copyright © 2011 eXo Platform SAS. All Rights Reserved.