|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.classloading.spi.helpers.NameAndVersionSupport
public class NameAndVersionSupport
NameAndVersionSupport.
Constructor Summary | |
---|---|
NameAndVersionSupport()
Create a new NameAndVersionSupport with the default version |
|
NameAndVersionSupport(String name)
Create a new NameAndVersionSupport with the default version |
|
NameAndVersionSupport(String name,
Object version)
Create a new NameAndVersionSupport. |
Method Summary | |
---|---|
NameAndVersionSupport |
clone()
|
boolean |
equals(Object obj)
|
String |
getName()
Get the name. |
Version |
getTheVersion()
Get the version. |
Object |
getVersion()
Get the version. |
int |
hashCode()
|
void |
setName(String name)
Set the name. |
void |
setTheVersion(Version version)
Set the version. |
void |
setVersion(Object version)
Set the version. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NameAndVersionSupport()
public NameAndVersionSupport(String name)
name
- the name
IllegalArgumentException
- for a null namepublic NameAndVersionSupport(String name, Object version)
name
- the nameversion
- the version - pass null for default version
IllegalArgumentException
- for a null nameMethod Detail |
---|
public String getName()
public void setName(String name)
name
- the name.public Object getVersion()
public void setVersion(Object version)
version
- the version.public Version getTheVersion()
public void setTheVersion(Version version)
version
- the version.public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public NameAndVersionSupport clone()
clone
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |