#NEWLINE# def aspectValue( self , xpCtx , aspect , inherit = False ) : #NEWLINE# #INDENT# if ( aspect == Aspect . DIMENSIONS ) : #NEWLINE# #INDENT# dims = set ( ( self . prefixedNameQname ( e . get ( 'dimension' ) ) for e in XmlUtil . children ( self , XbrlConst . euRend , 'explicitDimCoord' ) ) ) #NEWLINE# if ( inherit and ( self . parentDefinitionNode is not None ) ) : #NEWLINE# #INDENT# dims |= self . parentDefinitionNode . aspectValue ( None , aspect , inherit ) #NEWLINE# #UNINDENT# return dims #NEWLINE# #UNINDENT# if ( inherit and ( not self . hasAspect ( None , aspect ) ) ) : #NEWLINE# #INDENT# if ( self . parentDefinitionNode is not None ) : #NEWLINE# #INDENT# return self . parentDefinitionNode . aspectValue ( None , aspect , inherit ) #NEWLINE# #UNINDENT# return None #NEWLINE# #UNINDENT# if ( aspect == Aspect . CONCEPT ) : #NEWLINE# #INDENT# priItem = XmlUtil . childAttr ( self , XbrlConst . euRend , 'primaryItem' , 'name' ) #NEWLINE# if ( priItem is not None ) : #NEWLINE# #INDENT# return self . prefixedNameQname ( priItem ) #NEWLINE# #UNINDENT# return None #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( aspect == Aspect . PERIOD_TYPE ) : #NEWLINE# #INDENT# if XmlUtil . hasChild ( self , XbrlConst . euRend , 'timeReference' ) : #NEWLINE# #INDENT# return 'instant' #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# if ( aspect == Aspect . INSTANT ) : #NEWLINE# #INDENT# return XmlUtil . datetimeValue ( XmlUtil . childAttr ( self , XbrlConst . euRend , 'timeReference' , 'instant' ) , addOneDay = True ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( aspect , QName ) : #NEWLINE# #INDENT# for e in XmlUtil . children ( self , XbrlConst . euRend , 'explicitDimCoord' ) : #NEWLINE# #INDENT# if ( self . prefixedNameQname ( e . get ( 'dimension' ) ) == aspect ) : #NEWLINE# #INDENT# return self . prefixedNameQname ( e . get ( 'value' ) ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# return None