org.jasig.portlet.athletics.model.feed.xml
Class NewsItem

java.lang.Object
  extended by org.jasig.portlet.athletics.model.feed.xml.NewsItem
All Implemented Interfaces:
Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

public class NewsItem
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 anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="date" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="summary" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="image-url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="story-url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String date
           
protected  String imageUrl
           
protected  String storyUrl
           
protected  String summary
           
protected  String title
           
 
Constructor Summary
NewsItem()
           
 
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 getDate()
          Gets the value of the date property.
 String getImageUrl()
          Gets the value of the imageUrl property.
 String getStoryUrl()
          Gets the value of the storyUrl property.
 String getSummary()
          Gets the value of the summary property.
 String getTitle()
          Gets the value of the title property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setDate(String value)
          Sets the value of the date property.
 void setImageUrl(String value)
          Sets the value of the imageUrl property.
 void setStoryUrl(String value)
          Sets the value of the storyUrl 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

protected String title

date

protected String date

summary

protected String summary

imageUrl

protected String imageUrl

storyUrl

protected String storyUrl
Constructor Detail

NewsItem

public NewsItem()
Method Detail

getTitle

public String getTitle()
Gets the value of the title property.

Returns:
possible object is String

setTitle

public void setTitle(String value)
Sets the value of the title property.

Parameters:
value - allowed object is String

getDate

public String getDate()
Gets the value of the date property.

Returns:
possible object is String

setDate

public void setDate(String value)
Sets the value of the date property.

Parameters:
value - allowed object is String

getSummary

public String getSummary()
Gets the value of the summary property.

Returns:
possible object is String

setSummary

public void setSummary(String value)
Sets the value of the summary property.

Parameters:
value - allowed object is String

getImageUrl

public String getImageUrl()
Gets the value of the imageUrl property.

Returns:
possible object is String

setImageUrl

public void setImageUrl(String value)
Sets the value of the imageUrl property.

Parameters:
value - allowed object is String

getStoryUrl

public String getStoryUrl()
Gets the value of the storyUrl property.

Returns:
possible object is String

setStoryUrl

public void setStoryUrl(String value)
Sets the value of the storyUrl property.

Parameters:
value - allowed object is String

toString

public String toString()
Overrides:
toString in class Object

append

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

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

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

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

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

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2011 Jasig. All Rights Reserved.