@ComponentSpecification public interface PropertyBuilder extends AbstractPropertyBuilder
property builder
assembled automatically from various
SinglePropertyBuilder
-instances.Modifier and Type | Method and Description |
---|---|
<V> com.orientechnologies.orient.core.metadata.schema.OProperty |
build(WritableProperty<V> property,
com.orientechnologies.orient.core.metadata.schema.OClass oClass) |
<V> SinglePropertyBuilder<? super V> |
getBuilder(Class<V> type) |
SinglePropertyBuilder<?> |
getBuilder(com.orientechnologies.orient.core.metadata.schema.OType type) |
build
<V> com.orientechnologies.orient.core.metadata.schema.OProperty build(WritableProperty<V> property, com.orientechnologies.orient.core.metadata.schema.OClass oClass)
V
- the generic type of the property value
.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.SinglePropertyBuilder<?> getBuilder(com.orientechnologies.orient.core.metadata.schema.OType type)
type
- the OType
.SinglePropertyBuilder
responsible
for the given
OType
.<V> SinglePropertyBuilder<? super V> getBuilder(Class<V> type)
V
- the generic type of the given Class
.type
- the raw Class
of the bean
property value type
.SinglePropertyBuilder
responsible
for the given
Class
.Copyright © 2001–2016 mmm-Team. All rights reserved.