public class CollabMsgType
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static CollabMsgType |
createNoRelay(java.lang.String id,
java.lang.String desc)
Factory method to create a CollabMsgType that should not be relayed.
|
static CollabMsgType |
createRelay(java.lang.String id,
java.lang.String desc)
Factory method to create a CollabMsgType that should be relayed.
|
boolean |
equals(java.lang.Object other)
Overwrite the equals
|
static CollabMsgType |
find(java.lang.String typeId)
Find the MsgType identified by the given type typeId.
|
boolean |
getBlocked()
Get the Blocked property.
|
boolean |
getShouldRelay()
Get the ShouldRelay property.
|
boolean |
idEquals(java.lang.String otherId)
Does this object's identifier equals the given id
|
void |
setBlocked(boolean value)
Set the Blocked property.
|
void |
setShouldRelay(boolean value)
Set the ShouldRelay property.
|
java.lang.String |
toString()
String representation of this type
|
public static CollabMsgType createRelay(java.lang.String id, java.lang.String desc)
id
- Id of the message typedesc
- Its descriptionpublic static CollabMsgType createNoRelay(java.lang.String id, java.lang.String desc)
id
- Id of the message typedesc
- Its descriptionpublic static CollabMsgType find(java.lang.String typeId)
typeId
- Thepublic boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- Object to compare topublic boolean idEquals(java.lang.String otherId)
otherId
- Id to check equality onpublic java.lang.String toString()
toString
in class java.lang.Object
public void setBlocked(boolean value)
value
- The new value for Blockedpublic boolean getBlocked()
public void setShouldRelay(boolean value)
value
- The new value for ShouldRelaypublic boolean getShouldRelay()