com.apelon.dts.common.subset.expression
Class NamespaceFilter

java.lang.Object
  extended by com.apelon.dts.common.subset.expression.NamespaceFilter
All Implemented Interfaces:
Cloneable

public class NamespaceFilter
extends Object
implements Cloneable

Filter based on Namespace.

Copyright: Copyright (c) 2004

Company: Apelon, Inc.

Since:
3.4.0
Version:
DTS 3.4.0
Author:
Apelon Inc.

Field Summary
static String TYPE_ONTYLOG
          Ontylog Namespace Type
static String TYPE_THESAURUS
          Thesaurus Namespace Type
 
Constructor Summary
NamespaceFilter()
          Empty constructor
NamespaceFilter(int id, String name, String type)
          Consructs Namespace filter for given id, name and type
 
Method Summary
 Object clone()
           
 int getId()
          Returns the namespace id of this filter
 int getLinkedNamespaceId()
          Returns id of the linked namespace, or -1 if none.
 String getLinkedNamespaceName()
          Returns the name of the linked namespace.
 String getName()
          Returns the namsepace name.
 String getType()
          Retruns namespace type
 void setId(int id)
          Sets the namespace id of this filter
 void setLinkedNamespaceId(int linkedNamespaceId)
          Sets the namespace id of the linked namespace.
 void setLinkedNamespaceName(String linkedNamespaceName)
          Sets the name of the linked namespace.
 void setName(String name)
          Sets the namespace name
 void setType(String type)
          Sets the namespace type of this filter
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_ONTYLOG

public static final String TYPE_ONTYLOG
Ontylog Namespace Type

See Also:
Constant Field Values

TYPE_THESAURUS

public static final String TYPE_THESAURUS
Thesaurus Namespace Type

See Also:
Constant Field Values
Constructor Detail

NamespaceFilter

public NamespaceFilter()
Empty constructor


NamespaceFilter

public NamespaceFilter(int id,
                       String name,
                       String type)
Consructs Namespace filter for given id, name and type

Parameters:
id -
name -
type -
Method Detail

getId

public int getId()
Returns the namespace id of this filter

Returns:
int namespace id

setId

public void setId(int id)
Sets the namespace id of this filter

Parameters:
id -

getName

public String getName()
Returns the namsepace name.

Returns:
String namespace name

setName

public void setName(String name)
Sets the namespace name

Parameters:
name -

getType

public String getType()
Retruns namespace type

Returns:
String namespace type

setType

public void setType(String type)
Sets the namespace type of this filter

Parameters:
type -

getLinkedNamespaceId

public int getLinkedNamespaceId()
Returns id of the linked namespace, or -1 if none.

Returns:
int namespace id or -1

setLinkedNamespaceId

public void setLinkedNamespaceId(int linkedNamespaceId)
Sets the namespace id of the linked namespace.

Parameters:
linkedNamespaceId -

getLinkedNamespaceName

public String getLinkedNamespaceName()
Returns the name of the linked namespace.

Returns:
String namespace name

setLinkedNamespaceName

public void setLinkedNamespaceName(String linkedNamespaceName)
Sets the name of the linked namespace.

Parameters:
linkedNamespaceName -

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class Object
Throws:
CloneNotSupportedException


Copyright © 2011. All Rights Reserved.