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

Quick Search    Search Deep

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

java.lang.Object
  extended byorg.acs.damsel.srvr.asset.AssetDescriptorCollection
All Implemented Interfaces:
java.io.Serializable

public class AssetDescriptorCollection
extends java.lang.Object
implements java.io.Serializable

Title: AssetDescriptorCollection

Description: This class uses the Vector class to provide methods to manage AssetDescriptor objects. This is a collection of AssetDescriptors.

Version:
1.0

Field Summary
private static org.apache.log4j.Logger log
           
private  java.util.Vector myCollection
           
 
Constructor Summary
AssetDescriptorCollection()
          Default constructor: initializes an empty collection
 
Method Summary
 void addAssetDescriptor(AssetDescriptor ad)
          Adds an AssetDescriptor to our collection
 AssetDescriptor getAssetDescriptor(java.lang.String tag)
           
 java.lang.String getTag(java.lang.String values)
          getTag searches through this AssetDescriptor collection and returns the tag associated with the given value
 java.lang.String getValue(java.lang.String tag)
          getValue searches through this AssetDescriptor collection and returns the value associated with the given tag
 java.util.Iterator iterator()
           
 boolean removeAssetDescriptor(AssetDescriptor ad)
          Removes the specified AssetDescriptor from this collection
 int size()
           
 java.lang.String toString()
          Returns a string value of the collection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

myCollection

private java.util.Vector myCollection

log

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

AssetDescriptorCollection

public AssetDescriptorCollection()
Default constructor: initializes an empty collection

Method Detail

addAssetDescriptor

public void addAssetDescriptor(AssetDescriptor ad)
Adds an AssetDescriptor to our collection


removeAssetDescriptor

public boolean removeAssetDescriptor(AssetDescriptor ad)
Removes the specified AssetDescriptor from this collection


size

public int size()

iterator

public java.util.Iterator iterator()

getTag

public java.lang.String getTag(java.lang.String values)
getTag searches through this AssetDescriptor collection and returns the tag associated with the given value


getValue

public java.lang.String getValue(java.lang.String tag)
getValue searches through this AssetDescriptor collection and returns the value associated with the given tag


getAssetDescriptor

public AssetDescriptor getAssetDescriptor(java.lang.String tag)

toString

public java.lang.String toString()
Returns a string value of the collection