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

pipeline.developerexamples.cloudengine.flowelements.StarSignDataInternal Maven / Gradle / Ivy

There is a newer version: 4.3.13
Show newest version
/* ********************************************************************
 * Copyright (C) 2019  51Degrees Mobile Experts Limited.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published
 * by the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see .
 * ******************************************************************** */

package pipeline.developerexamples.cloudengine.flowelements;

import pipeline.developerexamples.cloudengine.data.StarSignData;
import fiftyone.pipeline.core.data.FlowData;
import fiftyone.pipeline.engines.data.AspectDataBase;
import fiftyone.pipeline.engines.flowelements.AspectEngine;
import fiftyone.pipeline.engines.services.MissingPropertyService;
import org.slf4j.Logger;

//! [class]
class StarSignDataInternal extends AspectDataBase implements StarSignData {

    private String starSign;

    public StarSignDataInternal(
        Logger logger,
        FlowData flowData,
        AspectEngine engine,
        MissingPropertyService missingPropertyService) {
        super(logger, flowData, engine, missingPropertyService);
    }

    @Override
    public String getStarSign() {
        return getAs("starsign", String.class);
    }

    void setStarSign(String starSign) {
        put("starsign", starSign);
    }
}
//! [class]




© 2015 - 2024 Weber Informatics LLC | Privacy Policy