public abstract class AbstractODataObject extends Annotatable
id
, baseURI
, title
).Constructor and Description |
---|
AbstractODataObject() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
URI |
getBaseURI()
Gets base URI.
|
URI |
getId()
Gets ID.
|
String |
getTitle()
Gets title.
|
int |
hashCode() |
void |
setBaseURI(URI baseURI)
Sets base URI.
|
void |
setCommonProperty(String key,
String value)
Sets property with given key to given value.
|
void |
setId(URI id)
Sets ID.
|
getAnnotations
public URI getBaseURI()
public void setBaseURI(URI baseURI)
baseURI
- new base URIpublic URI getId()
public void setId(URI id)
id
- new ID valuepublic String getTitle()
public void setCommonProperty(String key, String value)
key
- key of propertyvalue
- new value for propertyCopyright © 2013–2018 The Apache Software Foundation. All rights reserved.