org.codehaus.cargo.generic.internal.util
Class FullContainerIdentity
java.lang.Object
org.codehaus.cargo.generic.internal.util.SimpleContainerIdentity
org.codehaus.cargo.generic.internal.util.FullContainerIdentity
- All Implemented Interfaces:
- ContainerIdentity
- public class FullContainerIdentity
- extends SimpleContainerIdentity
Represents a container identified by its id and type.
- Version:
- $Id: $
Constructor Summary |
FullContainerIdentity(java.lang.String id,
org.codehaus.cargo.container.ContainerType type)
|
Method Summary |
boolean |
equals(java.lang.Object identity)
Differentiate two identities. |
org.codehaus.cargo.container.ContainerType |
getType()
|
int |
hashCode()
Allows quick verification to check is two identities are different. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
FullContainerIdentity
public FullContainerIdentity(java.lang.String id,
org.codehaus.cargo.container.ContainerType type)
- Parameters:
id
- the container idtype
- the container type
getType
public org.codehaus.cargo.container.ContainerType getType()
- Returns:
- the container type
equals
public boolean equals(java.lang.Object identity)
- Differentiate two identities.
Differentiate two identities.
- Overrides:
equals
in class SimpleContainerIdentity
- See Also:
Object.equals(java.lang.Object)
hashCode
public int hashCode()
- Allows quick verification to check is two identities are different.
Allows quick verification to check is two identities are different.
- Overrides:
hashCode
in class SimpleContainerIdentity
- See Also:
Object.hashCode()
toString
public java.lang.String toString()
-
- Overrides:
toString
in class SimpleContainerIdentity
- See Also:
Object.toString()
Copyright © 2004-2007 Codehaus. All Rights Reserved.