Package com.flower.docs.domain.search
Class Search
- java.lang.Object
-
- com.flower.docs.domain.common.IdentifiableElement
-
- com.flower.docs.domain.search.Search
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
StoredSearch
public class Search extends IdentifiableElement implements java.io.Serializable
FlowerDocs Search object which provides category to complete informations given by SearchRequest <p>Java class for Search complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType name="Search"> <complexContent> <extension base="{http://flower.com/docs/domain/common}IdentifiableElement"> <sequence> <element name="category" type="{http://flower.com/docs/domain/component}Category"/> <element name="request" type="{http://flower.com/docs/domain/search}SearchRequest"/> <element name="displayNames" type="{http://flower.com/docs/domain/i18n}I18NLabel" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Category
category
protected java.util.List<I18NLabel>
displayNames
protected SearchRequest
request
-
Fields inherited from class com.flower.docs.domain.common.IdentifiableElement
id
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
Category
getCategory()
Gets the value of the category property.java.util.List<I18NLabel>
getDisplayNames()
Gets the value of the displayNames property.SearchRequest
getRequest()
Gets the value of the request property.int
hashCode()
void
setCategory(Category value)
Sets the value of the category property.void
setDisplayNames(java.util.List<I18NLabel> value)
void
setRequest(SearchRequest value)
Sets the value of the request property.java.lang.String
toString()
-
Methods inherited from class com.flower.docs.domain.common.IdentifiableElement
getId, setId
-
-
-
-
Field Detail
-
category
protected Category category
-
request
protected SearchRequest request
-
displayNames
protected java.util.List<I18NLabel> displayNames
-
-
Constructor Detail
-
Search
public Search()
Default no-arg constructor abc
-
Search
public Search(Id id, Category category, SearchRequest request, java.util.List<I18NLabel> displayNames)
Fully-initialising value constructor
-
-
Method Detail
-
getCategory
public Category getCategory()
Gets the value of the category property.- Returns:
- possible object is
Category
-
setCategory
public void setCategory(Category value)
Sets the value of the category property.- Parameters:
value
- allowed object isCategory
-
getRequest
public SearchRequest getRequest()
Gets the value of the request property.- Returns:
- possible object is
SearchRequest
-
setRequest
public void setRequest(SearchRequest value)
Sets the value of the request property.- Parameters:
value
- allowed object isSearchRequest
-
getDisplayNames
public java.util.List<I18NLabel> getDisplayNames()
Gets the value of the displayNames property. <p> This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the displayNames property. <p> For example, to add a new item, do as follows: <pre> getDisplayNames().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listI18NLabel
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
setDisplayNames
public void setDisplayNames(java.util.List<I18NLabel> value)
-
-