public class ClientInlineEntity extends ClientLink
ClientLink.Builder
Constructor and Description |
---|
ClientInlineEntity(URI uri,
ClientLinkType type,
String title,
ClientEntity entity)
Constructor.
|
ClientInlineEntity(URI baseURI,
String href,
ClientLinkType type,
String title,
ClientEntity entity)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ClientEntity |
getEntity()
Gets wrapped entity.
|
int |
hashCode() |
String |
toString() |
asInlineEntity, asInlineEntitySet, getAnnotations, getMediaETag, getRel, getType
getLink, getName, setLink
public ClientInlineEntity(URI uri, ClientLinkType type, String title, ClientEntity entity)
uri
- edit link.type
- type.title
- title.entity
- entity.public ClientInlineEntity(URI baseURI, String href, ClientLinkType type, String title, ClientEntity entity)
baseURI
- base URI.href
- href.type
- type.title
- title.entity
- entity.public ClientEntity getEntity()
public int hashCode()
hashCode
in class ClientItem
public boolean equals(Object obj)
equals
in class ClientItem
public String toString()
toString
in class ClientItem
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.