org.ow2.jasmine.jadort.api.entities.topology
Class TopologyBean

java.lang.Object
  extended by org.ow2.jasmine.jadort.api.entities.topology.TopologyBean
All Implemented Interfaces:
Serializable

public class TopologyBean
extends Object
implements Serializable

Bean that represents a topology of servers

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

Constructor Summary
TopologyBean()
           
 
Method Summary
 boolean equals(Object obj)
          
 List<GroupBean> getGroups()
          Get the groups
 Integer getId()
          Get the id
 void setGroups(List<GroupBean> groups)
          Set the groups
 void setId(Integer id)
          Set the id
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TopologyBean

public TopologyBean()
Method Detail

getId

public Integer getId()
Get the id

Returns:
the id

setId

public void setId(Integer id)
Set the id

Parameters:
id - the id

getGroups

public List<GroupBean> getGroups()
Get the groups

Returns:
the groups

setGroups

public void setGroups(List<GroupBean> groups)
Set the groups

Parameters:
groups - The groups list to set

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 a TopologyBean and the getId() is the same for both objects, false otherwise.


Copyright © 2012 OW2 Consortium. All Rights Reserved.