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

com.buschmais.xo.api.metadata.method.AbstractEntityRelationMethodMetadata Maven / Gradle / Ivy

There is a newer version: 2.5.0
Show newest version
package com.buschmais.xo.api.metadata.method;

import static com.buschmais.xo.api.metadata.type.RelationTypeMetadata.Direction;

import com.buschmais.xo.api.metadata.reflection.PropertyMethod;
import com.buschmais.xo.api.metadata.type.RelationTypeMetadata;

public abstract class AbstractEntityRelationMethodMetadata extends AbstractRelationPropertyMethodMetadata {

    private final Class elementType;

    protected AbstractEntityRelationMethodMetadata(PropertyMethod propertyMethod, RelationTypeMetadata relationshipType, Direction direction, Class elementType,
                                                   DatastoreMetadata datastoreMetadata) {
        super(propertyMethod, relationshipType, direction, datastoreMetadata);
        this.elementType = elementType;
    }

    public Class getElementType() {
        return elementType;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy