Android Open Source - Xbox360CollectorsPlace D L C






From Project

Back to project page Xbox360CollectorsPlace.

License

The source code is released under:

MIT License

If you think the Android project Xbox360CollectorsPlace listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.xboxcollectorsplace.bl.entities;
//from w ww .  j a v  a 2s. c  om
import java.io.Serializable;

/**
 * Entity that contains the info of a DLC (DownLoadable Content) of the games
 */
public class DLC implements Serializable
{
  /*--------------------------------------------------------------- CONSTANTS */

  private static final long serialVersionUID = 3953279162991222214L;

  /*--------------------------------------------------------------- VARIABLES */
  
  private int id;
  private String name;
  private int type;
  private String releaseDate;
  private int achievements;
  private String synopsis;
  private boolean downloaded;
  
  /*--------------------------------------------------------------- CONSTRUCTORS */
  
  public DLC()
  {
    super();
    
    this.achievements = 0;
  }
  
  public DLC(int id, String name, int type, String releaseDate, int achievements, String synopsis, boolean downloaded)
  {
    super();
    
    this.id = id;
    this.type = type;
    this.name = name;
    this.releaseDate = releaseDate;
    this.achievements = achievements;
    this.synopsis = synopsis;
    this.downloaded = downloaded;
  }
  
  public DLC(int id, boolean downloaded)
  {
    super();
    
    this.id = id;
    this.downloaded = downloaded;
  }
  
  /*--------------------------------------------------------------- GETTERS */
  
  public int getId()
  {
    return id;
  }

  public String getName()
  {
    return name;
  }
  
  public int getType() 
  {
    return type;
  }

  public String getReleaseDate() 
  {
    return releaseDate;
  }

  public int getAchievements() 
  {
    return achievements;
  }
  
  public String getSynopsis() 
  {
    return synopsis;
  }

  public boolean getDownloaded() 
  {
    return downloaded;
  }
  
  /*--------------------------------------------------------------- SETTERS */
  
  public void setId(int id) 
  {
    this.id = id;
  }
  
  public void setName(String name) 
  {
    this.name = name;
  }

  public void setType(int type) 
  {
    this.type = type;
  }
  
  public void setReleaseDate(String releaseDate)
  {
    this.releaseDate = releaseDate;
  }

  public void setAchievements(int achievements) 
  {
    this.achievements = achievements;
  }
  
  public void setSynopsis(String synopsis) 
  {
    this.synopsis = synopsis;
  }

  public void setDownloaded(boolean downloaded) 
  {
    this.downloaded = downloaded;
  }
}




Java Source Code List

com.xboxcollectorsplace.App.java
com.xboxcollectorsplace.bl.BLParameters.java
com.xboxcollectorsplace.bl.BLUtils.java
com.xboxcollectorsplace.bl.controllers.StorageController.java
com.xboxcollectorsplace.bl.entities.Catalog.java
com.xboxcollectorsplace.bl.entities.DLC.java
com.xboxcollectorsplace.bl.entities.Filters.java
com.xboxcollectorsplace.bl.entities.GamePhotoGallery.java
com.xboxcollectorsplace.bl.entities.GamePhoto.java
com.xboxcollectorsplace.bl.entities.Game.java
com.xboxcollectorsplace.bl.entities.Link.java
com.xboxcollectorsplace.bl.entities.OptionString.java
com.xboxcollectorsplace.bl.entities.Options.java
com.xboxcollectorsplace.bl.entities.SelectionFile.java
com.xboxcollectorsplace.bl.entities.Sort.java
com.xboxcollectorsplace.bl.extension.XboxAlarmReceiver.java
com.xboxcollectorsplace.bl.extension.XboxDownloaderService.java
com.xboxcollectorsplace.bl.extension.XboxInitialDownload.java
com.xboxcollectorsplace.ui.CatalogActivity.java
com.xboxcollectorsplace.ui.CollectionActivity.java
com.xboxcollectorsplace.ui.ConfigActivity.java
com.xboxcollectorsplace.ui.EditAchievementsActivity.java
com.xboxcollectorsplace.ui.EditPhotoTitleActivity.java
com.xboxcollectorsplace.ui.FileSelectorActivity.java
com.xboxcollectorsplace.ui.FilterSortActivity.java
com.xboxcollectorsplace.ui.GameDetailActivity.java
com.xboxcollectorsplace.ui.GoToActivity.java
com.xboxcollectorsplace.ui.PhotoGalleryActivity.java
com.xboxcollectorsplace.ui.SummaryActivity.java
com.xboxcollectorsplace.ui.SynopsisDetailActivity.java
com.xboxcollectorsplace.ui.TitleScreenActivity.java
com.xboxcollectorsplace.utils.JustifiedTextView.java
com.xboxcollectorsplace.utils.XComparator.java
com.xboxcollectorsplace.utils.XLog.java