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)
SleEntry
getGroupByElement
in interface SleEntry
element
- element name to look forpublic void setGroupValues(EntryValue[] groupValues)
public EntryValue[] getGroupValues()
SleEntry
getGroupValues
in interface SleEntry
public java.lang.Class<SleEntry> getInterface()
This is useful when dealing with properties that may have multiple implementations. For example, Module.
getInterface
in interface CopyFrom
public EntryValue getSortByElement(Sort element)
SleEntry
getSortByElement
in interface SleEntry
element
- element namepublic void setSortValues(EntryValue[] sortValues)
public EntryValue[] getSortValues()
SleEntry
getSortValues
in interface SleEntry
public java.lang.String getUri()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
Module
public 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.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object