fr.cnes.sitools.feeds.model
Class FeedModel

java.lang.Object
  extended by fr.cnes.sitools.feeds.model.FeedModel
All Implemented Interfaces:
IResource

public final class FeedModel
extends java.lang.Object
implements IResource

Model for ATOM or RSS feed

Author:
AKKA Technologies

Constructor Summary
FeedModel()
           
 
Method Summary
 FeedAuthorModel getAuthor()
          Gets the author value
 java.lang.String getDescription()
          Gets the description value
 java.lang.String getEncoding()
          Gets the encoding value
 java.util.List<FeedEntryModel> getEntries()
          Gets the entries value
 java.lang.String getExternalUrl()
          Gets the externalUrl value
 FeedSource getFeedSource()
          Gets the feedSource value
 java.lang.String getFeedType()
          Gets the feedType value
 java.lang.String getId()
          Gets the id value
 Resource getImage()
          Gets the image value
 java.lang.String getLink()
          Gets the link value
 java.util.List<java.lang.String> getLinks()
          Gets the links value
 java.lang.String getName()
          Resource name
 java.lang.String getParent()
          Gets the parent value
 java.lang.String getTitle()
          Gets the title value
 java.lang.String getUri()
          Gets the uri value
 boolean isVisible()
          Gets the visible value
 void setAuthor(FeedAuthorModel author)
          Sets the value of author
 void setDescription(java.lang.String description)
          Sets the value of description
 void setEncoding(java.lang.String encoding)
          Sets the value of encoding
 void setEntries(java.util.List<FeedEntryModel> entries)
          Sets the value of entries
 void setExternalUrl(java.lang.String externalUrl)
          Sets the value of externalUrl
 void setFeedSource(FeedSource feedSource)
          Sets the value of feedSource
 void setFeedType(java.lang.String feedType)
          Sets the value of feedType
 void setId(java.lang.String id)
          Sets the value of id
 void setImage(Resource image)
          Sets the value of image
 void setLink(java.lang.String link)
          Sets the value of link
 void setLinks(java.util.List<java.lang.String> links)
          Sets the value of links
 void setName(java.lang.String name)
          Sets the value of name
 void setParent(java.lang.String parent)
          Sets the value of parent
 void setTitle(java.lang.String title)
          Sets the value of title
 void setUri(java.lang.String uri)
          Sets the value of uri
 void setVisible(boolean visible)
          Sets the value of visible
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeedModel

public FeedModel()
Method Detail

getId

public java.lang.String getId()
Gets the id value

Specified by:
getId in interface IResource
Returns:
the id

setId

public void setId(java.lang.String id)
Sets the value of id

Specified by:
setId in interface IResource
Parameters:
id - the id to set

getName

public java.lang.String getName()
Description copied from interface: IResource
Resource name

Specified by:
getName in interface IResource
Returns:
String

setFeedType

public void setFeedType(java.lang.String feedType)
Sets the value of feedType

Parameters:
feedType - the feedType to set

getFeedType

public java.lang.String getFeedType()
Gets the feedType value

Returns:
the feedType

getEncoding

public java.lang.String getEncoding()
Gets the encoding value

Returns:
the encoding

setEncoding

public void setEncoding(java.lang.String encoding)
Sets the value of encoding

Parameters:
encoding - the encoding to set

getUri

public java.lang.String getUri()
Gets the uri value

Returns:
the uri

setUri

public void setUri(java.lang.String uri)
Sets the value of uri

Parameters:
uri - the uri to set

getTitle

public java.lang.String getTitle()
Gets the title value

Returns:
the title

setTitle

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

Parameters:
title - the title to set

getDescription

public java.lang.String getDescription()
Gets the description value

Specified by:
getDescription in interface IResource
Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Sets the value of description

Parameters:
description - the description to set

getLink

public java.lang.String getLink()
Gets the link value

Returns:
the link

setLink

public void setLink(java.lang.String link)
Sets the value of link

Parameters:
link - the link to set

getLinks

public java.util.List<java.lang.String> getLinks()
Gets the links value

Returns:
the links

setLinks

public void setLinks(java.util.List<java.lang.String> links)
Sets the value of links

Parameters:
links - the links to set

getImage

public Resource getImage()
Gets the image value

Returns:
the image

setImage

public void setImage(Resource image)
Sets the value of image

Parameters:
image - the image to set

getEntries

public java.util.List<FeedEntryModel> getEntries()
Gets the entries value

Returns:
the entries

setEntries

public void setEntries(java.util.List<FeedEntryModel> entries)
Sets the value of entries

Parameters:
entries - the entries to set

setParent

public void setParent(java.lang.String parent)
Sets the value of parent

Parameters:
parent - the parent to set

getParent

public java.lang.String getParent()
Gets the parent value

Returns:
the parent

getAuthor

public FeedAuthorModel getAuthor()
Gets the author value

Returns:
the author

setAuthor

public void setAuthor(FeedAuthorModel author)
Sets the value of author

Parameters:
author - the author to set

setVisible

public void setVisible(boolean visible)
Sets the value of visible

Parameters:
visible - the visible to set

isVisible

public boolean isVisible()
Gets the visible value

Returns:
the visible

setFeedSource

public void setFeedSource(FeedSource feedSource)
Sets the value of feedSource

Parameters:
feedSource - the feedSource to set

getFeedSource

public FeedSource getFeedSource()
Gets the feedSource value

Returns:
the feedSource

setName

public void setName(java.lang.String name)
Sets the value of name

Parameters:
name - the name to set

setExternalUrl

public void setExternalUrl(java.lang.String externalUrl)
Sets the value of externalUrl

Parameters:
externalUrl - the externalUrl to set

getExternalUrl

public java.lang.String getExternalUrl()
Gets the externalUrl value

Returns:
the externalUrl


Copyright © 2010-2013 CNES. All Rights Reserved.