PersonalContact.java :  » Client » androidxmpp » pl » edu » agh » mobsys » data » Android Open Source

Android Open Source » Client » androidxmpp 
androidxmpp » pl » edu » agh » mobsys » data » PersonalContact.java
package pl.edu.agh.mobsys.data;

/**
 * Reprezentuje standardowy osobowy kontakt XMPP (nie smoa).
 * */
public class PersonalContact extends Contact {

  private String xmppName, resource;

  public String getResource() {
    return resource;
  }

  public void setResource(String resource) {
    this.resource = resource;
  }

  public PersonalContact(String xmppName, String resource) {
    super();
    this.xmppName = "".equals(xmppName) ? null : xmppName;
    this.resource = "".equals(resource) ? null : resource;
  }

  public String getXmppName() {
    return xmppName;
  }

  public void setXmppName(String xmppName) {
    this.xmppName = xmppName;
  }  
  
}
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.