|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.gadgets.directory.internal.jaxb.JAXBDirectoryEntry
public final class JAXBDirectoryEntry
Provides a JAXB view of Directory.Entry implementations. TODO: AG-428 We should add LINK elements to this representation, as the REST Guidleines recommend.
| Constructor Summary | |
|---|---|
JAXBDirectoryEntry(Directory.Entry entry)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object that)
|
String |
getAuthorEmail()
Returns the gadget author's email address. |
String |
getAuthorName()
Returns the gadget author's name. |
Collection<String> |
getCategories()
Returns the gadget's categories. |
String |
getDescription()
Returns the entry's description. |
URI |
getGadgetSpecUri()
Returns the gadget's spec URI. |
URI |
getSelf()
The gadget spec file's resource URI. |
URI |
getThumbnailUri()
Returns the gadget's thumbnail URI. |
String |
getTitle()
Returns the gadget's title as a String. |
URI |
getTitleUri()
Returns the gadget's title URI. |
int |
hashCode()
|
Boolean |
isDeletable()
Whehter or not this gadget spec file can be removed from the directory. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JAXBDirectoryEntry(Directory.Entry entry)
Directory.Entry properties onto the JAXB properties.
entry - the Directory.Entry implementation to use| Method Detail |
|---|
public URI getSelf()
public Boolean isDeletable()
public String getAuthorEmail()
public String getAuthorName()
public Collection<String> getCategories()
public String getDescription()
public URI getGadgetSpecUri()
public URI getThumbnailUri()
public String getTitle()
public URI getTitleUri()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object that)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||