public interface ODataEntity extends CommonODataEntity, ODataAnnotatable
Modifier and Type | Method and Description |
---|---|
URI |
getId()
To request entity references in place of the actual entities, the client issues a GET request with /$ref appended
to the resource path.
|
List<ODataProperty> |
getProperties()
Returns OData entity properties.
|
ODataProperty |
getProperty(String name)
Searches for property with given name.
|
void |
setId(URI id) |
getEditLink, getETag, getLink, getMediaContentSource, getMediaContentType, getMediaEditLink, getMediaEditLinks, getMediaETag, getOperation, getOperations, getTypeName, isMediaEntity, isReadOnly, setEditLink, setETag, setMediaContentSource, setMediaContentType, setMediaEntity, setMediaETag
addLink, getAssociationLink, getAssociationLinks, getNavigationLink, getNavigationLinks, removeLink
getAnnotations
ODataProperty getProperty(String name)
CommonODataEntity
getProperty
in interface CommonODataEntity
name
- property to look forList<ODataProperty> getProperties()
CommonODataEntity
getProperties
in interface CommonODataEntity
URI getId()
void setId(URI id)
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.