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

com.ontotext.s4.model.image.ClassifiedImage Maven / Gradle / Ivy

Go to download

The Self-Service Semantic Suite (S4) provides a set of services for low-cost, on-demand text analytics and metadata management in the cloud.

The newest version!
/*
 * S4 Java client library
 * Copyright 2016 Ontotext AD
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.ontotext.s4.model.image;


import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;


public class ClassifiedImage {

    /**
     * Tag ID of the image
     */
    private String tagging_id;

    /**
     * URL address of the image
     */
    private String image;

    /**
     * List of specific image tags
     */
    private List tags;

    /**
     * List of specific image categories
     */
    private List categories;

    public ClassifiedImage() {

    }

    public ClassifiedImage(String tagging_id, String image, List tags, List categories) {
        this.tagging_id = tagging_id;
        this.image = image;
        this.tags = tags;
        this.categories = categories;
    }

    public String getTaggingID() {
        return this.tagging_id;
    }
    public void setTaggingID(String taggingID) {
        this.tagging_id = taggingID;
    }

    @JsonProperty("image")
    public String getImageURL() {
        return this.image;
    }
    
    @JsonProperty("image")
    public void setImageURL(String imageURL) {
        this.image = imageURL;
    }

    public List getTags() {
        return this.tags;
    }
    public void setTags(List tags) {
        this.tags = tags;
    }

    public List getCategories() {
        return this.categories;
    }
    public void setCategories(List categories) {
        this.categories = categories;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy