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

com.nedap.archie.rules.evaluation.DummyRulesPrimitiveObjectParent Maven / Gradle / Ivy

Go to download

tools that operate on the archie reference models and archetype object model

There is a newer version: 3.12.0
Show newest version
package com.nedap.archie.rules.evaluation;

import com.nedap.archie.aom.Archetype;
import com.nedap.archie.aom.ArchetypeConstraint;
import com.nedap.archie.aom.CAttribute;
import com.nedap.archie.paths.PathSegment;
import com.nedap.archie.query.APathQuery;

import java.util.ArrayList;
import java.util.List;

public class DummyRulesPrimitiveObjectParent extends CAttribute {
    private final transient Archetype archetype;
    private List pathSegments;

    public DummyRulesPrimitiveObjectParent(Archetype archetype) {
        super();
        this.archetype = archetype;
        this.pathSegments = new ArrayList<>();
    }

    public void setPathSegments(List pathSegments) {
        this.pathSegments = pathSegments;
    }

    @Override
    public List getPathSegments() {
       return pathSegments;
    }

    @Override
    public String getLogicalPath() {
        return getPath();
    }

    @Override
    public boolean isLeaf() {
        return false;
    }

    @Override
    public Archetype getArchetype() {
        return archetype;
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy