org.biopax.paxtools.controller
Class FeatureUtils

java.lang.Object
  extended by org.biopax.paxtools.controller.FeatureUtils

public class FeatureUtils
extends java.lang.Object

This class provides operations for comparing features of physical entities.


Field Summary
static int FEATURE
           
static org.apache.commons.logging.Log log
           
static int NOT_FEATURE
           
static int UNKNOWN_FEATURE
           
 
Constructor Summary
FeatureUtils()
           
 
Method Summary
static boolean checkERFeatureSet(EntityReference er, boolean fix)
           
static boolean checkMutuallyExclusiveSets(PhysicalEntity pe)
           
static java.util.Set<EntityFeature> findFeaturesAddedToSecond(PhysicalEntity first, PhysicalEntity second, boolean fix)
           
static java.util.Set<EntityFeature> getFeatureIntersection(PhysicalEntity first, int firstClass, PhysicalEntity second, int secondClass)
           
static java.util.Set<EntityFeature> getFeatureSetByType(PhysicalEntity pe, int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FEATURE

public static final int FEATURE
See Also:
Constant Field Values

NOT_FEATURE

public static final int NOT_FEATURE
See Also:
Constant Field Values

UNKNOWN_FEATURE

public static final int UNKNOWN_FEATURE
See Also:
Constant Field Values

log

public static org.apache.commons.logging.Log log
Constructor Detail

FeatureUtils

public FeatureUtils()
Method Detail

getFeatureIntersection

public static java.util.Set<EntityFeature> getFeatureIntersection(PhysicalEntity first,
                                                                  int firstClass,
                                                                  PhysicalEntity second,
                                                                  int secondClass)

getFeatureSetByType

public static java.util.Set<EntityFeature> getFeatureSetByType(PhysicalEntity pe,
                                                               int type)

checkERFeatureSet

public static boolean checkERFeatureSet(EntityReference er,
                                        boolean fix)

checkMutuallyExclusiveSets

public static boolean checkMutuallyExclusiveSets(PhysicalEntity pe)

findFeaturesAddedToSecond

public static java.util.Set<EntityFeature> findFeaturesAddedToSecond(PhysicalEntity first,
                                                                     PhysicalEntity second,
                                                                     boolean fix)


Copyright © 2011 BioPAX. All Rights Reserved.