#NEWLINE# @ property #NEWLINE# def propertyView( self ) : #NEWLINE# #INDENT# global ModelFact #NEWLINE# if ( ModelFact is None ) : #NEWLINE# #INDENT# from arelle.ModelInstanceObject import ModelFact #NEWLINE# #UNINDENT# hrefObj = self . dereference ( ) #NEWLINE# if isinstance ( hrefObj , ( ModelFact , ModelConcept ) ) : #NEWLINE# #INDENT# return ( ( 'href' , self . qname ) , ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( hrefObj , ModelResource ) : #NEWLINE# #INDENT# return ( ( 'href' , hrefObj . viewText ( ) ) , ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return hrefObj . propertyView