public class SleEntryImpl extends java.lang.Object implements SleEntry
| Modifier and Type | Field and Description |
|---|---|
private static EntryValue[] |
EMPTY_VALUES |
private EntryValue[] |
groupValues |
private static org.slf4j.Logger |
LOG |
private ObjectBean |
obj |
private static long |
serialVersionUID |
private EntryValue[] |
sortValues |
| Constructor and Description |
|---|
SleEntryImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a deep clone of the object.
|
void |
copyFrom(CopyFrom obj)
Copies all the properties of the given bean into this one.
|
boolean |
equals(java.lang.Object o) |
EntryValue |
getGroupByElement(Group element)
Returns an EntryValue for the given element name.
|
EntryValue[] |
getGroupValues()
An array of EntryValue objects that correspond to the grouping for the feed.
|
java.lang.Class<SleEntry> |
getInterface()
Returns the interface the copyFrom works on.
|
EntryValue |
getSortByElement(Sort element)
Returns an EntryValue for the given element name.
|
EntryValue[] |
getSortValues()
Returns an array of EntryValues for the fields declared in the heading.
|
java.lang.String |
getUri()
Returns the URI of the module.
|
int |
hashCode() |
void |
setGroupValues(EntryValue[] groupValues) |
void |
setSortValues(EntryValue[] sortValues) |
java.lang.String |
toString() |
private static final long serialVersionUID
private static final org.slf4j.Logger LOG
private static final EntryValue[] EMPTY_VALUES
private final ObjectBean obj
private EntryValue[] groupValues
private EntryValue[] sortValues
public EntryValue getGroupByElement(Group element)
SleEntrygetGroupByElement in interface SleEntryelement - element name to look forpublic void setGroupValues(EntryValue[] groupValues)
public EntryValue[] getGroupValues()
SleEntrygetGroupValues in interface SleEntrypublic java.lang.Class<SleEntry> getInterface()
This is useful when dealing with properties that may have multiple implementations. For example, Module.
getInterface in interface CopyFrompublic EntryValue getSortByElement(Sort element)
SleEntrygetSortByElement in interface SleEntryelement - element namepublic void setSortValues(EntryValue[] sortValues)
public EntryValue[] getSortValues()
SleEntrygetSortValues in interface SleEntrypublic java.lang.String getUri()
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
Modulepublic void copyFrom(CopyFrom obj)
Any existing properties in this bean are lost.
This method is useful for moving from one implementation of a bean interface to another. For example from the default SyndFeed bean implementation to a Hibernate ready implementation.
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object