mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-03 09:22:07 +01:00
e96b6e7e38
SMACK-136 - Add support for Bookmark Storage. git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3866 b35dd754-fafc-0310-a699-88a17e54d16e
91 lines
2.2 KiB
Java
91 lines
2.2 KiB
Java
/**
|
|
* $Revision$
|
|
* $Date$
|
|
*
|
|
* Copyright (C) 1999-2005 Jive Software. All rights reserved.
|
|
* This software is the proprietary information of Jive Software. Use is subject to license terms.
|
|
*/
|
|
package org.jivesoftware.smackx.bookmark;
|
|
|
|
/**
|
|
* Respresents a Conference Room bookmarked on the server using JEP-0048 Bookmark Storage JEP.
|
|
*
|
|
* @author Derek DeMoro
|
|
*/
|
|
public class BookmarkedConference {
|
|
|
|
private String name;
|
|
private boolean autoJoin;
|
|
private String jid;
|
|
|
|
private String nickname;
|
|
private String password;
|
|
|
|
|
|
/**
|
|
* Returns the display label representing the Conference room.
|
|
*
|
|
* @return the name of the conference room.
|
|
*/
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
/**
|
|
* Returns true if this conference room should be auto-joined on startup.
|
|
*
|
|
* @return true if room should be joined on startup, otherwise false.
|
|
*/
|
|
public boolean isAutoJoin() {
|
|
return autoJoin;
|
|
}
|
|
|
|
public void setAutoJoin(boolean autoJoin) {
|
|
this.autoJoin = autoJoin;
|
|
}
|
|
|
|
/**
|
|
* Returns the full JID of this conference room. (ex.dev@conference.jivesoftware.com)
|
|
*
|
|
* @return the full JID of this conference room.
|
|
*/
|
|
public String getJid() {
|
|
return jid;
|
|
}
|
|
|
|
public void setJid(String jid) {
|
|
this.jid = jid;
|
|
}
|
|
|
|
/**
|
|
* Returns the nickname to use when joining this conference room. This is an optional
|
|
* value and may return null.
|
|
*
|
|
* @return the nickname to use when joining, null may be returned.
|
|
*/
|
|
public String getNickname() {
|
|
return nickname;
|
|
}
|
|
|
|
public void setNickname(String nickname) {
|
|
this.nickname = nickname;
|
|
}
|
|
|
|
/**
|
|
* Returns the password to use when joining this conference room. This is an optional
|
|
* value and may return null.
|
|
*
|
|
* @return the password to use when joining this conference room, null may be returned.
|
|
*/
|
|
public String getPassword() {
|
|
return password;
|
|
}
|
|
|
|
public void setPassword(String password) {
|
|
this.password = password;
|
|
}
|
|
}
|