java.lang.Object
org.acs.damsel.srvr.asset.Asset
- All Implemented Interfaces:
- java.io.Serializable
- public class Asset
- extends java.lang.Object
- implements java.io.Serializable
Class Name: Asset
Description: Each instance of the Asset class represents a single asset
stored in the repository. Instances maintain asset filename and metadata
filename as well as an Asset Descriptor Collection which stores all of
the asset descriptors listed in the metadata file. The one metadata tag that
all assets have in common is the assetID, which is an autonumber (i.e., a
number that is unique and automatically incremented) retrieved from the
Config object.
- Version:
- 1.1
|
Constructor Summary |
Asset()
Default constructor that creates an AssetDescriptorCollection for the Asset |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
assetDescColl
private AssetDescriptorCollection assetDescColl
log
private static org.apache.log4j.Logger log
Asset
public Asset()
- Default constructor that creates an AssetDescriptorCollection for the Asset
getFileName
public java.lang.String getFileName()
throws java.sql.SQLException
- Returns the filename of the asset as a String.
getWebFileName
public java.lang.String getWebFileName()
- Returns the webFileName of the asset as a String.
getAssetDescriptors
public AssetDescriptorCollection getAssetDescriptors()
setAssetDescriptors
public void setAssetDescriptors(AssetDescriptorCollection assetDescriptors)