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

All Known Implementing Classes:
KeyValueSetupImporter, UserAccountImporter, VariableTransporter

public interface AttributeImporter

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

Author:
Ilkka Priha

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

Method Detail

importAttributes

AttributeList importAttributes(Variable var,
                               Identity id,
                               Object source,
                               boolean foreign)
Imports attribute values from another variable identified by the specified identity.

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

importAttributes

AttributeList importAttributes(Variable var,
                               Variable other,
                               Object source,
                               boolean foreign)
Imports attribute values from another variable.

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


Copyright © 2004 The Norther Organization. All rights reserved.