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

com.apitrary.api.common.status.APIState Maven / Gradle / Ivy

/*
 * Copyright 2012-2013 Denis Neuling 
 * 
 * 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.apitrary.api.common.status;

import java.io.Serializable;
import java.util.Arrays;

/**
 * 

* APIState class. *

* * @author Denis Neuling ([email protected]) * */ public class APIState implements Serializable { private static final long serialVersionUID = -1978346945071607803L; private Info info; private Status status; private String[] schema; /** *

* Constructor for APIState. *

*/ public APIState() { } /** *

* Getter for the field info. *

* * @return a {@link com.apitrary.api.common.status.Info} object. */ public Info getInfo() { return info; } /** *

* Setter for the field info. *

* * @param info * a {@link com.apitrary.api.common.status.Info} object. */ public void setInfo(Info info) { this.info = info; } /** *

* Getter for the field status. *

* * @return a {@link com.apitrary.api.common.status.Status} object. */ public Status getStatus() { return status; } /** *

* Setter for the field status. *

* * @param status * a {@link com.apitrary.api.common.status.Status} object. */ public void setStatus(Status status) { this.status = status; } /** *

* Getter for the field schema. *

* * @return an array of {@link java.lang.String} objects. */ public String[] getSchema() { return schema; } /** *

* Setter for the field schema. *

* * @param schema * an array of {@link java.lang.String} objects. */ public void setSchema(String[] schema) { this.schema = schema; } /** {@inheritDoc} */ @Override public String toString() { return "APIState [info=" + info + ", status=" + status + ", schema=" + Arrays.toString(schema) + "]"; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy