com.ihr.xbrl.om.formula.aspects.tests
Class XFAspectTestAbstract

java.lang.Object
  extended by com.ihr.xbrl.om.formula.aspects.tests.XFAspectTestAbstract
All Implemented Interfaces:
XFAspectTestInterface
Direct Known Subclasses:
XFCompleteScenarioAspectTest, XFCompleteSegmentAspectTest, XFConceptAspectTest, XFDimensionsAspectTest, XFEntityAspectTest, XFLocationAspectTest, XFNonXDTScenarioAspectTest, XFNonXDTSegmentAspectTest, XFPeriodAspectTest, XFUnitAspectTest

public abstract class XFAspectTestAbstract
extends java.lang.Object
implements XFAspectTestInterface

Author:
Ignacio

Method Summary
 boolean equivaletValues(net.sf.saxon.s9api.XdmValue fact1, net.sf.saxon.s9api.XdmValue fact2)
          Two facts have equivalent values for a given aspect if the aspect test for that aspect evaluates to true.
abstract  int getAspect()
          Access to the constant defined in the CommonAspectRule class indicating the aspect this instance works with.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ihr.xbrl.om.formula.aspects.tests.XFAspectTestInterface
bResultsCacheable, getCacheVal1, getCacheVal2
 

Method Detail

equivaletValues

public boolean equivaletValues(net.sf.saxon.s9api.XdmValue fact1,
                               net.sf.saxon.s9api.XdmValue fact2)
Description copied from interface: XFAspectTestInterface
Two facts have equivalent values for a given aspect if the aspect test for that aspect evaluates to true.

This interface MUST be implemented by classes dealing with different aspects

Specified by:
equivaletValues in interface XFAspectTestInterface
Parameters:
fact1 - This one of the facts to compare
fact2 - This is the fact to compare to
Returns:

getAspect

public abstract int getAspect()
Access to the constant defined in the CommonAspectRule class indicating the aspect this instance works with. Aspects are bitmapped

Returns:
integer constant


Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa