|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.wurfl.core.resource.ResourceData
public class ResourceData
The ResourceData contain information obtained bay WURFLResource. At this moment the managed ModelDevices, the name and version of resource.
| Constructor Summary | |
|---|---|
ResourceData(String name,
String version,
boolean patch,
ModelDevices devices)
Build ResourceData by name, version, patch flag and ModelDevices |
|
ResourceData(String name,
String version,
ModelDevices devices)
Build ResourceData by name, version and ModelDevices. |
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
|
boolean |
equals(Object obj)
ResourceData is equals to another, if and only if, the info string are equal. |
ModelDevices |
getDevices()
Returns maanged ModelDevices. |
String |
getInfo()
Return info string of this resource. |
String |
getName()
Returns the name of resource. |
String |
getVersion()
Returns version string of the resource. |
int |
hashCode()
|
boolean |
isPatch()
Returns if this resource is a patch. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceData(String name,
String version,
ModelDevices devices)
name - The name of source resource.version - The version of source Resourcedevices - The managed ModelDevices
public ResourceData(String name,
String version,
boolean patch,
ModelDevices devices)
name - The name of source resource.version - The version of source Resourcepatch - flag indicates if this resource is a patch.devices - The managed ModelDevices| Method Detail |
|---|
public String getName()
public String getVersion()
public boolean isPatch()
public String getInfo()
Root|Patch:Loacation:Version. The location may vary from URI
to JDBC connection string, it depends by the source Resource.
public ModelDevices getDevices()
public int compareTo(Object o)
compareTo in interface Comparablepublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals 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 | |||||||||