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

org.opencompare.api.java.impl.value.NotAvailableImpl Maven / Gradle / Ivy

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

import org.opencompare.api.java.PCMElement;
import org.opencompare.api.java.PCMFactory;
import org.opencompare.api.java.impl.ValueImpl;
import org.opencompare.api.java.util.PCMVisitor;
import org.opencompare.api.java.value.NotAvailable;

/**
 * Created by gbecan on 14/10/14.
 */
public class NotAvailableImpl extends ValueImpl implements NotAvailable {

    private pcm.NotAvailable kNotAvailable;

    public NotAvailableImpl(pcm.NotAvailable kNotAvailable) {
        super(kNotAvailable);
        this.kNotAvailable = kNotAvailable;
    }

    public pcm.NotAvailable getkNotAvailable() {
        return kNotAvailable;
    }

    @Override
    public void accept(PCMVisitor visitor) {
        visitor.visit(this);
    }

    @Override
    public PCMElement clone(PCMFactory factory) {
        NotAvailable copy = factory.createNotAvailable();
        return copy;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy