story.java :  » Net » jMOS » com » aranova » java » jmos » messages » profile » Java Open Source

Java Open Source » Net » jMOS 
jMOS » com » aranova » java » jmos » messages » profile » story.java
/*
 * File: story.java
 * Project: jMOS, com.aranova.java.jmos.messages.profile
 * Revision: 0.9.1
 * Date: 18-ene-2006 11:51:15
 *
 * Copyright (C) Aragn Innovacin Tecnolgica S.L.L.
 * All rights reserved.
 *
 * This software is distributed under the terms of the Aranova License version 1.0.
 * See the terms of the Aranova License in the documentation provided with this software.
 */

package com.aranova.java.jmos.messages.profile;

import java.util.LinkedHashSet;
import java.util.Set;

import com.aranova.java.jmos.annotations.MOSAttribute;
import com.aranova.java.jmos.annotations.MOSMessage;
import com.aranova.java.jmos.enums.TypeModifier;
import com.aranova.java.jmos.messages.Message;

/**
 * Clase para rrepresentar un Story.
 * <!ELEMENT story (storyID, storySlug?, storyNum?, mosExternalMetadata*,  item*)>
 *
 * @author <a href="http://www.aranova.net/contactar/">Daniel Snchez</a>
 * @version     0.9.1
 * @since       0.9.1
 */
@MOSMessage(name = "story")
public class story extends Message {
  @MOSAttribute(name = "storyID", maxLength = 128)
  private String _storyID;
  @MOSAttribute(name = "storySlug", maxLength = 128, modifier = TypeModifier.Optional)
  private String _storySlug;
  @MOSAttribute(name = "storyNum", maxLength = 128, modifier = TypeModifier.Optional)
  private String _storyNum;
  @MOSAttribute(name = "mosExternalMetadata", modifier = TypeModifier.ZeroOrMore, writeTag = false)
  private Set<mosExternalMetadata> _mosExternalMetadata = new LinkedHashSet<mosExternalMetadata>();
  @MOSAttribute(name = "item", modifier = TypeModifier.ZeroOrMore, writeTag = false)
  private Set<item> _item = new LinkedHashSet<item>();
  /**
   * @return Returns the storyID.
   */
  public String getStoryID() {
    return _storyID;
  }
  /**
   * @param storyID The storyID to set.
   */
  public void setStoryID(final String storyID) {
    _storyID = storyID;
  }
  /**
   * @return Returns the storyNum.
   */
  public String getStoryNum() {
    return _storyNum;
  }
  /**
   * @param storyNum The storyNum to set.
   */
  public void setStoryNum(final String storyNum) {
    _storyNum = storyNum;
  }
  /**
   * @return Returns the storySlug.
   */
  public String getStorySlug() {
    return _storySlug;
  }
  /**
   * @param storySlug The storySlug to set.
   */
  public void setStorySlug(final String storySlug) {
    _storySlug = storySlug;
  }
  /**
   * @return Returns the item.
   */
  public Set<item> getItem() {
    return _item;
  }
  /**
   * @return Returns the mosExternalMetadata.
   */
  public Set<mosExternalMetadata> getMosExternalMetadata() {
    return _mosExternalMetadata;
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.