public class FeedItem extends ModelObject implements Identifiable<String>, Displayable, Attributes<FeedItem,Object>
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Map<String,Object> |
getAttributes() |
Object |
getAttributeValue(String name)
Accessor to get the value and encapsulate how the value comes from the
Attributes.Attribute |
String |
getCategory() |
String |
getDisplayName() |
String |
getId() |
Date |
getLastModDate() |
Date |
getPublishDate() |
String |
getSource() |
String |
getUrl() |
int |
hashCode() |
FeedItem |
setAttribute(String name,
Object value)
This method encapsulates the responsibility of ensuring the @link Attribute} can be set into the entity,
including null checks, initializations, any relations between
Attributes and Attribute. |
void |
setAttributes(Map<String,Object> attributes) |
void |
setCategory(String category) |
void |
setId(String id) |
void |
setLastModDate(Date lastModDate) |
void |
setPublishDate(Date publishDate) |
void |
setSource(String source) |
void |
setUrl(String url) |
public FeedItem()
public FeedItem(String json)
public String getId()
getId in interface Identifiable<String>public void setId(String id)
setId in interface Identifiable<String>public String getUrl()
public void setUrl(String url)
public String getSource()
public void setSource(String source)
public String getCategory()
public void setCategory(String category)
public Date getLastModDate()
public void setLastModDate(Date lastModDate)
public Date getPublishDate()
public void setPublishDate(Date publishDate)
public FeedItem setAttribute(String name, Object value)
AttributesAttributes and Attribute.setAttribute in interface Attributes<FeedItem,Object>name - as Stringvalue - as public Object getAttributeValue(String name)
AttributesAttributes.AttributegetAttributeValue in interface Attributes<FeedItem,Object>name - as Stringpublic String getDisplayName()
getDisplayName in interface DisplayableCopyright © 2018. All rights reserved.