org.ow2.cmi.lb.loader
Class ArchiveId
java.lang.Object
org.ow2.cmi.lb.loader.ArchiveId
- All Implemented Interfaces:
- java.io.Serializable
public class ArchiveId
- extends java.lang.Object
- implements java.io.Serializable
- Author:
- The new CMI team
- See Also:
- Serialized Form
|
Field Summary |
static java.lang.String |
DEFAULT_NAME
Default archive name. |
static java.lang.String |
SEPARATOR
Separator used in the toString method. |
|
Constructor Summary |
ArchiveId()
Default constructor. |
ArchiveId(java.lang.String inetAddress,
java.lang.String location)
init and archive id with given paramaters. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DEFAULT_NAME
public static final java.lang.String DEFAULT_NAME
- Default archive name.
- See Also:
- Constant Field Values
SEPARATOR
public static java.lang.String SEPARATOR
- Separator used in the toString method.
ArchiveId
public ArchiveId(java.lang.String inetAddress,
java.lang.String location)
- init and archive id with given paramaters. Applying
toString method to the result returns inetAddress + location.
- Parameters:
inetAddress - location -
ArchiveId
public ArchiveId()
- Default constructor.
getHost
public java.lang.String getHost()
- Returns:
- the host
setHost
public void setHost(java.lang.String host)
- Parameters:
host - the host to set
getName
public java.lang.String getName()
- Returns:
- the name
setName
public void setName(java.lang.String name)
- Parameters:
name - the name to set
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getLocation
public java.lang.String getLocation()
- Returns:
- archive location.
Copyright © 2009 OW2 Consortium. All Rights Reserved.