com.emc.documentum.springdata.entitymanager.mapping.BasicDctmPersistentProperty Maven / Gradle / Ivy
The newest version!
package com.emc.documentum.springdata.entitymanager.mapping;
import org.springframework.data.mapping.Association;
import org.springframework.data.mapping.PersistentEntity;
import org.springframework.data.mapping.model.AnnotationBasedPersistentProperty;
import org.springframework.data.mapping.model.SimpleTypeHolder;
import java.beans.PropertyDescriptor;
import java.lang.reflect.Field;
/*
* Copyright (c) 2015 EMC Corporation. All Rights Reserved.
* EMC Confidential: Restricted Internal Distribution
*
* @author Raman Walia
*/
public class BasicDctmPersistentProperty extends AnnotationBasedPersistentProperty
implements DctmPersistentProperty{
/**
* Creates a new {@link AnnotationBasedPersistentProperty}.
*
* @param field must not be {@literal null}.
* @param propertyDescriptor can be {@literal null}.
* @param owner must not be {@literal null}.
* @param simpleTypeHolder
*/
public BasicDctmPersistentProperty(Field field, PropertyDescriptor propertyDescriptor, PersistentEntity, DctmPersistentProperty> owner, SimpleTypeHolder simpleTypeHolder) {
super(field, propertyDescriptor, owner, simpleTypeHolder);
}
@Override
protected Association createAssociation() {
return new Association(this, null);
}
}