org.andromda.core.configuration
Class Filter

java.lang.Object
  extended by org.andromda.core.configuration.Filter
All Implemented Interfaces:
java.io.Serializable

public class Filter
extends java.lang.Object
implements java.io.Serializable

Used to specify which filter should or should not be applied within a model.

Author:
Chad Brandon
See Also:
Filters, Serialized Form

Constructor Summary
Filter()
           
 
Method Summary
 java.util.Collection getNamespaceList()
          Gets the list of namespaces that this filter applies to.
 java.lang.String getValue()
          Gets the value of this Filter.
 boolean isApply()
          Whether or not this filter should be applied.
 void setApply(boolean process)
          Sets whether or not this Filter should be applied.
 void setNamespaces(java.lang.String namespaces)
          Sets the comma seperated list of namespaces to which the filter applies.
 void setValue(java.lang.String name)
          Sets the value of this Filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Filter

public Filter()
Method Detail

getValue

public java.lang.String getValue()
Gets the value of this Filter.

Returns:
Returns the value.

setValue

public void setValue(java.lang.String name)
Sets the value of this Filter.

Parameters:
name - the value of the filter.

isApply

public boolean isApply()
Whether or not this filter should be applied.

Returns:
Returns the shouldProcess.

setApply

public void setApply(boolean process)
Sets whether or not this Filter should be applied.

Parameters:
process - The shouldProcess to set.

setNamespaces

public void setNamespaces(java.lang.String namespaces)
Sets the comma seperated list of namespaces to which the filter applies.

Parameters:
namespaces - a comma seperated list of namespaces to apply to the filter.

getNamespaceList

public java.util.Collection getNamespaceList()
Gets the list of namespaces that this filter applies to.

Returns:
the list of namespaces.


Copyright © 2003-2008 AndroMDA.org. All Rights Reserved.