public class Entity extends Object
| Constructor and Description |
|---|
Entity() |
Entity(String uri,
String dataset) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDataset()
Returns the Entity Dataset
|
String |
getFirstPropertyValue(String property)
Return the first value associated to the property passed by parameter
|
Collection<String> |
getProperties()
Get the
Collection of entity's properties |
String |
getUri()
Returns the Entity URI
|
String |
getValue(String property,
String language)
Get a literal value for a property and language passed by parameters
|
Collection<String> |
getValues(String property)
Get all literal values for the property passed by parameter
|
com.google.common.collect.Multimap<String,String> |
getValuesByLanguage(String property)
Get a collection of pairs
|
int |
hashCode() |
public String getUri()
public String getDataset()
public Collection<String> getValues(String property)
property - Property URIpublic com.google.common.collect.Multimap<String,String> getValuesByLanguage(String property)
property - Property URIpublic String getValue(String property, String language)
property - Property URIlanguage - Language codepublic Collection<String> getProperties()
Collection of entity's propertiespublic String getFirstPropertyValue(String property)
property - Property URICopyright © 2014 Redlink GmbH. All rights reserved.