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()
String
public java.lang.String getFilename()
String
public java.lang.String getName()
String
public java.lang.String getPlatform()
String
public java.lang.String getSw()
String
public java.lang.String getHw()
String
public int getSize()
Integer
public UploadBinary.ContentType getFileType()
UploadBinary.ContentType
public java.lang.String getVersion()
String
public java.lang.String getIdnr()
String
public java.lang.String getParentIdnr()
String