jInfer

cz.cuni.mff.ksi.jinfer.iss.objects
Class IdSet

java.lang.Object
  extended by cz.cuni.mff.ksi.jinfer.iss.objects.IdSet

public class IdSet
extends Object

Class representing an ID set. Basically it's a list of attribute mappings. Also, it keeps a flag whether this ID set is known to be optimal or not.


Field Summary
static IdSet EMPTY
          An empty ID set.
 
Constructor Summary
IdSet(List<AttributeMappingId> mappings)
          Partial constructor.
IdSet(List<AttributeMappingId> mappings, boolean optimal)
          Full constructor.
 
Method Summary
 List<AttributeMappingId> getMappings()
           
 boolean isOptimal()
           
 boolean isValid(AMModel model)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY

public static final IdSet EMPTY
An empty ID set.

Constructor Detail

IdSet

public IdSet(List<AttributeMappingId> mappings,
             boolean optimal)
Full constructor.

Parameters:
mappings - List of attribute mappings constituting this ID set.
optimal - Flag whether this ID set is known to be optimal or not.

IdSet

public IdSet(List<AttributeMappingId> mappings)
Partial constructor. Assumes this ID set to not be known optimal. It still might be optimal, it's just not known.

Parameters:
mappings - List of attribute mappings constituting this ID set.
Method Detail

getMappings

public List<AttributeMappingId> getMappings()

isOptimal

public boolean isOptimal()

isValid

public boolean isValid(AMModel model)

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011