org.jasig.portlet.utils.search
Class SearchResult

java.lang.Object
  extended by org.jasig.portlet.utils.search.SearchResult
All Implemented Interfaces:
Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-02-23T10:47:45-08:00",
           comments="JAXB RI vhudson-jaxb-ri-2.2-7")
public class SearchResult
extends Object
implements Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

Java class for searchResult complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="searchResult">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="summary" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <choice minOccurs="0">
           <element name="portletUrl" type="{https://source.jasig.org/schemas/portlet-utils/search}portletUrl"/>
           <element name="externalUrl" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String externalUrl
           
protected  PortletUrl portletUrl
           
protected  String summary
           
protected  String title
           
protected  List<String> type
           
 
Constructor Summary
SearchResult()
           
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 boolean equals(Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
           
 String getExternalUrl()
          Gets the value of the externalUrl property.
 PortletUrl getPortletUrl()
          Gets the value of the portletUrl property.
 String getSummary()
          Gets the value of the summary property.
 String getTitle()
          Gets the value of the title property.
 List<String> getType()
          Gets the value of the type property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setExternalUrl(String value)
          Sets the value of the externalUrl property.
 void setPortletUrl(PortletUrl value)
          Sets the value of the portletUrl property.
 void setSummary(String value)
          Sets the value of the summary property.
 void setTitle(String value)
          Sets the value of the title property.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

title

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-02-23T10:47:45-08:00",
           comments="JAXB RI vhudson-jaxb-ri-2.2-7")
protected String title

summary

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-02-23T10:47:45-08:00",
           comments="JAXB RI vhudson-jaxb-ri-2.2-7")
protected String summary

type

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-02-23T10:47:45-08:00",
           comments="JAXB RI vhudson-jaxb-ri-2.2-7")
protected List<String> type

portletUrl

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-02-23T10:47:45-08:00",
           comments="JAXB RI vhudson-jaxb-ri-2.2-7")
protected PortletUrl portletUrl

externalUrl

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-02-23T10:47:45-08:00",
           comments="JAXB RI vhudson-jaxb-ri-2.2-7")
protected String externalUrl
Constructor Detail

SearchResult

public SearchResult()
Method Detail

getTitle

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-02-23T10:47:45-08:00",
           comments="JAXB RI vhudson-jaxb-ri-2.2-7")
public String getTitle()
Gets the value of the title property.

Returns:
possible object is String

setTitle

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-02-23T10:47:45-08:00",
           comments="JAXB RI vhudson-jaxb-ri-2.2-7")
public void setTitle(String value)
Sets the value of the title property.

Parameters:
value - allowed object is String

getSummary

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-02-23T10:47:45-08:00",
           comments="JAXB RI vhudson-jaxb-ri-2.2-7")
public String getSummary()
Gets the value of the summary property.

Returns:
possible object is String

setSummary

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-02-23T10:47:45-08:00",
           comments="JAXB RI vhudson-jaxb-ri-2.2-7")
public void setSummary(String value)
Sets the value of the summary property.

Parameters:
value - allowed object is String

getType

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-02-23T10:47:45-08:00",
           comments="JAXB RI vhudson-jaxb-ri-2.2-7")
public List<String> getType()
Gets the value of the type property.

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 set method for the type property.

For example, to add a new item, do as follows:

    getType().add(newItem);
 

Objects of the following type(s) are allowed in the list String


getPortletUrl

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-02-23T10:47:45-08:00",
           comments="JAXB RI vhudson-jaxb-ri-2.2-7")
public PortletUrl getPortletUrl()
Gets the value of the portletUrl property.

Returns:
possible object is PortletUrl

setPortletUrl

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-02-23T10:47:45-08:00",
           comments="JAXB RI vhudson-jaxb-ri-2.2-7")
public void setPortletUrl(PortletUrl value)
Sets the value of the portletUrl property.

Parameters:
value - allowed object is PortletUrl

getExternalUrl

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-02-23T10:47:45-08:00",
           comments="JAXB RI vhudson-jaxb-ri-2.2-7")
public String getExternalUrl()
Gets the value of the externalUrl property.

Returns:
possible object is String

setExternalUrl

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-02-23T10:47:45-08:00",
           comments="JAXB RI vhudson-jaxb-ri-2.2-7")
public void setExternalUrl(String value)
Sets the value of the externalUrl property.

Parameters:
value - allowed object is String

toString

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-02-23T10:47:45-08:00",
           comments="JAXB RI vhudson-jaxb-ri-2.2-7")
public String toString()
Overrides:
toString in class Object

append

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-02-23T10:47:45-08:00",
           comments="JAXB RI vhudson-jaxb-ri-2.2-7")
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                                       StringBuilder buffer,
                                                       org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString

appendFields

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-02-23T10:47:45-08:00",
           comments="JAXB RI vhudson-jaxb-ri-2.2-7")
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                                             StringBuilder buffer,
                                                             org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString

equals

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-02-23T10:47:45-08:00",
           comments="JAXB RI vhudson-jaxb-ri-2.2-7")
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                                                 org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                                                 Object object,
                                                 org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-02-23T10:47:45-08:00",
           comments="JAXB RI vhudson-jaxb-ri-2.2-7")
public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-02-23T10:47:45-08:00",
           comments="JAXB RI vhudson-jaxb-ri-2.2-7")
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                               org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-02-23T10:47:45-08:00",
           comments="JAXB RI vhudson-jaxb-ri-2.2-7")
public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2012 Jasig. All Rights Reserved.