com.alogient.cameleon.sdk.content.vo.CultureVo Maven / Gradle / Ivy
The newest version!
package com.alogient.cameleon.sdk.content.vo;
import com.alogient.cameleon.sdk.common.dao.model.Culture;
import java.io.Serializable;
/**
* User: J?r?me Mirc Date: 6-Aug-2009 Time: 4:45:48 PM
*/
public class CultureVo implements Serializable {
/**
* Serial version unique identifier
*/
private static final long serialVersionUID = 56690574837509095L;
/**
* Id of the culture
*/
private Integer cultureId;
/**
* Unique culture identifier (IETF language tag)
*/
private String cultureCode;
/**
* Default culture
*/
private Boolean isDefaultCulture;
/**
* Ctor from the corresponding entity
* @param culture The source entity
*/
public CultureVo(Culture culture) {
this.cultureId = culture.getCultureId();
this.cultureCode = culture.getCultureCode();
this.isDefaultCulture = culture.getIsDefault();
}
/**
* @return the cultureId
*/
public Integer getCultureId() {
return cultureId;
}
/**
* @param cultureId the cultureId to set
*/
public void setCultureId(Integer cultureId) {
this.cultureId = cultureId;
}
/**
* @return the cultureCode
*/
public String getCultureCode() {
return cultureCode;
}
/**
* @param cultureCode the cultureCode to set
*/
public void setCultureCode(String cultureCode) {
this.cultureCode = cultureCode;
}
/**
* @return the isDefaultCulture
*/
public boolean isDefaultCulture() {
return isDefaultCulture;
}
@Override
public String toString() {
return "CultureVo{" +
"cultureId=" + cultureId +
", cultureCode='" + cultureCode + '\'' +
", isDefaultCulture=" + isDefaultCulture +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy