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
QueryFrames
that 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 SearchProfile
clone()
int
compareTo(SearchProfile other)
boolean
equals(java.lang.Object other)
java.lang.String
getDescription()
Get a description for this search profile.java.util.Date
getLastCompiled()
Get the last compiled time for this search profile, ornull
if this search profile has never been compiled.java.util.Date
getLastModified()
Get the last modification time for this search profile.java.util.Date
getLastPublished()
Get the last published time for this search profile, ornull
if this search profile has never been published.java.lang.String
getName()
Get the name of the search profile.int
hashCode()
boolean
isCompiled()
Get if all query frames for the search profile are compiled.boolean
isPublished()
Get if all query frames for the search profile are published.void
setCompiled(boolean value)
Set if all query frames for the search profile are compiled.void
setDescription(java.lang.String value)
Set a description for this search profile.void
setLastCompiled(java.util.Date value)
Set the last compiled time for this search profile, ornull
if this search profile has never been compiled.void
setLastModified(java.util.Date value)
Set the last modification time for this search profile.void
setLastPublished(java.util.Date value)
Set the last published time for this search profile, ornull
if this search profile has never been published.void
setName(java.lang.String value)
Set the name of the search profile.void
setPublished(boolean value)
Set if all query frames for the search profile are published.java.lang.String
toString()
-
-
-
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, ornull
if this search profile has never been compiled.
-
setLastCompiled
public void setLastCompiled(java.util.Date value)
Set the last compiled time for this search profile, ornull
if this search profile has never been compiled.
-
getLastPublished
public java.util.Date getLastPublished()
Get the last published time for this search profile, ornull
if this search profile has never been published.
-
setLastPublished
public void setLastPublished(java.util.Date value)
Set the last published time for this search profile, ornull
if 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:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
clone
public SearchProfile clone()
- Overrides:
clone
in classjava.lang.Object
-
compareTo
public int compareTo(SearchProfile other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<SearchProfile>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-