|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.service.protocol.ServerStoredDetails.GenericDetail
public static class ServerStoredDetails.GenericDetail
A generic detail used as the root of all other server stored details. This class should be extended or instantiated by implementors with the purpose of representing details not defined here.
| Field Summary | |
|---|---|
protected String |
detailDisplayName
|
protected Object |
value
|
| Constructor Summary | |
|---|---|
ServerStoredDetails.GenericDetail(String detailDisplayName,
Object value)
Instantiates this detail setting its value and display name accordingly. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Compares two GenericDetails according their DetailDisplayName and Value |
String |
getDetailDisplayName()
Returns a display name that may be used as a description when visualizing the value of the detail (make sure you don't use this string in internationalized versions). |
Object |
getDetailValue()
Returns the value of the detail. |
String |
toString()
Returns a String representation of the detail using both its value and display name. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Object value
protected String detailDisplayName
| Constructor Detail |
|---|
public ServerStoredDetails.GenericDetail(String detailDisplayName,
Object value)
detailDisplayName - a display name that may be used as a
description when visualizing the value of the detailvalue - the value of the detail.| Method Detail |
|---|
public Object getDetailValue()
public String getDetailDisplayName()
public String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectobj - Object expected GenericDetail otherwise return false
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||