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

org.opencompare.api.java.impl.AbstractFeatureImpl Maven / Gradle / Ivy

There is a newer version: 0.7
Show newest version
package org.opencompare.api.java.impl;

import org.opencompare.api.java.AbstractFeature;
import org.opencompare.api.java.FeatureGroup;

/**
 * Created by gbecan on 09/10/14.
 */
public abstract class AbstractFeatureImpl implements AbstractFeature {

    private pcm.AbstractFeature kAbstractFeature;

    protected AbstractFeatureImpl(pcm.AbstractFeature kAbstractFeature) {
        this.kAbstractFeature = kAbstractFeature;
    }

    public pcm.AbstractFeature getkAbstractFeature() {
        return kAbstractFeature;
    }

    @Override
    public FeatureGroup getParentGroup() {
        pcm.FeatureGroup kParentGroup = kAbstractFeature.getParentGroup();
        if (kParentGroup != null) {
            return new FeatureGroupImpl(kParentGroup);
        } else {
            return null;
        }

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy