public class VaultPersistentProperty extends KeyValuePersistentProperty<VaultPersistentProperty>
KeyValuePersistentProperty
. By default, if a property is named
id
it's used as Id property.Type | Property and Description |
---|---|
boolean |
isId
Gets the value of the property idProperty.
|
isVersionProperty
Constructor and Description |
---|
VaultPersistentProperty(Property property,
PersistentEntity<?,VaultPersistentProperty> owner,
SimpleTypeHolder simpleTypeHolder)
Create a new
VaultPersistentProperty . |
Modifier and Type | Method and Description |
---|---|
boolean |
isIdProperty()
Gets the value of the property idProperty.
|
createAssociation
findAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetType, getSpelExpression, isAnnotationPresent, isAssociation, isTransient, isVersionProperty, isWritable, toString, usePropertyAccess
equals, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityTypes, getProperty, getRawType, getSetter, getType, getTypeInformation, getWither, hashCode, isArray, isCollectionLike, isEntity, isImmutable, isMap
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter, getRequiredWither, hasActualTypeAnnotation
public boolean isIdProperty
isIdProperty
in interface PersistentProperty<VaultPersistentProperty>
isIdProperty
in class AnnotationBasedPersistentProperty<VaultPersistentProperty>
public VaultPersistentProperty(Property property, PersistentEntity<?,VaultPersistentProperty> owner, SimpleTypeHolder simpleTypeHolder)
VaultPersistentProperty
.property
- must not be null.owner
- must not be null.simpleTypeHolder
- must not be null.public boolean isIdProperty()
isIdProperty
in interface PersistentProperty<VaultPersistentProperty>
isIdProperty
in class AnnotationBasedPersistentProperty<VaultPersistentProperty>
Copyright © 2016–2018 Pivotal Software, Inc.. All rights reserved.