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

com.liferay.portal.model.CountryModel Maven / Gradle / Ivy

/**
 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library 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 Lesser General Public License for more
 * details.
 */

package com.liferay.portal.model;

import aQute.bnd.annotation.ProviderType;

import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

/**
 * The base model interface for the Country service. Represents a row in the "Country" database table, with each column mapped to a property of this class.
 *
 * 

* This interface and its corresponding implementation {@link com.liferay.portal.model.impl.CountryModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portal.model.impl.CountryImpl}. *

* * @author Brian Wing Shun Chan * @see Country * @see com.liferay.portal.model.impl.CountryImpl * @see com.liferay.portal.model.impl.CountryModelImpl * @generated */ @ProviderType public interface CountryModel extends BaseModel { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this interface directly. All methods that expect a country model instance should use the {@link Country} interface instead. */ /** * Returns the primary key of this country. * * @return the primary key of this country */ public long getPrimaryKey(); /** * Sets the primary key of this country. * * @param primaryKey the primary key of this country */ public void setPrimaryKey(long primaryKey); /** * Returns the country ID of this country. * * @return the country ID of this country */ public long getCountryId(); /** * Sets the country ID of this country. * * @param countryId the country ID of this country */ public void setCountryId(long countryId); /** * Returns the name of this country. * * @return the name of this country */ @AutoEscape public String getName(); /** * Sets the name of this country. * * @param name the name of this country */ public void setName(String name); /** * Returns the a2 of this country. * * @return the a2 of this country */ @AutoEscape public String getA2(); /** * Sets the a2 of this country. * * @param a2 the a2 of this country */ public void setA2(String a2); /** * Returns the a3 of this country. * * @return the a3 of this country */ @AutoEscape public String getA3(); /** * Sets the a3 of this country. * * @param a3 the a3 of this country */ public void setA3(String a3); /** * Returns the number of this country. * * @return the number of this country */ @AutoEscape public String getNumber(); /** * Sets the number of this country. * * @param number the number of this country */ public void setNumber(String number); /** * Returns the idd of this country. * * @return the idd of this country */ @AutoEscape public String getIdd(); /** * Sets the idd of this country. * * @param idd the idd of this country */ public void setIdd(String idd); /** * Returns the zip required of this country. * * @return the zip required of this country */ public boolean getZipRequired(); /** * Returns true if this country is zip required. * * @return true if this country is zip required; false otherwise */ public boolean isZipRequired(); /** * Sets whether this country is zip required. * * @param zipRequired the zip required of this country */ public void setZipRequired(boolean zipRequired); /** * Returns the active of this country. * * @return the active of this country */ public boolean getActive(); /** * Returns true if this country is active. * * @return true if this country is active; false otherwise */ public boolean isActive(); /** * Sets whether this country is active. * * @param active the active of this country */ public void setActive(boolean active); @Override public boolean isNew(); @Override public void setNew(boolean n); @Override public boolean isCachedModel(); @Override public void setCachedModel(boolean cachedModel); @Override public boolean isEscapedModel(); @Override public Serializable getPrimaryKeyObj(); @Override public void setPrimaryKeyObj(Serializable primaryKeyObj); @Override public ExpandoBridge getExpandoBridge(); @Override public void setExpandoBridgeAttributes(BaseModel baseModel); @Override public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); @Override public void setExpandoBridgeAttributes(ServiceContext serviceContext); @Override public Object clone(); @Override public int compareTo(Country country); @Override public int hashCode(); @Override public CacheModel toCacheModel(); @Override public Country toEscapedModel(); @Override public Country toUnescapedModel(); @Override public String toString(); @Override public String toXmlString(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy