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

com.buschmais.xo.neo4j.spi.metadata.NodeMetadata Maven / Gradle / Ivy

There is a newer version: 2.2.9
Show newest version
package com.buschmais.xo.neo4j.spi.metadata;

import com.buschmais.xo.api.metadata.method.IndexedPropertyMethodMetadata;
import com.buschmais.xo.api.metadata.type.DatastoreEntityMetadata;
import com.buschmais.xo.neo4j.api.model.Neo4jLabel;

public class NodeMetadata extends AbstractPropertyContainerMetadata implements DatastoreEntityMetadata {

    private final L label;

    private final IndexedPropertyMethodMetadata usingIndexedPropertyOf;

    public NodeMetadata(L label, IndexedPropertyMethodMetadata usingIndexedPropertyOf, boolean batchable) {
        super(batchable);
        this.label = label;
        this.usingIndexedPropertyOf = usingIndexedPropertyOf;
    }

    @Override
    public L getDiscriminator() {
        return label;
    }

    public IndexedPropertyMethodMetadata getUsingIndexedPropertyOf() {
        return usingIndexedPropertyOf;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy