Class OrientDBTypeMapping
- java.lang.Object
-
- org.gcube.informationsystem.resourceregistry.types.OrientDBTypeMapping
-
public class OrientDBTypeMapping extends Object
- Author:
- Luca Frosini (ISTI - CNR)
Create a mapping between OrientDB
OTypehttps://orientdb.gitbooks.io/orientdb-manual/content/orientdb.wiki/Types.html andPropertyTypeName.BaseType
-
-
Field Summary
Fields Modifier and Type Field Description protected static Map<org.gcube.informationsystem.types.PropertyTypeName.BaseType,com.orientechnologies.orient.core.metadata.schema.OType>BASE_TYPE_TO_OTYPEprotected static Map<com.orientechnologies.orient.core.metadata.schema.OType,org.gcube.informationsystem.types.PropertyTypeName.BaseType>OTYPE_TO_BASE_TYPE
-
Constructor Summary
Constructors Constructor Description OrientDBTypeMapping()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.gcube.informationsystem.types.PropertyTypeName.BaseTypegetBaseTypeByOType(com.orientechnologies.orient.core.metadata.schema.OType oType)static com.orientechnologies.orient.core.metadata.schema.OTypegetOTypeByBaseType(org.gcube.informationsystem.types.PropertyTypeName.BaseType baseType)
-
-
-
Field Detail
-
BASE_TYPE_TO_OTYPE
protected static final Map<org.gcube.informationsystem.types.PropertyTypeName.BaseType,com.orientechnologies.orient.core.metadata.schema.OType> BASE_TYPE_TO_OTYPE
-
OTYPE_TO_BASE_TYPE
protected static final Map<com.orientechnologies.orient.core.metadata.schema.OType,org.gcube.informationsystem.types.PropertyTypeName.BaseType> OTYPE_TO_BASE_TYPE
-
-
Method Detail
-
getOTypeByBaseType
public static com.orientechnologies.orient.core.metadata.schema.OType getOTypeByBaseType(org.gcube.informationsystem.types.PropertyTypeName.BaseType baseType)
-
getBaseTypeByOType
public static org.gcube.informationsystem.types.PropertyTypeName.BaseType getBaseTypeByOType(com.orientechnologies.orient.core.metadata.schema.OType oType)
-
-