at.tuwien.ifs.somtoolbox.data.metadata
Class EmtpyVectorMetaData
java.lang.Object
at.tuwien.ifs.somtoolbox.data.metadata.AbstractVectorMetaData
at.tuwien.ifs.somtoolbox.data.metadata.EmtpyVectorMetaData
public class EmtpyVectorMetaData
- extends AbstractVectorMetaData
This is an empty MetaData object. All operations just work in the "name" (the ID).
- Version:
- $Id: EmtpyVectorMetaData.java 3583 2010-05-21 10:07:41Z mayer $
- Author:
- Jakob Frank
- See Also:
getID()
Method Summary |
String |
getDisplayLabel()
Returns a String to display on screen. |
String |
getID()
Return the unique ID of the Vector. |
boolean |
matches(Pattern pattern)
Tests if the vectors MetaData matches the given Pattern. |
boolean |
matches(String pattern,
boolean ignoreCase)
Tests if the vector's MetaData matches the given pattern. |
id
private final String id
EmtpyVectorMetaData
public EmtpyVectorMetaData(String id)
matches
public boolean matches(String pattern,
boolean ignoreCase)
- Description copied from class:
AbstractVectorMetaData
- Tests if the vector's MetaData matches the given pattern. It is the vectors metadata's decision whether it wants
to be found by the given Pattern or not and how to handle wildcards.
- Specified by:
matches
in class AbstractVectorMetaData
- Parameters:
pattern
- The pattern to match.ignoreCase
- set true
to ignore case considerations.
- Returns:
true
if the pattern matches.- See Also:
AbstractVectorMetaData.matches(Pattern)
,
AbstractVectorMetaData.matches(String)
matches
public boolean matches(Pattern pattern)
- Description copied from class:
AbstractVectorMetaData
- Tests if the vectors MetaData matches the given Pattern.
- Specified by:
matches
in class AbstractVectorMetaData
- Parameters:
pattern
- the Pattern to test.
- Returns:
true
if the pattern matches.- See Also:
AbstractVectorMetaData.matches(String)
getDisplayLabel
public String getDisplayLabel()
- Description copied from class:
AbstractVectorMetaData
- Returns a String to display on screen.
- Specified by:
getDisplayLabel
in class AbstractVectorMetaData
- Returns:
- the (Display)Label
getID
public String getID()
- Description copied from class:
AbstractVectorMetaData
- Return the unique ID of the Vector. (The name/label it is identified by)
- Specified by:
getID
in class AbstractVectorMetaData
- Returns:
- the ID-String