|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.linkedin.data.template.RecordTemplate
com.linkedin.restli.common.CollectionMetadata
public class CollectionMetadata
Metadata and pagination links for this collection
| Constructor Summary | |
|---|---|
CollectionMetadata()
Initialize empty CollectionMetadata. |
|
CollectionMetadata(com.linkedin.data.DataMap data)
Initialize CollectionMetadata based on the given map. |
|
| Method Summary | |
|---|---|
int |
getCount()
Get count value of the CollectionMetadata. |
java.lang.Integer |
getCount(com.linkedin.data.template.GetMode mode)
Returns the count value of the CollectionMetadata. |
LinkArray |
getLinks()
Get the links of the CollectionMetadata. |
LinkArray |
getLinks(com.linkedin.data.template.GetMode mode)
Returns the links of the CollectionMetadata. |
int |
getStart()
Get start value of the CollectionMetadata. |
java.lang.Integer |
getStart(com.linkedin.data.template.GetMode mode)
Returns the start value of the CollectionMetadata. |
int |
getTotal()
Get the total value of the CollectionMetadata. |
java.lang.Integer |
getTotal(com.linkedin.data.template.GetMode mode)
Returns the total value of the CollectionMetadata. |
boolean |
hasCount()
|
boolean |
hasLinks()
|
boolean |
hasStart()
|
boolean |
hasTotal()
|
void |
removeCount()
Remove count value from CollectionMetadata. |
void |
removeLinks()
Remove count value from CollectionMetadata. |
void |
removeStart()
Remove start value from CollectionMetadata. |
void |
removeTotal()
Remove count value from CollectionMetadata. |
void |
setCount(int value)
Set the count value of the CollectionMetadata. |
void |
setLinks(LinkArray value)
Set the links value of the CollectionMetadata. |
void |
setStart(int value)
Set the start value of the CollectionMetadata. |
void |
setTotal(int value)
Set the total value of the CollectionMetadata. |
| Methods inherited from class com.linkedin.data.template.RecordTemplate |
|---|
clone, contains, copy, data, equals, hashCode, obtainDirect, obtainWrapped, putDirect, putDirect, putDirect, putWrapped, putWrapped, remove, schema, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CollectionMetadata()
public CollectionMetadata(com.linkedin.data.DataMap data)
data - DataMap representing CollectionMetadata| Method Detail |
|---|
public boolean hasStart()
public void removeStart()
public java.lang.Integer getStart(com.linkedin.data.template.GetMode mode)
mode.
mode - determines behavior if the value is not present
public int getStart()
GetMode.STRICT.
public void setStart(int value)
value - start valuepublic boolean hasCount()
public void removeCount()
public java.lang.Integer getCount(com.linkedin.data.template.GetMode mode)
mode.
mode - determines behavior if the value is not present
public int getCount()
GetMode.STRICT.
public void setCount(int value)
value - count valuepublic boolean hasTotal()
public void removeTotal()
public java.lang.Integer getTotal(com.linkedin.data.template.GetMode mode)
mode.
mode - determines behavior if the value is not present
public int getTotal()
GetMode.STRICT.
public void setTotal(int value)
value - total valuepublic boolean hasLinks()
public void removeLinks()
public LinkArray getLinks(com.linkedin.data.template.GetMode mode)
mode.
mode - determines behavior if the value is not present
public LinkArray getLinks()
GetMode.STRICT.
public void setLinks(LinkArray value)
value - links value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||