All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.chromattic.docs.technical.groovy.Page.groovy Maven / Gradle / Ivy

There is a newer version: 1.3.0
Show newest version
package org.chromattic.docs.technical.groovy

import org.chromattic.api.annotations.Name
import org.chromattic.api.annotations.Property
import org.chromattic.api.annotations.PrimaryType

/**
 * @author Alain Defrance
 * @version $Revision$
 */
@PrimaryType(name = "gs:page")
class Page {
  /**
   * The page name.
   */
  @Name def String name // <> The name property is mapped to the node name

  /**
   * The page title.
   */
  @Property(name = "title") def String title // <> The title property is mapped to the title node property

  /**
   * The page content.
   */
  @Property(name = "content") def String content // <> The content property is mapped to the content node property
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy