public class ReflectionBasedPropertyMetadata extends Object implements PropertyMetadata
| Constructor and Description |
|---|
ReflectionBasedPropertyMetadata(Field fieldReference) |
| Modifier and Type | Method and Description |
|---|---|
String |
encryptionProviderName()
Get the encryption crypto algorithm provider name set
|
Object |
get(Object source)
Returns the content of the field property.
|
boolean |
isField()
If this property represents a field in the Document.
|
boolean |
isId()
If this property represents the Document ID.
|
String |
name()
The name of the field inside the document.
|
String |
realName()
The name of the actual property inside the java entity.
|
void |
set(Object value,
Object source)
Sets the content of the field property.
|
Class<?> |
type()
The type of the field property.
|
public ReflectionBasedPropertyMetadata(Field fieldReference)
public boolean isId()
PropertyMetadataisId in interface PropertyMetadatapublic boolean isField()
PropertyMetadataisField in interface PropertyMetadatapublic String encryptionProviderName()
PropertyMetadataencryptionProviderName in interface PropertyMetadatapublic String name()
PropertyMetadataPropertyMetadata.realName().name in interface PropertyMetadatapublic String realName()
PropertyMetadatarealName in interface PropertyMetadatapublic Class<?> type()
PropertyMetadatatype in interface PropertyMetadatapublic Object get(Object source)
PropertyMetadataget in interface PropertyMetadatasource - the source object.public void set(Object value, Object source)
PropertyMetadataset in interface PropertyMetadatavalue - the value to set.source - the source object.Copyright © 2015 Couchbase, Inc.