com.togethersoft.testing.shared
Class AssetCategory
- public class AssetCategory
- implements ICategory
Provides default implementation of ICategory interface
| Constructor Summary |
AssetCategory(String[] ids) Creates new asset category with gived ids |
| Method Summary |
boolean | contains(String identifier) Returns true if the asset category contains given identifier |
boolean | equals(Object o) Compares the asset category with another category. |
int | hashCode() |
Enumeration | identifiers() Returns enumeration of identifiers contained in this category |
String | toString() Returns a comma-separated list of identfiers |
myIdentifiers
private Vector myIdentifiers
AssetCategory
public AssetCategory(String[] ids)
- Creates new asset category with gived ids
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
to Class java.util.Vector