public class ResourceItem
extends java.lang.Object
Storage resource items.| Constructor and Description |
|---|
ResourceItem(org.w3c.dom.Element resourceElement,
java.lang.String storageIdnr)
Creates a new
ResourceItem. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getChecksum()
Return the checksum of the resource.
|
java.lang.String |
getFilename()
Return the filename of the resource.
|
UploadBinary.ContentType |
getFileType()
Return the type of the resource.
|
java.lang.String |
getHw()
Return the HW (from PlatformSwHwType) of the resource.
|
java.lang.String |
getIdnr()
Returns the ID of the ResourceItem.
|
java.lang.String |
getName()
Return the name of the resource.
|
java.lang.String |
getParentIdnr()
Returns the ParentIdnr of the ResourceItem.
|
java.lang.String |
getPlatform()
Return the Platform (from PlatformSwHwType) of the resource.
|
int |
getSize()
Return the size of the resource.
|
java.lang.String |
getSw()
Return the SW (from PlatformSwHwType) of the resource.
|
java.lang.String |
getVersion()
Return the version of the resource.
|
public ResourceItem(org.w3c.dom.Element resourceElement,
java.lang.String storageIdnr)
ResourceItem.
Internal use only.resourceElement - XML elementstorageIdnr - contains idnr of the Storage objectpublic java.lang.String getChecksum()
Stringpublic java.lang.String getFilename()
Stringpublic java.lang.String getName()
Stringpublic java.lang.String getPlatform()
Stringpublic java.lang.String getSw()
Stringpublic java.lang.String getHw()
Stringpublic int getSize()
Integerpublic UploadBinary.ContentType getFileType()
UploadBinary.ContentTypepublic java.lang.String getVersion()
Stringpublic java.lang.String getIdnr()
Stringpublic java.lang.String getParentIdnr()
String