public interface OrientBean extends EntityBean
EntityBean
used with OrientDB. Simply create a sub-interface of this
OrientBean
interface for each OrientDB class
you want to map. Within the interface define a property
-method for
each OrientDB property
you want to
access in a type-safe way. You can also access all properties via BeanAccess.getProperty(String)
.
OrientBean
interface. See Bean
and
OrientBeanRepository.newEntity()
for further details.Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_ALIAS_ID
|
static String |
PROPERTY_ALIAS_VERSION
|
PROPERTY_NAME_ID
Modifier and Type | Method and Description |
---|---|
WritableProperty<Id<?>> |
Id() |
static final String PROPERTY_ALIAS_ID
static final String PROPERTY_ALIAS_VERSION
WritableProperty<Id<?>> Id()
Id
in interface EntityBean
property
containing the primary key
.Copyright © 2001–2016 mmm-Team. All rights reserved.