public class Group
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
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. Groupable properties
should contain
a small set of discrete values (e.g. book genres are perfect for groups).
The cf:group element contains the following attributes:
cf:group element
refers to the default sort order.cf:group element refers. If it is omitted, the client should use the value of the
"element" attribute as the human-readable name. The "label" attribute is required if the
"element" attribute is omitted. | Constructor and Description |
|---|
Group(org.jdom2.Namespace namespace,
java.lang.String element,
java.lang.String label) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getElement()
Returns the name of the element.
|
java.lang.String |
getLabel()
Returns the label of the element.
|
org.jdom2.Namespace |
getNamespace()
Returns the namespace of the element.
|
int |
hashCode() |
java.lang.String |
toString() |
public Group(org.jdom2.Namespace namespace,
java.lang.String element,
java.lang.String label)
namespace - Namespace of the elementelement - Name of the elementlabel - Label for the grouping.public java.lang.String getElement()
public java.lang.String getLabel()
public org.jdom2.Namespace getNamespace()
public java.lang.Object clone()
clone in class java.lang.Objectpublic 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.ObjectCopyright © 2025. All rights reserved.