pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

Java pastebin - collaborative debugging tool View Help


Posted by metalklesk on Sun 24 May 04:33
report abuse | download | new post

  1. /*
  2.  * To change this template, choose Tools | Templates
  3.  * and open the template in the editor.
  4.  */
  5.  
  6. package org.modelo;
  7.  
  8. /**
  9.  *
  10.  * @author metalklesk
  11.  */
  12. public class Usuario {
  13.  
  14.     private int id;
  15.     private String user;
  16.     private String passwd;
  17.     private boolean activo;
  18.  
  19.     public boolean isActivo() {
  20.         return activo;
  21.     }
  22.  
  23.     public void setActivo(boolean activo) {
  24.         this.activo = activo;
  25.     }
  26.  
  27.     public int getId() {
  28.         return id;
  29.     }
  30.  
  31.     public void setId(int id) {
  32.         this.id = id;
  33.     }
  34.  
  35.     public String getPasswd() {
  36.         return passwd;
  37.     }
  38.  
  39.     public void setPasswd(String passwd) {
  40.         this.passwd = passwd;
  41.     }
  42.  
  43.     public String getUser() {
  44.         return user;
  45.     }
  46.  
  47.     public void setUser(String user) {
  48.         this.user = user;
  49.     }
  50. }

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me so that I can delete my post