public abstract class OntologyProperty extends Object
| Modifier and Type | Field and Description |
|---|---|
static SimpleDateFormat |
DATE_FORMAT |
static SimpleDateFormat |
DATE_TIME_FORMAT |
static SimpleDateFormat |
DATE_TIME_WITH_SECONDS_FORMAT |
static Pattern |
GEO_LOCATION_ALTERNATE_FORMAT |
static Pattern |
GEO_LOCATION_FORMAT |
| Constructor and Description |
|---|
OntologyProperty() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
addIntent(String intent,
org.vertexium.Authorizations authorizations) |
abstract void |
addTextIndexHints(String textIndexHints,
org.vertexium.Authorizations authorizations) |
static Object |
convert(org.json.JSONArray values,
PropertyType propertyDataType,
int index) |
Object |
convert(Object value) |
Object |
convertString(String valueStr) |
boolean |
equals(Object obj) |
abstract boolean |
getAddable() |
abstract Double |
getBoost() |
abstract PropertyType |
getDataType() |
abstract boolean |
getDeleteable() |
abstract com.google.common.collect.ImmutableList<String> |
getDependentPropertyIris() |
abstract String |
getDisplayFormula() |
abstract String |
getDisplayName() |
abstract String |
getDisplayType() |
abstract String[] |
getIntents() |
String |
getIri() |
abstract Map<String,String> |
getPossibleValues() |
abstract String |
getPropertyGroup() |
abstract boolean |
getSearchable() |
abstract boolean |
getSortable() |
abstract String[] |
getTextIndexHints() |
abstract String |
getTitle() |
abstract boolean |
getUpdateable() |
abstract boolean |
getUserVisible() |
abstract String |
getValidationFormula() |
VisalloProperty |
getVisalloProperty() |
boolean |
hasDependentPropertyIris() |
int |
hashCode() |
protected static Object |
parseGeoLocation(String valueStr) |
abstract void |
removeIntent(String intent,
org.vertexium.Authorizations authorizations) |
abstract void |
setProperty(String name,
Object value,
org.vertexium.Authorizations authorizations) |
ClientApiOntology.Property |
toClientApi() |
static Collection<ClientApiOntology.Property> |
toClientApiProperties(Iterable<OntologyProperty> properties) |
String |
toString() |
void |
updateIntents(String[] newIntents,
org.vertexium.Authorizations authorizations) |
public static final SimpleDateFormat DATE_FORMAT
public static final SimpleDateFormat DATE_TIME_FORMAT
public static final SimpleDateFormat DATE_TIME_WITH_SECONDS_FORMAT
public static final Pattern GEO_LOCATION_FORMAT
public static final Pattern GEO_LOCATION_ALTERNATE_FORMAT
public String getIri()
public abstract String getTitle()
public abstract String getDisplayName()
public abstract boolean getUserVisible()
public abstract boolean getSearchable()
public abstract boolean getAddable()
public abstract boolean getSortable()
public abstract PropertyType getDataType()
public abstract Double getBoost()
public abstract String getDisplayType()
public abstract String getPropertyGroup()
public abstract String getValidationFormula()
public abstract String getDisplayFormula()
public abstract boolean getUpdateable()
public abstract boolean getDeleteable()
public abstract com.google.common.collect.ImmutableList<String> getDependentPropertyIris()
public abstract String[] getIntents()
public abstract String[] getTextIndexHints()
public abstract void addTextIndexHints(String textIndexHints, org.vertexium.Authorizations authorizations)
public abstract void addIntent(String intent, org.vertexium.Authorizations authorizations)
public abstract void removeIntent(String intent, org.vertexium.Authorizations authorizations)
public void updateIntents(String[] newIntents, org.vertexium.Authorizations authorizations)
public abstract void setProperty(String name, Object value, org.vertexium.Authorizations authorizations)
public static Collection<ClientApiOntology.Property> toClientApiProperties(Iterable<OntologyProperty> properties)
public ClientApiOntology.Property toClientApi()
public Object convert(Object value) throws ParseException
ParseExceptionpublic Object convertString(String valueStr) throws ParseException
ParseExceptionpublic static Object convert(org.json.JSONArray values, PropertyType propertyDataType, int index) throws ParseException
ParseExceptionpublic boolean hasDependentPropertyIris()
public VisalloProperty getVisalloProperty()
Copyright © 2013–2016 V5 Analytics. All rights reserved.