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, toString
public void setGroupFields(Group[] groupFields)
SimpleListExtension
setGroupFields
in interface SimpleListExtension
groupFields
- Array of types.Group objects.public Group[] getGroupFields()
SimpleListExtension
getGroupFields
in interface SimpleListExtension
public Class<SimpleListExtension> getInterface()
This is useful when dealing with properties that may have multiple implementations. For example, Module.
getInterface
in interface CopyFrom
public void setSortFields(Sort[] sortFields)
SimpleListExtension
setSortFields
in interface SimpleListExtension
sortFields
- Array of types.Sort objectspublic Sort[] getSortFields()
SimpleListExtension
getSortFields
in interface SimpleListExtension
public void setTreatAs(String treatAs)
SimpleListExtension
setTreatAs
in interface SimpleListExtension
treatAs
- treatAs valuepublic String getTreatAs()
SimpleListExtension
getTreatAs
in interface SimpleListExtension
public String getUri()
getUri
in interface Module
getUri
in class ModuleImpl
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 © 2023. All rights reserved.