public class SleEntryImpl extends Object implements SleEntry
Constructor and Description |
---|
SleEntryImpl() |
Modifier and Type | Method and Description |
---|---|
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(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.
|
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.
|
String |
getUri()
Returns the URI of the module.
|
int |
hashCode() |
void |
setGroupValues(EntryValue[] groupValues) |
void |
setSortValues(EntryValue[] sortValues) |
String |
toString() |
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 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 String getUri()
public Object clone() throws CloneNotSupportedException
Module
clone
in interface Module
clone
in class Object
CloneNotSupportedException
- thrown if an element of the object cannot be cloned.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.
Copyright © 2024. All rights reserved.