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

com.softlayer.api.service.container.collection.locale.StateCode Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
package com.softlayer.api.service.container.collection.locale;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;

/**
 * This container is used to hold information regarding a state or province. 
 *
 * @see SoftLayer_Container_Collection_Locale_StateCode
 */
@ApiType("SoftLayer_Container_Collection_Locale_StateCode")
public class StateCode extends Entity {

    @ApiProperty(canBeNullOrNotSet = true)
    protected String longName;

    public String getLongName() {
        return longName;
    }

    public void setLongName(String longName) {
        longNameSpecified = true;
        this.longName = longName;
    }

    protected boolean longNameSpecified;

    public boolean isLongNameSpecified() {
        return longNameSpecified;
    }

    public void unsetLongName() {
        longName = null;
        longNameSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String shortName;

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        shortNameSpecified = true;
        this.shortName = shortName;
    }

    protected boolean shortNameSpecified;

    public boolean isShortNameSpecified() {
        return shortNameSpecified;
    }

    public void unsetShortName() {
        shortName = null;
        shortNameSpecified = false;
    }

    public static class Mask extends com.softlayer.api.service.Entity.Mask {

        public Mask longName() {
            withLocalProperty("longName");
            return this;
        }

        public Mask shortName() {
            withLocalProperty("shortName");
            return this;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy