Android Open Source - wherewithal Card






From Project

Back to project page wherewithal.

License

The source code is released under:

GNU General Public License

If you think the Android project wherewithal 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.curchod.dto;
/*from  w w  w  .ja  va 2s .co m*/
/**
 * Bean to hold card info like this:
    *     <card>
     *         <card_id>
     *         <card_status>
     *         <player_id>
     *         <player_name>
     *         <player_icon>
     *         <word_id>
     *         <word_type>
     *         <word_category>
     *         <text>
     *         <definition>
     *     </card> 
 * @author user
 *
 */
public class Card 
{

  private String card_id;
  private String card_status;
  private String player_id;
  private String player_name;
  private String player_icon;
  private String word_id;
  private String word_type;
  private String word_category;
  private String text;
  private String definition;
  private String index;
  
  public Card()
  {
    // no arguments here!
  }
  
  public Card(String _card_id, String _card_status, String _player_id, String _player_name, String  _player_icon,
      String _word_id, String _word_type, String _word_category, String _text, String _definition)
  {
    card_id = _card_id;
    card_status = _card_status;
    player_id = _player_id;
    player_name = _player_name;
    player_icon = _player_icon;
    word_id = _word_id;
    word_type = _word_type;
    word_category = _word_category;
    text = _text;
    definition = _definition;
  }
  
  //--- card id
  public void setCardId(String _card_id)
  {
    card_id = _card_id;
  }
  
  public String getCardId()
  {
    return card_id;
  }
  
  //--- card status
    public void setCardStatus(String _card_status)
    {
      card_status = _card_status;
    }
    
    public String getCardStatus()
    {
      return card_status;
    }
  
  //--- player id
  public void setPlayerId(String _player_id)
  {
    player_id = _player_id;
  }
  
  public String getPlayerId()
  {
    return player_id;
  }
  
  //--- player icon
  public void setPlayerIcon(String _player_icon)
  {
    player_icon = _player_icon;
  }
  
  public String getPlayerIcon()
  {
    return player_icon;
  }
  
  //----player name
  public void setPlayerName(String _player_name)
  {
    player_name = _player_name;
  }
  
  public String getPlayerName()
  {
    return player_name;
  }
  
  //--- word id
  public void setWordId(String _word_id)
  {
    word_id = _word_id;
  }
  
  public String getWordId()
  {
    return word_id;
  }
  
  
  //--- word_type
  public void setWordType(String _word_type)
  {
    word_type = _word_type;
  }
    
  public String getWordType()
  {
    return word_type;
  }  
  
  //--- word_category
  public void setWordCategory(String _word_category)
  {
    word_category = _word_category;
  }
    
  public String getWordCategory()
  {
    return word_category;
  }    
  
  //--- text
  public void setText(String _text)
  {
    text = _text;
  }
    
  public String getText()
  {
    return text;
  }
  
  //--- definition
  public void setDefinition(String _definition)
  {
    definition = _definition;
  }
    
  public String getDefinition()
  {
    return definition;
  }

  //--- index
  public void setIndex(String _index)
  {
    index = _index;
  }
    
  public String getIndex()
  {
    return index;
  }  
  
}




Java Source Code List

com.curchod.domartin.AsyncLoadGameFile.java
com.curchod.domartin.Constants.java
com.curchod.domartin.Filer.java
com.curchod.domartin.HouseDeck.java
com.curchod.domartin.IWantTo.java
com.curchod.domartin.MockNdefMessages.java
com.curchod.domartin.NfcUtils.java
com.curchod.domartin.RemoteCall.java
com.curchod.domartin.Sarray.java
com.curchod.domartin.Scoring.java
com.curchod.domartin.TagDescription.java
com.curchod.domartin.UtilityTo.java
com.curchod.dto.Card.java
com.curchod.dto.DeckCard.java
com.curchod.dto.GameWord.java
com.curchod.dto.Game.java
com.curchod.dto.PlayerInfo.java
com.curchod.dto.SavedTest.java
com.curchod.dto.SingleWordTestResult.java
com.curchod.dto.SingleWord.java
com.curchod.json.VocabularyDefinition.java
com.curchod.json.VocabularyLearningObject.java
com.curchod.wherewithal.AddPlayerActivity.java
com.curchod.wherewithal.CardDeckActivity.java
com.curchod.wherewithal.CardDecksActivity.java
com.curchod.wherewithal.CardPlayerHouseDeckActivity.java
com.curchod.wherewithal.CardPlayerWordsActivity.java
com.curchod.wherewithal.CardPlayersListActivity.java
com.curchod.wherewithal.CardsActivity.java
com.curchod.wherewithal.GameConcentrationActivity.java
com.curchod.wherewithal.GameReadingStonesActivity.java
com.curchod.wherewithal.GameReadingStonesInstructionsActivity.java
com.curchod.wherewithal.GameSnazzyThumbworkActivity.java
com.curchod.wherewithal.GameWritingStonesActivity.java
com.curchod.wherewithal.GamesActivity.java
com.curchod.wherewithal.InstructionsActivity.java
com.curchod.wherewithal.MainActivity.java
com.curchod.wherewithal.PlayerActivity.java
com.curchod.wherewithal.PlayersActivity.java