Package com.netrics.likeit
Class NetricsObjectNameCollection
- java.lang.Object
-
- com.netrics.likeit.NetricsObjectNameCollection
-
public class NetricsObjectNameCollection extends java.lang.ObjectTracks a collection of names of Patterns objects (tables, thesauri, models, and character maps
-
-
Constructor Summary
Constructors Constructor Description NetricsObjectNameCollection()Constructs an empty collection.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(NetricsObjectType type, java.lang.String... names)Add specific Patterns object names to the collection.voidaddAll()Indicates the collection includes the names of all Patterns objects of all Patterns types.voidaddAll(NetricsObjectType type)Indicates the collection includes the names of all Patterns objects of the given Patterns type.java.util.Set<java.lang.String>getObjectNames(NetricsObjectType type)Retrieve the object names of a particular Patterns object type.java.lang.StringtoString()
-
-
-
Method Detail
-
addAll
public void addAll()
Indicates the collection includes the names of all Patterns objects of all Patterns types.
-
addAll
public void addAll(NetricsObjectType type)
Indicates the collection includes the names of all Patterns objects of the given Patterns type.- Parameters:
type- The collection is marked as holding all all Patterns objects of this type.
-
add
public void add(NetricsObjectType type, java.lang.String... names)
Add specific Patterns object names to the collection.- Parameters:
type- The names are for objects of this type.names- The names to add. At least one name must be specified.
-
getObjectNames
public java.util.Set<java.lang.String> getObjectNames(NetricsObjectType type)
Retrieve the object names of a particular Patterns object type.- Parameters:
type- the type of Patterns object.- Returns:
- an unmodifiable set of object names.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-