org.ow2.jasmine.jadort.api.entities.deployment
Class VMImageBean

java.lang.Object
  extended by org.ow2.jasmine.jadort.api.entities.deployment.VMImageBean
All Implemented Interfaces:
java.io.Serializable

public class VMImageBean
extends java.lang.Object
implements java.io.Serializable

Bean that represents a VM Image.

Author:
Malek Chahine, S. Ali Tokmen
See Also:
Serialized Form

Constructor Summary
VMImageBean()
           
VMImageBean(java.lang.String name, java.lang.String uuid)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          
 java.lang.Integer getId()
          Get the VM Image id
 java.lang.String getName()
          Name getter
 java.lang.String getUuid()
          get the VM Image uuid
 void setId(java.lang.Integer id)
          Set the VM Image id
 void setName(java.lang.String name)
          Name setter
 void setUuid(java.lang.String uuid)
          set the uuid de VM Image
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VMImageBean

public VMImageBean()

VMImageBean

public VMImageBean(java.lang.String name,
                   java.lang.String uuid)
Method Detail

getId

public java.lang.Integer getId()
Get the VM Image id

Returns:
the application id

setId

public void setId(java.lang.Integer id)
Set the VM Image id

Parameters:
id - the VM Image id

getName

public java.lang.String getName()
Name getter

Returns:
VM Image name

setName

public void setName(java.lang.String name)
Name setter

Parameters:
name - VM Image name

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object
Returns:
true if obj is an VMImageBean and the getUuid() is the same for both objects, false otherwise.

getUuid

public java.lang.String getUuid()
get the VM Image uuid

Returns:
VM Image uuid

setUuid

public void setUuid(java.lang.String uuid)
set the uuid de VM Image

Parameters:
uuid -


Copyright © 2009 OW2 Consortium. All Rights Reserved.