com.togethersoft.testing.shared
Class AssetCategory


public class AssetCategory
implements ICategory

Provides default implementation of ICategory interface


Field Summary
 private VectormyIdentifiers
           

Constructor Summary
AssetCategory(String[] ids)
          Creates new asset category with gived ids

Method Summary
 booleancontains(String identifier)
          Returns true if the asset category contains given identifier
 booleanequals(Object o)
          Compares the asset category with another category.
 inthashCode()
           
 Enumerationidentifiers()
          Returns enumeration of identifiers contained in this category
 StringtoString()
          Returns a comma-separated list of identfiers

Field Detail

myIdentifiers

private Vector myIdentifiers
Constructor Detail

AssetCategory

public AssetCategory(String[] ids)
Creates new asset category with gived ids
Method Detail

contains

public boolean contains(String identifier)
Returns true if the asset category contains given identifier

equals

public boolean equals(Object o)
Compares the asset category with another category.
Returns true if the two categories contain the same identifiers

hashCode

public int hashCode()

identifiers

public Enumeration identifiers()
Returns enumeration of identifiers contained in this category

toString

public String toString()
Returns a comma-separated list of identfiers

Association Links

to Class java.util.Vector