public class SimpleListExtensionImpl extends ModuleImpl implements SimpleListExtension
URI| Constructor and Description |
|---|
SimpleListExtensionImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom(CopyFrom obj)
Copies all the properties of the given bean into this one.
|
Group[] |
getGroupFields()
The cf:group element is intended to inform the client that the property to which it refers is
one that is “groupable” – that is, that the client should provide a user interface that
allows the user to group or filter on the values of that property.
|
Class<SimpleListExtension> |
getInterface()
Returns the interface the copyFrom works on.
|
Sort[] |
getSortFields()
The cf:sort element is intended to inform the client that the property to which it refers is
one that is “sortable” – that is, that the client should provide a user interface that allows
the user to sort on that property.
|
String |
getTreatAs()
This XML element allows the publisher of a feed document to indicate to the consumers of the
feed that the feed is intended to be consumed as a list.
|
String |
getUri()
Returns the URI of the module.
|
void |
setGroupFields(Group[] groupFields)
The cf:group element is intended to inform the client that the property to which it refers is
one that is “groupable” – that is, that the client should provide a user interface that
allows the user to group or filter on the values of that property.
|
void |
setSortFields(Sort[] sortFields)
The cf:sort element is intended to inform the client that the property to which it refers is
one that is “sortable” – that is, that the client should provide a user interface that allows
the user to sort on that property.
|
void |
setTreatAs(String treatAs)
This XML element allows the publisher of a feed document to indicate to the consumers of the
feed that the feed is intended to be consumed as a list.
|
clone, equals, hashCode, toStringpublic void setGroupFields(Group[] groupFields)
SimpleListExtensionsetGroupFields in interface SimpleListExtensiongroupFields - Array of types.Group objects.public Group[] getGroupFields()
SimpleListExtensiongetGroupFields in interface SimpleListExtensionpublic Class<SimpleListExtension> getInterface()
This is useful when dealing with properties that may have multiple implementations. For example, Module.
getInterface in interface CopyFrompublic void setSortFields(Sort[] sortFields)
SimpleListExtensionsetSortFields in interface SimpleListExtensionsortFields - Array of types.Sort objectspublic Sort[] getSortFields()
SimpleListExtensiongetSortFields in interface SimpleListExtensionpublic void setTreatAs(String treatAs)
SimpleListExtensionsetTreatAs in interface SimpleListExtensiontreatAs - treatAs valuepublic String getTreatAs()
SimpleListExtensiongetTreatAs in interface SimpleListExtensionpublic String getUri()
getUri in interface ModulegetUri in class ModuleImplpublic 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 © 2021. All rights reserved.