public class

OLinks

extends Object
java.lang.Object
   ↳ org.odata4j.core.OLinks

Class Overview

A static factory to create immutable OLink instances.

Summary

Public Methods
static ORelatedEntitiesLink relatedEntities(String relation, String title, String href)
Creates a new OLink of sub-type ORelatedEntitiesLink.
static ORelatedEntitiesLinkInline relatedEntitiesInline(String relation, String title, String href, List<OEntity> relatedEntities)
Creates a new OLink of sub-type ORelatedEntitiesLinkInline.
static ORelatedEntityLink relatedEntity(String relation, String title, String href)
Creates a new OLink of sub-type ORelatedEntityLink.
static ORelatedEntityLinkInline relatedEntityInline(String relation, String title, String href, OEntity relatedEntity)
Creates a new OLink of sub-type ORelatedEntityLinkInline.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static ORelatedEntitiesLink relatedEntities (String relation, String title, String href)

Creates a new OLink of sub-type ORelatedEntitiesLink.

Parameters
relation
title
href

public static ORelatedEntitiesLinkInline relatedEntitiesInline (String relation, String title, String href, List<OEntity> relatedEntities)

Creates a new OLink of sub-type ORelatedEntitiesLinkInline.

Parameters
relation
title
href
relatedEntities

public static ORelatedEntityLink relatedEntity (String relation, String title, String href)

Creates a new OLink of sub-type ORelatedEntityLink.

Parameters
relation
title
href

public static ORelatedEntityLinkInline relatedEntityInline (String relation, String title, String href, OEntity relatedEntity)

Creates a new OLink of sub-type ORelatedEntityLinkInline.

Parameters
relation
title
href
relatedEntity