All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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 owner, SimpleTypeHolder simpleTypeHolder) {
        super(field, propertyDescriptor, owner, simpleTypeHolder);
    }

    @Override
    protected Association createAssociation() {
        return new Association(this, null);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy