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:
Serializable

public class VMImageBean
extends Object
implements Serializable

Bean that represents a VM Image.

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

Constructor Summary
VMImageBean()
           
VMImageBean(String name, String uuid)
           
 
Method Summary
 boolean equals(Object obj)
          
 Integer getId()
          Get the VM Image id
 String getName()
          Name getter
 String getUuid()
          get the VM Image uuid
 void setId(Integer id)
          Set the VM Image id
 void setName(String name)
          Name setter
 void setUuid(String uuid)
          set the uuid de VM Image
 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(String name,
                   String uuid)
Method Detail

getId

public Integer getId()
Get the VM Image id

Returns:
the application id

setId

public void setId(Integer id)
Set the VM Image id

Parameters:
id - the VM Image id

getName

public String getName()
Name getter

Returns:
VM Image name

setName

public void setName(String name)
Name setter

Parameters:
name - VM Image name

toString

public String toString()

Overrides:
toString in class Object

equals

public boolean equals(Object obj)

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

getUuid

public String getUuid()
get the VM Image uuid

Returns:
VM Image uuid

setUuid

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

Parameters:
uuid -


Copyright © 2012 OW2 Consortium. All Rights Reserved.