org.decisiondeck.xmcda_oo.structure
Class CriteriaById

java.lang.Object
  extended by org.decisiondeck.xmcda_oo.structure.CriteriaById

public class CriteriaById
extends Object

A temporary object to help with refactoring. Should be replaced with more clever mechanisms.


Constructor Summary
CriteriaById()
           
 
Method Summary
static Criterion getCriterion(Set<Criterion> criteria, String id)
          Returns the object associated with the given id, or null if no object having the given id is found.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CriteriaById

public CriteriaById()
Method Detail

getCriterion

public static Criterion getCriterion(Set<Criterion> criteria,
                                     String id)
Returns the object associated with the given id, or null if no object having the given id is found.

Parameters:
criteria - not null.
id - not null.
Returns:
null iff not found.


Copyright © 2011. All Rights Reserved.