Package com.attivio.sdk.search
Class SearchProfile
- java.lang.Object
-
- com.attivio.sdk.search.SearchProfile
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.lang.Comparable<SearchProfile>
public class SearchProfile extends java.lang.Object implements java.lang.Comparable<SearchProfile>, java.lang.Cloneable, java.io.Serializable
Represents meta information about a search profile.A "search profile" is a collection of
QueryFramesthat can be applied to a query for natural language processing.EXPERIMENTAL: This API will be changed/renamed in a future release.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SearchProfile()SearchProfile(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchProfileclone()intcompareTo(SearchProfile other)booleanequals(java.lang.Object other)java.lang.StringgetDescription()Get a description for this search profile.java.util.DategetLastCompiled()Get the last compiled time for this search profile, ornullif this search profile has never been compiled.java.util.DategetLastModified()Get the last modification time for this search profile.java.util.DategetLastPublished()Get the last published time for this search profile, ornullif this search profile has never been published.java.lang.StringgetName()Get the name of the search profile.inthashCode()booleanisCompiled()Get if all query frames for the search profile are compiled.booleanisPublished()Get if all query frames for the search profile are published.voidsetCompiled(boolean value)Set if all query frames for the search profile are compiled.voidsetDescription(java.lang.String value)Set a description for this search profile.voidsetLastCompiled(java.util.Date value)Set the last compiled time for this search profile, ornullif this search profile has never been compiled.voidsetLastModified(java.util.Date value)Set the last modification time for this search profile.voidsetLastPublished(java.util.Date value)Set the last published time for this search profile, ornullif this search profile has never been published.voidsetName(java.lang.String value)Set the name of the search profile.voidsetPublished(boolean value)Set if all query frames for the search profile are published.java.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the name of the search profile.
-
setName
public void setName(java.lang.String value)
Set the name of the search profile.
-
getDescription
public java.lang.String getDescription()
Get a description for this search profile.
-
setDescription
public void setDescription(java.lang.String value)
Set a description for this search profile.
-
getLastModified
public java.util.Date getLastModified()
Get the last modification time for this search profile.
-
setLastModified
public void setLastModified(java.util.Date value)
Set the last modification time for this search profile.
-
getLastCompiled
public java.util.Date getLastCompiled()
Get the last compiled time for this search profile, ornullif this search profile has never been compiled.
-
setLastCompiled
public void setLastCompiled(java.util.Date value)
Set the last compiled time for this search profile, ornullif this search profile has never been compiled.
-
getLastPublished
public java.util.Date getLastPublished()
Get the last published time for this search profile, ornullif this search profile has never been published.
-
setLastPublished
public void setLastPublished(java.util.Date value)
Set the last published time for this search profile, ornullif this search profile has never been published.
-
isCompiled
public boolean isCompiled()
Get if all query frames for the search profile are compiled.
-
setCompiled
public void setCompiled(boolean value)
Set if all query frames for the search profile are compiled.
-
isPublished
public boolean isPublished()
Get if all query frames for the search profile are published.
-
setPublished
public void setPublished(boolean value)
Set if all query frames for the search profile are published.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
clone
public SearchProfile clone()
- Overrides:
clonein classjava.lang.Object
-
compareTo
public int compareTo(SearchProfile other)
- Specified by:
compareToin interfacejava.lang.Comparable<SearchProfile>
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-