public static class XBRLCTimeFilter.XBRLCTimeOldestFilter extends XBRLCTimeFilter.TimeFilter
| Constructor and Description |
|---|
XBRLCTimeFilter.XBRLCTimeOldestFilter(XBRLCTimeFilter parent,
XBRLCTimeFilter.TimeFilterPosition position)
Instantiates a new XBRLC time oldest filter.
|
| Modifier and Type | Method and Description |
|---|---|
org.jdom.Element |
createFilterNode()
Returns a node representing the serialization of this filter so it can be
created later from the node.
|
java.util.GregorianCalendar |
getDate(XBRLFilterContext context)
Gets the date.
|
java.lang.String |
getId()
Gets the id.
|
boolean |
matches(XBRLFact fact,
XBRLFilterContext context)
Return a boolean value indicating if the fact passes the filter.
|
boolean |
matches(XBRLPeriod factPeriod,
XBRLFilterContext context)
Matches.
|
void |
setId(java.lang.String id)
Sets the id.
|
setParentpublic XBRLCTimeFilter.XBRLCTimeOldestFilter(XBRLCTimeFilter parent, XBRLCTimeFilter.TimeFilterPosition position)
parent - the parentposition - the positionpublic boolean matches(XBRLFact fact, XBRLFilterContext context)
XBRLFacetFilterfact - XBRLFact to testcontext - the contextpublic org.jdom.Element createFilterNode()
throws LoaderException
XBRLFacetFilterLoaderException - the loader exceptionpublic java.util.GregorianCalendar getDate(XBRLFilterContext context)
XBRLCTimeFilter.TimeFiltergetDate in class XBRLCTimeFilter.TimeFiltercontext - the contextpublic java.lang.String getId()
XBRLFacetFilterpublic boolean matches(XBRLPeriod factPeriod, XBRLFilterContext context)
XBRLCTimeFilter.TimeFiltermatches in class XBRLCTimeFilter.TimeFilterfactPeriod - the fact periodcontext - the contextpublic void setId(java.lang.String id)
XBRLFacetFilterid - the new id