public class StorageItem
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
StorageItem.UsageType
Represents usage type of the resource.
|
Constructor and Description |
---|
StorageItem(ConnectionAttributes session,
org.w3c.dom.Element e)
Constructs a
StorareRessource using a XML Element. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getChecksum()
Returns checksum string of the resource content.
|
java.lang.String |
getFileName()
Returns file name represented by the resource.
|
UploadBinary.ContentType |
getFileType()
Return the type of data representation.
|
java.lang.String |
getHardware()
Returns the hardware type attribute.
|
java.lang.String |
getHostType()
Returns the host type attribute.
|
java.lang.String |
getItemId()
Returns the item id of this item
|
DateTime |
getModifiedDate()
Returns the modified date of the file in local time zone of the user who uploaded the file.
|
UC4ObjectName |
getName()
Returns name of the resource.
|
int |
getResourceType()
Returns the type of this resource.
|
long |
getSize()
Returns the size of resource content.
|
java.lang.String |
getSoftwareType()
Returns the software type attribute.
|
java.lang.String |
getStorageId()
Returns the oh idnr of the parent storage
|
StorageItem.UsageType |
getUsageType()
Returns the specified usage type of the resource.
|
java.lang.String |
getVersion()
Returns the version of the resource.
|
boolean |
isReplaceVariable()
Indicate whether variables for this resource should be replaced.
|
java.lang.String |
toString() |
public StorageItem(ConnectionAttributes session, org.w3c.dom.Element e)
StorareRessource
using a XML Element.
Internal use only.session
- Session infoe
- XML elementpublic java.lang.String getStorageId()
public java.lang.String getItemId()
public long getSize()
public StorageItem.UsageType getUsageType()
null
public UC4ObjectName getName()
public java.lang.String getFileName()
public DateTime getModifiedDate()
public int getResourceType()
public UploadBinary.ContentType getFileType()
UploadBinary.ContentType
public java.lang.String getChecksum()
null
public java.lang.String getVersion()
null
public java.lang.String getHostType()
null
public java.lang.String getSoftwareType()
null
public boolean isReplaceVariable()
public java.lang.String getHardware()
null
public java.lang.String toString()
toString
in class java.lang.Object