|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.aduna.clustermap.DefaultObject
info.aduna.autofocus.model.Item
public class Item
Items are the primary objects displayed in AutoFocus. Items correspond with single query results and contain properties such as title, type, location, etc. Furthermore, an Item is capable of registering scores for queries. ItemPanel extends DefaultObject so that the ClusterMap knows how to export it to a clickable image map (currently it is not possible to configure the properties that should be exported, it only knows how to deal with DefaultObjects). The ID is mapped to the location property and the title is mapped to the name property.
| Field Summary | |
|---|---|
CollationKey |
collationKey
|
static String |
DEFAULT_TYPE_DESCRIPTION
|
static Comparator<Item> |
ITEM_DATE_COMPARATOR
|
| Constructor Summary | |
|---|---|
Item(String id)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
Contact[] |
getContacts()
|
Contact[] |
getCreators()
|
String |
getFolderID()
|
String |
getFolderName()
|
String |
getID()
|
String |
getInitialText()
|
String |
getLanguage()
|
long |
getLastModified()
Returns the last modified date of this Item using the usual long-based encoding (see e.g. |
String |
getMimeType()
|
Contact[] |
getReceivers()
|
RepositoryWrapper |
getRepositoryWrapper()
Returns the RepositoryInfo holding information about the Repository from which this Item originates. |
Contact[] |
getSenders()
|
ArrayList<String> |
getSignificantTerms()
Returns the significant terms of this Item as an alphabetically sorted list of Strings. |
long |
getSize()
Returns the size of this object in bytes. |
String |
getTitle()
|
String |
getTypeDescription()
|
int |
hashCode()
Returns the hashCode of the ID String. |
void |
setContacts(Contact[] contacts)
|
void |
setCreators(Contact[] creators)
|
void |
setFolderID(String folderID)
|
void |
setFolderName(String folderName)
|
void |
setInitialText(String initialText)
|
void |
setLanguage(String language)
|
void |
setLastModified(long lastModified)
|
void |
setMimeType(String mimeType)
|
void |
setReceivers(Contact[] receivers)
|
void |
setRepositoryInfo(RepositoryWrapper repositoryInfo)
|
void |
setSenders(Contact[] senders)
|
void |
setSignificantTerms(ArrayList<String> terms)
|
void |
setSize(long size)
|
void |
setTitle(String title)
|
void |
setTypeDescription(String typeDescription)
|
| Methods inherited from class info.aduna.clustermap.DefaultObject |
|---|
getLocation, getName, setLocation, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_TYPE_DESCRIPTION
public static final Comparator<Item> ITEM_DATE_COMPARATOR
public CollationKey collationKey
| Constructor Detail |
|---|
public Item(String id)
| Method Detail |
|---|
public String getTitle()
public String getID()
public String getFolderID()
public String getFolderName()
public long getSize()
public long getLastModified()
public String getMimeType()
public String getTypeDescription()
public String getInitialText()
public ArrayList<String> getSignificantTerms()
public String getLanguage()
public Contact[] getCreators()
public Contact[] getSenders()
public Contact[] getReceivers()
public Contact[] getContacts()
public RepositoryWrapper getRepositoryWrapper()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Objectpublic void setTitle(String title)
public void setFolderID(String folderID)
public void setFolderName(String folderName)
public void setSize(long size)
public void setLastModified(long lastModified)
public void setMimeType(String mimeType)
public void setInitialText(String initialText)
public void setSignificantTerms(ArrayList<String> terms)
public void setLanguage(String language)
public void setCreators(Contact[] creators)
public void setSenders(Contact[] senders)
public void setReceivers(Contact[] receivers)
public void setContacts(Contact[] contacts)
public void setRepositoryInfo(RepositoryWrapper repositoryInfo)
public void setTypeDescription(String typeDescription)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||