Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.dasein.cloud.azure.platform.model;
 
Created by vmunthiu on 1/14/2015.
/*
<ServiceResource>
<Name>AutomatedSqlExport_vladtestdb_20150114T100004Z</Name>
<Type>Microsoft.SqlAzure.RecoverableDatabase</Type>
<State>Recoverable</State>
<SelfLink>https://management.core.windows.net/b9d9ea22-2a54-4b66-8d59-9156b3331ae9/services/sqlservers/servers/boghorr5it/recoverabledatabases/AutomatedSqlExport_vladtestdb_20150114T100004Z</SelfLink>
<ParentLink>https://management.core.windows.net/b9d9ea22-2a54-4b66-8d59-9156b3331ae9/services/sqlservers/servers/boghorr5it</ParentLink>
<EntityId>AutomatedSqlExport_vladtestdb_20150114T100004Z,2015-01-14T10-05-34</EntityId>
<ServerName>boghorr5it</ServerName>
<Edition>Standard</Edition>
<LastAvailableBackupDate>2015-01-14T10:05:34.0000000Z</LastAvailableBackupDate>
 </ServiceResource>
*/
@XmlRootElement(name="ServiceResource", namespace ="http://schemas.microsoft.com/windowsazure")
public class RecoverableDatabaseModel {
    @XmlElement(name="Name", namespace ="http://schemas.microsoft.com/windowsazure")
    private String name;
    @XmlElement(name="Type", namespace ="http://schemas.microsoft.com/windowsazure")
    private String type;
    @XmlElement(name="State", namespace ="http://schemas.microsoft.com/windowsazure")
    private String state;
    @XmlElement(name="EntityId", namespace ="http://schemas.microsoft.com/windowsazure")
    private String entityId;
    @XmlElement(name="ServerName", namespace ="http://schemas.microsoft.com/windowsazure")
    private String serverName;
    @XmlElement(name="LastAvailableBackupDate", namespace ="http://schemas.microsoft.com/windowsazure")
    public String getName() {
        return ;
    }
    public void setName(String name) {
        this. = name;
    }
    public String getType() {
        return ;
    }
    public void setType(String type) {
        this. = type;
    }
    public String getState() {
        return ;
    }
    public void setState(String state) {
        this. = state;
    }
    public String getEntityId() {
        return ;
    }
    public void setEntityId(String entityId) {
        this. = entityId;
    }
    public String getServerName() {
        return ;
    }
    public void setServerName(String serverName) {
        this. = serverName;
    }
    public String getLastAvailableBackupDate() {
        return ;
    }
    public void setLastAvailableBackupDate(String lastAvailableBackupDate) {
        this. = lastAvailableBackupDate;
    }
New to GrepCode? Check out our FAQ X