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

com.manywho.sdk.api.describe.DescribeValue Maven / Gradle / Ivy

There is a newer version: 2.0.1
Show newest version
package com.manywho.sdk.api.describe;

import com.manywho.sdk.api.ContentType;

public class DescribeValue {
    private String developerName;
    private String contentValue;
    private boolean isRequired;
    private ContentType contentType;
    private String typeElementDeveloperName;
    private int ordinal;

    public DescribeValue(String developerName, ContentType contentType, boolean isRequired, String typeElementDeveloperName, int ordinal) {
        this.developerName = developerName;
        this.contentType = contentType;
        this.isRequired = isRequired;
        this.typeElementDeveloperName = typeElementDeveloperName;
        this.ordinal = ordinal;
    }

    public DescribeValue(String developerName, ContentType contentType, boolean isRequired, String typeElementDeveloperName) {
        this(developerName, contentType, isRequired, typeElementDeveloperName, 0);
    }

    public DescribeValue(String developerName, ContentType contentType, boolean isRequired) {
        this(developerName, contentType, isRequired, null, 0);
    }

    public DescribeValue(String developerName, ContentType contentType) {
        this(developerName, contentType, false, null, 0);
    }

    public DescribeValue() {

    }

    public String getDeveloperName() {
        return developerName;
    }

    public void setDeveloperName(String developerName) {
        this.developerName = developerName;
    }

    public String getContentValue() {
        return contentValue;
    }

    public void setContentValue(String contentValue) {
        this.contentValue = contentValue;
    }

    public boolean isRequired() {
        return isRequired;
    }

    public void setRequired(boolean isRequired) {
        this.isRequired = isRequired;
    }

    public ContentType getContentType() {
        return contentType;
    }

    public void setContentType(ContentType contentType) {
        this.contentType = contentType;
    }

    public String getTypeElementDeveloperName() {
        return typeElementDeveloperName;
    }

    public void setTypeElementDeveloperName(String typeElementDeveloperName) {
        this.typeElementDeveloperName = typeElementDeveloperName;
    }

    public int getOrdinal() {
        return ordinal;
    }

    public void setOrdinal(int ordinal) {
        this.ordinal = ordinal;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy