V
- the generic type of the property value
.@ComponentSpecification(plugin=true) public interface SinglePropertyBuilder<V> extends AbstractPropertyBuilder
Modifier and Type | Method and Description |
---|---|
default WritableProperty<V> |
build(com.orientechnologies.orient.core.metadata.schema.OProperty oProperty,
OrientBean prototype)
|
default com.orientechnologies.orient.core.metadata.schema.OProperty |
build(WritableProperty<V> property,
com.orientechnologies.orient.core.metadata.schema.OClass oClass) |
Class<? extends WritableProperty<V>> |
getPropertyType(com.orientechnologies.orient.core.metadata.schema.OProperty oProperty) |
com.orientechnologies.orient.core.metadata.schema.OType |
getType() |
Class<? extends V> |
getValueClass() |
GenericType<? extends V> |
getValueType(com.orientechnologies.orient.core.metadata.schema.OProperty oProperty) |
com.orientechnologies.orient.core.metadata.schema.OType getType()
OType
value this SinglePropertyBuilder
is responsible for.Class<? extends V> getValueClass()
Class
of the bean property value type
this
SinglePropertyBuilder
is responsible for.default WritableProperty<V> build(com.orientechnologies.orient.core.metadata.schema.OProperty oProperty, OrientBean prototype)
AbstractPropertyBuilder
build
in interface AbstractPropertyBuilder
oProperty
- the OProperty
.prototype
- the OrientBean
prototype
.property
corresponding to the given OProperty
that has been created or
was already existing. May be null
if the property type
is not supported
(e.g. if new version of OrientDB introduces new property type that has not yet been implemented here).BeanAccess.getOrCreateProperty(String, net.sf.mmm.util.reflect.api.GenericType, Class)
default com.orientechnologies.orient.core.metadata.schema.OProperty build(WritableProperty<V> property, com.orientechnologies.orient.core.metadata.schema.OClass oClass)
property
- the property
to create in the given OClass
, that is currently
missing.oClass
- the OClass
of the OrientDB schema.OProperty
. May be null
if the property type
is not supported.Class<? extends WritableProperty<V>> getPropertyType(com.orientechnologies.orient.core.metadata.schema.OProperty oProperty)
oProperty
- the OProperty
.Class
reflecting the corresponding WritableProperty
type such as e.g.
StringProperty
for OType.STRING
.GenericType<? extends V> getValueType(com.orientechnologies.orient.core.metadata.schema.OProperty oProperty)
oProperty
- the OProperty
.GenericType
reflecting the corresponding value type
.Copyright © 2001–2016 mmm-Team. All rights reserved.