org.norther.tammi.core.rt.util
Interface AttributeExporter

All Known Implementing Classes:
KeyValueSetupImporter, UserAccountImporter, VariableTransporter

public interface AttributeExporter

An interface to classes exporting attribute values to another variable obtained from an external source. The exporter is activated when the corresponding exportAttributes method of its variable is invoked.

Author:
Ilkka Priha

Method Summary
 AttributeList exportAttributes(Variable var, Identity id, Object source, boolean foreign)
          Exports attribute values to another variable identified by the specified identity.
 AttributeList exportAttributes(Variable var, Variable other, Object source, boolean foreign)
          Exports attribute values to another variable.
 

Method Detail

exportAttributes

AttributeList exportAttributes(Variable var,
                               Identity id,
                               Object source,
                               boolean foreign)
Exports attribute values to another variable identified by the specified identity.

Parameters:
var - this variable.
id - the identity.
source - the source object.
foreign - true for a foreign export, false otherwise.
Returns:
a list of exported attributes.

exportAttributes

AttributeList exportAttributes(Variable var,
                               Variable other,
                               Object source,
                               boolean foreign)
Exports attribute values to another variable.

Parameters:
var - this variable.
other - the other variable.
source - the source object.
foreign - true for a foreign export, false otherwise.
Returns:
a list of exported attributes.


Copyright © 2004 The Norther Organization. All rights reserved.