public class ModuleId extends Object
com.sun.enterprise.module.Module.
A module is identified by its name and version. This class
encapsulates both and implements hashCode and equals method
so that it can be used in Sets and Maps.| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected String |
version |
| Modifier | Constructor and Description |
|---|---|
protected |
ModuleId() |
|
ModuleId(ModuleDefinition md) |
|
ModuleId(String name) |
|
ModuleId(String name,
String version) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
protected void |
init(String name,
String version) |
String |
toString() |
protected ModuleId()
public ModuleId(String name)
public ModuleId(ModuleDefinition md)
Copyright © 2009–2021 Oracle Corporation. All rights reserved.