public interface OrientBeanMapper extends DocumentBeanMapper<com.orientechnologies.orient.core.record.impl.ODocument,OrientBean>
ODocument
and OrientBean
and vice versa.Modifier and Type | Method and Description |
---|---|
com.orientechnologies.orient.core.id.ORID |
convertId(Id<? extends OrientBean> id) |
<B extends OrientBean> |
getBeanPrototype(Class<B> type) |
OrientBean |
getBeanPrototype(int clusterId) |
OrientBean |
getBeanPrototype(com.orientechnologies.orient.core.metadata.schema.OClass oClass) |
com.orientechnologies.orient.core.metadata.schema.OClass |
getOClass(Class<? extends OrientBean> beanClass) |
void |
syncClass(com.orientechnologies.orient.core.metadata.schema.OClass oclass)
Synchronizes a
OrientDB class with the according OrientBean . |
void |
syncSchema(com.orientechnologies.orient.core.metadata.schema.OSchemaProxy schema)
Synchronizes the
OrientDB schema with the Java data model . |
fromBean, toBean
void syncSchema(com.orientechnologies.orient.core.metadata.schema.OSchemaProxy schema)
OrientDB schema
with the Java data model
.schema
- the OSchemaProxy
.syncClass(OClass)
void syncClass(com.orientechnologies.orient.core.metadata.schema.OClass oclass)
OrientDB class
with the according OrientBean
.oclass
- the OClass
to synchronize.OrientBean getBeanPrototype(com.orientechnologies.orient.core.metadata.schema.OClass oClass)
oClass
- the OrientDB class
to map.OrientBean
prototype
.OrientBean getBeanPrototype(int clusterId)
clusterId
- the cluster ID
.OrientBean
prototype
.<B extends OrientBean> B getBeanPrototype(Class<B> type)
B
- the generic type of the OrientBean
.type
- the Class
reflecting the OrientBean
-interface to get the prototype for.OrientBean
prototype
.com.orientechnologies.orient.core.metadata.schema.OClass getOClass(Class<? extends OrientBean> beanClass)
beanClass
- the OrientBean
-Class
.OClass
.com.orientechnologies.orient.core.id.ORID convertId(Id<? extends OrientBean> id)
Copyright © 2001–2016 mmm-Team. All rights reserved.