public final class ViewInfo extends Object implements Attribute
Modifier and Type | Class and Description |
---|---|
static class |
ViewInfo.Direction
Represents a kind of ordering direction.
|
static class |
ViewInfo.Ordering
Represents an ordering atom.
|
static class |
ViewInfo.ViewKind
Represents a kind of view.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static ViewInfo |
flat()
Returns an instance of flat view information.
|
List<String> |
getGrouping()
Returns the grouping properties.
|
ViewInfo.ViewKind |
getKind()
Returns the view kind.
|
List<ViewInfo.Ordering> |
getOrdering()
Returns the sort expression in each group.
|
List<String> |
getTerms()
Returns the property terms.
|
static ViewInfo |
groupOf(String... terms)
Creates a new group view information instance from the given grouping term list.
|
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDeclaringClass
public static ViewInfo flat()
public static ViewInfo groupOf(String... terms)
=
(grouping), +
(ascendant order), or -
(descendant
order), and follow its property name.terms
- the property termsgetTerms()
public ViewInfo.ViewKind getKind()
public List<String> getTerms()
=
(grouping), +
(ascendant order), or -
(descendant
order), and follow its property name.groupOf(String...)
public List<String> getGrouping()
public List<ViewInfo.Ordering> getOrdering()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.