|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.classloading.spi.helpers.NameAndVersionRangeSupport
public class NameAndVersionRangeSupport
NameAndVersionRangeSupport.
| Constructor Summary | |
|---|---|
NameAndVersionRangeSupport()
Create a new NameAndVersionRangeSupport |
|
NameAndVersionRangeSupport(String name)
Create a new NameAndVersionRangeSupport with no version constraint |
|
NameAndVersionRangeSupport(String name,
VersionRange versionRange)
Create a new NameAndVersionRangeSupport. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Object |
getFrom()
Get the fromVersion. |
Version |
getFromVersion()
Get the fromVersion. |
String |
getName()
Get the name. |
Object |
getTo()
Get the toVersion. |
Version |
getToVersion()
Get the toVersion. |
VersionRange |
getVersionRange()
Get the versionRange. |
int |
hashCode()
|
boolean |
isFromVersionInclusive()
Get the fromVersionInclusive. |
boolean |
isToVersionInclusive()
Get the toVersionInclusive. |
void |
setFrom(Object fromVersion)
Set the fromVersion. |
void |
setFromVersion(Version fromVersion)
Set the fromVersion. |
void |
setFromVersionInclusive(boolean fromVersionInclusive)
Set the fromVersionInclusive. |
void |
setName(String name)
Set the name. |
void |
setTo(Object toVersion)
Set the toVersion. |
void |
setToVersion(Version toVersion)
Set the toVersion. |
void |
setToVersionInclusive(boolean toVersionInclusive)
Set the toVersionInclusive. |
void |
setVersion(Version version)
Set a single version as the version range |
void |
setVersionRange(VersionRange versionRange)
Set the versionRange. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NameAndVersionRangeSupport()
public NameAndVersionRangeSupport(String name)
name - the name
IllegalArgumentException - for a null name
public NameAndVersionRangeSupport(String name,
VersionRange versionRange)
name - the nameversionRange - the version range - pass null for all versions
IllegalArgumentException - for a null name| Method Detail |
|---|
public String getName()
public void setName(String name)
name - the name.public VersionRange getVersionRange()
public void setVersionRange(VersionRange versionRange)
versionRange - the versionRange.public Object getFrom()
public void setFrom(Object fromVersion)
fromVersion - the fromVersion.public Version getFromVersion()
public void setFromVersion(Version fromVersion)
fromVersion - the fromVersion.public boolean isFromVersionInclusive()
public void setFromVersionInclusive(boolean fromVersionInclusive)
fromVersionInclusive - the fromVersionInclusive.public Object getTo()
public void setTo(Object toVersion)
toVersion - the toVersion.public Version getToVersion()
public void setToVersion(Version toVersion)
toVersion - the toVersion.public boolean isToVersionInclusive()
public void setToVersionInclusive(boolean toVersionInclusive)
toVersionInclusive - the toVersionInclusive.public void setVersion(Version version)
version - the versionpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||