org.odata4j.core
Class OLinks

java.lang.Object
  extended by org.odata4j.core.OLinks

public class OLinks
extends Object

A static factory to create immutable OLink instances.


Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

relatedEntities

public static ORelatedEntitiesLink relatedEntities(String relation,
                                                   String title,
                                                   String href)
Creates a new OLink of sub-type ORelatedEntitiesLink.


relatedEntitiesInline

public static ORelatedEntitiesLinkInline relatedEntitiesInline(String relation,
                                                               String title,
                                                               String href,
                                                               List<OEntity> relatedEntities)
Creates a new OLink of sub-type ORelatedEntitiesLinkInline.


relatedEntity

public static ORelatedEntityLink relatedEntity(String relation,
                                               String title,
                                               String href)
Creates a new OLink of sub-type ORelatedEntityLink.


relatedEntityInline

public static ORelatedEntityLinkInline relatedEntityInline(String relation,
                                                           String title,
                                                           String href,
                                                           OEntity relatedEntity)
Creates a new OLink of sub-type ORelatedEntityLinkInline.



http://odata4j.org