Team:Team:Freiburg software/Code/qooxdoo/Participant.js

From 2009.igem.org

Revision as of 11:58, 21 October 2009 by Davidn (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

/* ************************************************************************
 * Thanks to Fabian Jakobs
 */

qx.Class.define("qooxwaveclient.wave.Participant", 
{
  extend : qx.core.Object,


  construct : function(displayName, thumbnailUrl)
  {
    this.base(arguments);
  
    this.__displayName = displayName;
    this.__thumbnailUrl = thumbnailUrl;
  },

  members :
  {
    getId : function() {
      return this.toHashCode();
    },
    
    getDisplayName : function() {
      return this.__displayName;
    },
    
    getThumbnailUrl : function() {
      return this.__thumbnailUrl;
    }
  }
});