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:
java.io.Serializable

public class TopologyBean
extends java.lang.Object
implements java.io.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(java.lang.Object obj)
          
 java.util.List<GroupBean> getGroups()
          Get the groups
 java.lang.Integer getId()
          Get the id
 void setGroups(java.util.List<GroupBean> groups)
          Set the groups
 void setId(java.lang.Integer id)
          Set the id
 java.lang.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 java.lang.Integer getId()
Get the id

Returns:
the id

setId

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

Parameters:
id - the id

getGroups

public java.util.List<GroupBean> getGroups()
Get the groups

Returns:
the groups

setGroups

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

Parameters:
groups - The groups list to set

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


Copyright © 2010 OW2 Consortium. All Rights Reserved.