|
SMILA 1.0 API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.smila.ontology.records.SesameRecordHelper
public abstract class SesameRecordHelper
Helper class defining constants and utility methods for the mapping of SMILA records to Sesame ontology objects.
Field Summary | |
---|---|
static java.lang.String |
ANNOTATION_LANG
name of attribute containing the locale of a statement. |
static java.lang.String |
ATTRIBUTE_DELETE_ALL
name of attribute value describing that an object should be cleared before adding new values. |
static java.lang.String |
ATTRIBUTE_DELETE_PROPERTIES
name of attribute value describing that properties should be cleared before adding new values. |
static java.lang.String |
ATTRIBUTE_OBJECT_PROPERTIES
value of attribute describing that a property contains object references. |
static java.lang.String |
ATTRIBUTE_REVERSE_PROPERTIES
value of attribute describing that a property should be written reverse. |
static java.lang.String |
ATTRIBUTE_TYPE
name of attribute that contains the RDF type of the resource represented by a record. |
static java.lang.String |
ATTRIBUTE_URI
name of attribute that contains the URI of the resource represented by a record. |
static java.lang.String |
LOCALE_ALL
locale value for "all locales". |
static java.lang.String |
PREFIX_SYSTEM_ATTRIBUTE_NAMES
The prefix of system attributes which will be ignored when writing records to Sesame. |
static java.lang.String |
SEMTYPE_RESOURCE
semantic type of string literals that correspond to resource property values in MDS. |
static java.lang.String |
SESAME_SOURCE
dummy source value for IDs of newly created records. |
Method Summary | |
---|---|
static java.lang.String |
getLanguage(Any literal)
get language annotation from literal, if present. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SESAME_SOURCE
public static final java.lang.String ATTRIBUTE_URI
public static final java.lang.String ATTRIBUTE_TYPE
public static final java.lang.String SEMTYPE_RESOURCE
public static final java.lang.String ANNOTATION_LANG
public static final java.lang.String ATTRIBUTE_DELETE_ALL
public static final java.lang.String ATTRIBUTE_DELETE_PROPERTIES
public static final java.lang.String ATTRIBUTE_REVERSE_PROPERTIES
public static final java.lang.String ATTRIBUTE_OBJECT_PROPERTIES
public static final java.lang.String PREFIX_SYSTEM_ATTRIBUTE_NAMES
public static final java.lang.String LOCALE_ALL
Method Detail |
---|
public static java.lang.String getLanguage(Any literal)
<rec:Map key="rdfs:label"> <rec:Val key="de>SMILA</rec:Val> <rec:Val key="en">SMILA</rec:Val> </rec:Map>
literal
- literal
|
SMILA 1.0 API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |