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

import at.gv.egovernment.moa.spss.api.common.ContentLocRef;

/**
 * Default implementation of <code>ContentLocRef</code>.
 * 
 * @author Gregor Karlinger
 * @version $Id$
 */
public class ContentLocRefImpl extends ContentImpl implements ContentLocRef 
{
  /**
   * The location reference URI pointing to the actual remote location of the content. 
   */
  private String locationReferenceURI_;
  
  /** 
   * @see at.gv.egovernment.moa.spss.api.common.ContentLocRef#getLocationReference()
   */
  public String getLocationReferenceURI()
  {
    return locationReferenceURI_;
  }
  
  /**
   * Sets the location reference URI pointing to the actual remote location of the content. 
   * 
   * @param locationReferenceURI the location reference URI.
   */
  public void setLocationReferenceURI(String locationReferenceURI)
  {
    locationReferenceURI_ = locationReferenceURI;
  }
  
  /**
   * Gets the type of content.
   * 
   * @return LOCREF_CONTENT.
   */
  public int getContentType() {
    return LOCREF_CONTENT;
  }
}