package at.gv.egovernment.moa.spss.api.cmsverify;

/**
 * Base class for objects containing CMS content.
 * 
 * @author Patrick Peck
 * @author Stephan Grill
 * @version $Id$
 */
public interface CMSContent {
  /**
   * Indicates that this object contains a reference to the CMS content.
   */
  public static final int REFERENCE_CONTENT = 0;
  /**
   * Indicates that this object contains the CMS content explicitly.
   */
  public static final int EXPLICIT_CONTENT = 1;
  
  /**
   * Gets the type of the contained content.
   * 
   * @return The type of content, either <code>REFERENCE_CONTENT</code> or
   * <code>EXPLICIT_CONTENT</code>.
   */
  public int getContentType();
  
}