cz.cuni.mff.ksi.jinfer.iss.objects
Class IdSet
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY
public static final IdSet EMPTY
- An empty ID set.
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.
getMappings
public List<AttributeMappingId> getMappings()
isOptimal
public boolean isOptimal()
isValid
public boolean isValid(AMModel model)
Generated on Fri Dec 9 00:01:25 CET 2011