/** * Copyright (C) 2010 Cloud.com, Inc. All rights reserved. * * This software is licensed under the GNU General Public License v3 or later. * * It is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or any later version. * This program 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 General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ package com.cloud.async.executor; import java.util.Date; import javax.persistence.Column; import com.cloud.serializer.Param; import com.cloud.storage.Storage.ImageFormat; public class CopyTemplateResultObject { @Param(name="id") private long id; @Param(name="name") private String name; @Param(name="displaytext") private String displayText; @Param(name="ispublic", propName="public") private boolean isPublic; // @Param(name="requireshvm") // private Boolean requiresHvm; // // @Param(name="bits") // private Integer bits; @Param(name="created") private Date created; @Param(name="isready", propName="ready") private boolean isReady; @Param(name="isfeatured", propName="featured") private boolean isFeatured; @Param(name="passwordenabled") private boolean passwordEnabled; @Param(name="format") private ImageFormat format; @Param(name="ostypeid") private long guestOsId; @Param(name="zoneid") private long zoneId; @Param(name="zonename") private String zoneName; @Param(name="ostypename") private String osTypeName; @Param(name="account") private String accountName; @Param(name="domain") private String domainName; @Param(name="domainid") private long domainId; @Param(name="templatestatus") private String templateStatus; public String getTemplateStatus() { return templateStatus; } public void setTemplateStatus(String templateStatus) { this.templateStatus = templateStatus; } public long getId() { return id; } public void setId(long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getDisplayText() { return displayText; } public void setDisplayText(String displayText) { this.displayText = displayText; } public boolean isPublic() { return isPublic; } public void setPublic(boolean isPublic) { this.isPublic = isPublic; } // public boolean isRequiresHvm() { // return requiresHvm; // } // // public void setRequiresHvm(boolean requiresHvm) { // this.requiresHvm = requiresHvm; // } // // public int getBits() { // return bits; // } // // public void setBits(int bits) { // this.bits = bits; // } public Date getCreated() { return created; } public String getOsTypeName() { return this.osTypeName; } public void setCreated(Date created) { this.created = created; } public boolean isReady() { return isReady; } public void setReady(boolean isReady) { this.isReady = isReady; } public boolean isFeatured() { return isFeatured; } public void setFeatured(boolean isFeatured) { this.isFeatured = isFeatured; } public boolean isPasswordEnabled() { return passwordEnabled; } public void setPasswordEnabled(boolean passwordEnabled) { this.passwordEnabled = passwordEnabled; } public ImageFormat getFormat() { return format; } public void setFormat(ImageFormat format) { this.format = format; } public long getGuestOsId() { return guestOsId; } public void setGuestOsId(long guestOsId) { this.guestOsId = guestOsId; } public void setOsTypeName(String osTypeName) { this.osTypeName = osTypeName; } public void setAccountName(String accountName) { this.accountName = accountName; } public void setDomainName(String domainName) { this.domainName = domainName; } public void setDomainId(long domainId) { this.domainId = domainId; } public long getZoneId() { return zoneId; } public long getDomainId() { return domainId; } public String getAccountName(){ return accountName; } public String getDomainName(){ return domainName; } public void setZoneId(long zoneId) { this.zoneId = zoneId; } public String getZoneName() { return zoneName; } public void setZoneName(String zoneName) { this.zoneName = zoneName; } }