public class FullContainerIdentity extends SimpleContainerIdentity
Constructor and Description |
---|
FullContainerIdentity(String id,
ContainerType type) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object identity)
Differentiate two identities.
|
ContainerType |
getType() |
int |
hashCode()
Allows quick verification to check is two identities are different.
|
String |
toString() |
getId
public FullContainerIdentity(String id, ContainerType type)
id
- the container idtype
- the container typepublic ContainerType getType()
public boolean equals(Object identity)
equals
in class SimpleContainerIdentity
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class SimpleContainerIdentity
Object.hashCode()
public String toString()
toString
in class SimpleContainerIdentity
Object.toString()
Copyright © 2004-2013 Codehaus. All Rights Reserved.