org.norther.tammi.core.rt.util
Class IncludeTraitFilter
java.lang.Object
org.norther.tammi.core.rt.util.IncludeTraitFilter
- All Implemented Interfaces:
- Serializable, AttributeFilter
public class IncludeTraitFilter
- extends Object
- implements AttributeFilter, Serializable
An attribute trait include filter for importing and exporting attributes.
- Version:
- $Id: IncludeTraitFilter.java,v 1.1 2010-06-29 18:29:33 cvsimp Exp $
- Author:
- Ilkka Priha
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IncludeTraitFilter
public IncludeTraitFilter(int mask)
- Constructs a new filter for the traits.
- Parameters:
mask
- included traits mask.
filter
public Attribute filter(Object object,
String name,
Object value)
- Description copied from interface:
AttributeFilter
- Filters an attribute. This method is called when transporting attributes.
- Specified by:
filter
in interface AttributeFilter
- Parameters:
object
- the object importing or exporting the attribute.name
- the name of the attribute.value
- the value of the attribute.
- Returns:
- the filtered attribute or null if unchanged.
Copyright © 2004 The Norther Organization. All rights reserved.