Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.acs.damsel.srvr.asset
Class Asset  view Asset download Asset.java

java.lang.Object
  extended byorg.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

Field Summary
private  AssetDescriptorCollection assetDescColl
           
private static org.apache.log4j.Logger log
           
 
Constructor Summary
Asset()
          Default constructor that creates an AssetDescriptorCollection for the Asset
 
Method Summary
 AssetDescriptorCollection getAssetDescriptors()
           
 java.lang.String getFileName()
          Returns the filename of the asset as a String.
 java.lang.String getWebFileName()
          Returns the webFileName of the asset as a String.
 void setAssetDescriptors(AssetDescriptorCollection assetDescriptors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

assetDescColl

private AssetDescriptorCollection assetDescColl

log

private static org.apache.log4j.Logger log
Constructor Detail

Asset

public Asset()
Default constructor that creates an AssetDescriptorCollection for the Asset

Method Detail

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)