Package com.uc4.api.objects
Class ResourceItem
- java.lang.Object
-
- com.uc4.api.objects.ResourceItem
-
public class ResourceItem extends java.lang.Object
This class representsStorage
resource items.
-
-
Constructor Summary
Constructors Constructor Description ResourceItem(org.w3c.dom.Element resourceElement, java.lang.String storageIdnr)
Creates a newResourceItem
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
getChecksum
public java.lang.String getChecksum()
Return the checksum of the resource.- Returns:
- The checksum as
String
-
getFilename
public java.lang.String getFilename()
Return the filename of the resource.- Returns:
- The filename as
String
-
getName
public java.lang.String getName()
Return the name of the resource.- Returns:
- The name as
String
-
getPlatform
public java.lang.String getPlatform()
Return the Platform (from PlatformSwHwType) of the resource.- Returns:
- The platform as
String
-
getSw
public java.lang.String getSw()
Return the SW (from PlatformSwHwType) of the resource.- Returns:
- The SW as
String
-
getHw
public java.lang.String getHw()
Return the HW (from PlatformSwHwType) of the resource.- Returns:
- The HW as
String
-
getSize
public int getSize()
Return the size of the resource.- Returns:
- The size as
Integer
-
getFileType
public UploadBinary.ContentType getFileType()
Return the type of the resource.- Returns:
- The Type as
UploadBinary.ContentType
-
getVersion
public java.lang.String getVersion()
Return the version of the resource.- Returns:
- The version as
String
-
getIdnr
public java.lang.String getIdnr()
Returns the ID of the ResourceItem.- Returns:
- idnr as
String
-
getParentIdnr
public java.lang.String getParentIdnr()
Returns the ParentIdnr of the ResourceItem.- Returns:
- Storageidnr as
String
-
-