org.ops4j.pax.radman.gateway.jpa
Class HostGroupModel

java.lang.Object
  extended by org.ops4j.pax.radman.gateway.jpa.HostGroupModel
All Implemented Interfaces:
java.io.Serializable

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

TODO:

Since:
0.1.0
Author:
Edward Yakop
See Also:
Serialized Form

Constructor Summary
HostGroupModel()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getDescription()
          Returns the description of this HostGroup.
 java.lang.String getHostGroupName()
           
 java.util.Set<HostModel> getHosts()
          Returns all host associated with this host zone.
 java.lang.String getId()
          Returns the host zone id.
 int hashCode()
           
 void sanitize()
           
 void setDescription(java.lang.String aDescription)
          Sets the aDescription of this HostGroup.
 void setHostGroupName(java.lang.String aHostGroupName)
           
 void setHosts(java.util.Set<HostModel> hosts)
           
 void setId(java.lang.String anId)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HostGroupModel

public HostGroupModel()
Method Detail

getId

public java.lang.String getId()
Returns the host zone id.

Returns:
The host zone id.
Since:
0.1.0

setId

public void setId(java.lang.String anId)

getHostGroupName

public java.lang.String getHostGroupName()

setHostGroupName

public void setHostGroupName(java.lang.String aHostGroupName)

getHosts

public java.util.Set<HostModel> getHosts()
Returns all host associated with this host zone.

Returns:
All host associated with this host zone.
Since:
0.1.0
See Also:
HostModel

setHosts

public void setHosts(java.util.Set<HostModel> hosts)

getDescription

public java.lang.String getDescription()
Returns the description of this HostGroup.

Returns:
The description of this host zone.
Since:
0.1.0

setDescription

public void setDescription(java.lang.String aDescription)
Sets the aDescription of this HostGroup.

Parameters:
aDescription - The description of this host group.
Since:
0.1.0

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

sanitize

public void sanitize()


Copyright © 2008. All Rights Reserved.