public class BasicInstantOnColumnRecognition extends java.lang.Object implements InstantOnColumnRecognitionSupport
| Constructor and Description |
|---|
BasicInstantOnColumnRecognition() |
| Modifier and Type | Method and Description |
|---|---|
HandleDateStep.InstantMode |
getInstantMode(java.lang.String roleURI)
If the roleURI is in the list of the roles for the beginning of period then BOP is
returned. if the roleURI is in the list of roles for the end of period then EOP
is returned. otherwise ANY is returned.
|
HandleDateStep.InstantMode |
getInstantMode(XBRLFactItem fact,
ColumnPeriod cp)
This method returns a value from the InstantMode enumeration as follows:
BOP if the fact is instant and the date corresponds to the beginning of the column period
EOP if the fact is instant and the date corresponds to the end of the column period
ANY if the fact is instant and the date is within the period but is not BOP and not EOP
UNKOWN in any other cases including the fact is duration
.
|
public HandleDateStep.InstantMode getInstantMode(XBRLFactItem fact, ColumnPeriod cp)
InstantOnColumnRecognitionSupportgetInstantMode in interface InstantOnColumnRecognitionSupportfact - the factcp - the cppublic HandleDateStep.InstantMode getInstantMode(java.lang.String roleURI)
roleURI - the role uri