Package com.uc4.api.objects
Class ResourceItem
- java.lang.Object
-
- com.uc4.api.objects.ResourceItem
-
public class ResourceItem extends java.lang.ObjectThis class representsStorageresource 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.StringgetChecksum()Return the checksum of the resource.java.lang.StringgetFilename()Return the filename of the resource.UploadBinary.ContentTypegetFileType()Return the type of the resource.java.lang.StringgetHw()Return the HW (from PlatformSwHwType) of the resource.java.lang.StringgetIdnr()Returns the ID of the ResourceItem.java.lang.StringgetName()Return the name of the resource.java.lang.StringgetParentIdnr()Returns the ParentIdnr of the ResourceItem.java.lang.StringgetPlatform()Return the Platform (from PlatformSwHwType) of the resource.intgetSize()Return the size of the resource.java.lang.StringgetSw()Return the SW (from PlatformSwHwType) of the resource.java.lang.StringgetVersion()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
-
-