public static class XBRLCTimeFilter.XBRLCTimeLatestFilter extends XBRLCTimeFilter.TimeFilter
Constructor and Description |
---|
XBRLCTimeLatestFilter(XBRLCTimeFilter parent,
XBRLCTimeFilter.TimeFilterPosition position)
Instantiates a new XBRLC time latest filter.
|
Modifier and Type | Method and Description |
---|---|
XMLFragment |
createFilterNode(DTSContainer dts)
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.
|
setParent
public XBRLCTimeLatestFilter(XBRLCTimeFilter parent, XBRLCTimeFilter.TimeFilterPosition position)
parent
- the parentposition
- the positionpublic boolean matches(XBRLFact fact, XBRLFilterContext context)
XBRLFacetFilter
fact
- XBRLFact to testcontext
- the contextpublic XMLFragment createFilterNode(DTSContainer dts) throws LoaderException
XBRLFacetFilter
dts
- the dtsLoaderException
- the loader exceptionpublic java.util.GregorianCalendar getDate(XBRLFilterContext context)
XBRLCTimeFilter.TimeFilter
getDate
in class XBRLCTimeFilter.TimeFilter
context
- the contextpublic java.lang.String getId()
XBRLFacetFilter
public boolean matches(XBRLPeriod factPeriod, XBRLFilterContext context)
XBRLCTimeFilter.TimeFilter
matches
in class XBRLCTimeFilter.TimeFilter
factPeriod
- the fact periodcontext
- the contextpublic void setId(java.lang.String id)
XBRLFacetFilter
id
- the new idCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa