org.ow2.jonas.deployment.domain.xml
Class ClusterDaemon
java.lang.Object
org.ow2.jonas.deployment.common.xml.AbsElement
org.ow2.jonas.deployment.domain.xml.ClusterDaemon
- All Implemented Interfaces:
- Serializable, Element
public class ClusterDaemon
- extends AbsElement
Cluster Daemon configuration element
- Author:
- Benoit Pelletier, S. Ali Tokmen
- See Also:
- Serialized Form
ClusterDaemon
public ClusterDaemon()
- Constructor
getLocation
public Location getLocation()
- Returns:
- Returns the location.
setLocation
public void setLocation(Location location)
- Parameters:
location
- The location to set.
addLocation
public void addLocation(Location location)
- Parameters:
location
- The location to set.
getName
public String getName()
- Returns:
- Returns the name.
setName
public void setName(String name)
- Parameters:
name
- The name to set.
getDescription
public String getDescription()
- Returns:
- Returns the description.
setDescription
public void setDescription(String description)
- Parameters:
description
- The description to set.
getUsername
public final String getUsername()
- Returns:
- Returns the username.
setUsername
public final void setUsername(String username)
- Parameters:
username
- The username to set.
getPassword
public final String getPassword()
- Returns:
- Returns the password as encoded in the XML file.
setPassword
public final void setPassword(String password)
- Parameters:
password
- The password to set as encoded in the XML file.
toXML
public String toXML(int indent)
- Represents this element by it's XML description.
- Specified by:
toXML
in interface Element
- Specified by:
toXML
in class AbsElement
- Parameters:
indent
- use this indent for prexifing XML representation.
- Returns:
- the XML description of this object.
Copyright © 2010 OW2 Consortium. All Rights Reserved.