Commit 045b3cc2 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

1. Added property "naturalLanguageName".

2. Removed #getName.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@219 b35dd754-fafc-0310-a699-88a17e54d16e
parent b188c45f
......@@ -64,6 +64,11 @@ class MUCPersistentRoomSurrogate implements MUCRoom, Cacheable {
*/
private PacketRouter router;
/**
* The natural language name of the room.
*/
private String naturalLanguageName;
/**
* Description of the room. The owner can change the description using the room configuration
* form.
......@@ -361,6 +366,14 @@ class MUCPersistentRoomSurrogate implements MUCRoom, Cacheable {
this.canOccupantsInvite = canOccupantsInvite;
}
public String getNaturalLanguageName() {
return naturalLanguageName;
}
public void setNaturalLanguageName(String naturalLanguageName) {
this.naturalLanguageName = naturalLanguageName;
}
public String getDescription() {
return description;
}
......@@ -453,10 +466,6 @@ class MUCPersistentRoomSurrogate implements MUCRoom, Cacheable {
throw new UnsupportedOperationException();
}
public void setName(String name) {
this.name = name;
}
public void unlockRoom(MUCRole senderRole) {
throw new UnsupportedOperationException();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment