public class HierarchyRdfContextOptions extends Object
| Modifier and Type | Field and Description |
|---|---|
static HierarchyRdfContextOptions |
DEFAULT |
static boolean |
DEFAULT_CONTAINMENT |
static int |
DEFAULT_LIMIT |
static boolean |
DEFAULT_MEMBERSHIP |
static int |
DEFAULT_OFFSET |
| Constructor and Description |
|---|
HierarchyRdfContextOptions()
Options with the default values
|
HierarchyRdfContextOptions(int limit,
int offset)
Options with a limit and offset
|
HierarchyRdfContextOptions(int limit,
int offset,
boolean membership,
boolean containment)
Set the full range of hierarchy options
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containmentEnabled()
Should the serialziation include containment triples
|
int |
getLimit()
Get the pagination limit value
|
int |
getOffset()
Get the pagination offset value
|
boolean |
hasLimit()
Is there a pagination limit that needs to be applied?
|
boolean |
hasOffset()
Is there a pagination offset that needs to be applied?
|
boolean |
membershipEnabled()
Should the serialization include membership triples
|
public static final HierarchyRdfContextOptions DEFAULT
public static final int DEFAULT_LIMIT
public static final int DEFAULT_OFFSET
public static final boolean DEFAULT_MEMBERSHIP
public static final boolean DEFAULT_CONTAINMENT
public HierarchyRdfContextOptions()
public HierarchyRdfContextOptions(int limit,
int offset)
limit - offset - public HierarchyRdfContextOptions(int limit,
int offset,
boolean membership,
boolean containment)
limit - number of hierarchy nodes to displayoffset - pagination offsetmembership - include membership triplescontainment - include containment triplespublic boolean membershipEnabled()
public boolean containmentEnabled()
public boolean hasOffset()
public boolean hasLimit()
public int getLimit()
public int getOffset()
Copyright © 2013–2014 DuraSpace, Inc.. All rights reserved.