public class StorageItem extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StorageItem.UsageType
Represents usage type of the resource.
|
| Constructor and Description |
|---|
StorageItem(ConnectionAttributes session,
Element e)
Constructs a
StorareRessource using a XML Element. |
| Modifier and Type | Method and Description |
|---|---|
String |
getChecksum()
Returns checksum string of the resource content.
|
String |
getFileName()
Returns file name represented by the resource.
|
String |
getHardware()
Returns the hardware type attribute.
|
String |
getHostType()
Returns the host type attribute.
|
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.
|
String |
getSoftwareType()
Returns the software type attribute.
|
StorageItem.UsageType |
getUsageType()
Returns the specified usage type of the resource.
|
String |
getVersion()
Returns the version of the resource.
|
boolean |
isReplaceVariable()
Indicate whether variables for this resource should be replaced.
|
String |
toString() |
public StorageItem(ConnectionAttributes session, Element e)
StorareRessource using a XML Element.
Internal use only.session - Session infoe - XML elementpublic long getSize()
public StorageItem.UsageType getUsageType()
nullpublic UC4ObjectName getName()
public String getFileName()
public DateTime getModifiedDate()
public int getResourceType()
public String getChecksum()
nullpublic String getVersion()
nullpublic String getHostType()
nullpublic String getSoftwareType()
nullpublic boolean isReplaceVariable()
public String getHardware()
nullCopyright © 2019. All rights reserved.